7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
11#include <aws/partnercentral-marketing/model/CampaignAssetLayoutOption.h>
21namespace PartnerCentralMarketing {
33 AWS_PARTNERCENTRALMARKETING_API
CampaignAssetLayout(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename SelectedT = Aws::String>
47 m_selectedHasBeenSet =
true;
48 m_selected = std::forward<SelectedT>(value);
50 template <
typename SelectedT = Aws::String>
63 template <
typename OptionsT = Aws::Vector<CampaignAssetLayoutOption>>
65 m_optionsHasBeenSet =
true;
66 m_options = std::forward<OptionsT>(value);
68 template <
typename OptionsT = Aws::Vector<CampaignAssetLayoutOption>>
73 template <
typename OptionsT = CampaignAssetLayoutOption>
75 m_optionsHasBeenSet =
true;
76 m_options.emplace_back(std::forward<OptionsT>(value));
84 bool m_selectedHasBeenSet =
false;
85 bool m_optionsHasBeenSet =
false;
const Aws::String & GetSelected() const
CampaignAssetLayout & WithOptions(OptionsT &&value)
CampaignAssetLayout & WithSelected(SelectedT &&value)
void SetSelected(SelectedT &&value)
AWS_PARTNERCENTRALMARKETING_API CampaignAssetLayout & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< CampaignAssetLayoutOption > & GetOptions() const
AWS_PARTNERCENTRALMARKETING_API CampaignAssetLayout(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool SelectedHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API CampaignAssetLayout()=default
CampaignAssetLayout & AddOptions(OptionsT &&value)
bool OptionsHasBeenSet() const
void SetOptions(OptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector