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/CompanySize.h>
12#include <aws/partnercentral-marketing/model/Industry.h>
22namespace PartnerCentralMarketing {
36 AWS_PARTNERCENTRALMARKETING_API
TargetAudience(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename IndustriesT = Aws::Vector<Industry>>
48 m_industriesHasBeenSet =
true;
49 m_industries = std::forward<IndustriesT>(value);
51 template <
typename IndustriesT = Aws::Vector<Industry>>
57 m_industriesHasBeenSet =
true;
58 m_industries.push_back(value);
69 template <
typename CompanySizesT = Aws::Vector<CompanySize>>
71 m_companySizesHasBeenSet =
true;
72 m_companySizes = std::forward<CompanySizesT>(value);
74 template <
typename CompanySizesT = Aws::Vector<CompanySize>>
80 m_companySizesHasBeenSet =
true;
81 m_companySizes.push_back(value);
92 template <
typename CountriesT = Aws::Vector<Aws::String>>
94 m_countriesHasBeenSet =
true;
95 m_countries = std::forward<CountriesT>(value);
97 template <
typename CountriesT = Aws::Vector<Aws::String>>
102 template <
typename CountriesT = Aws::String>
104 m_countriesHasBeenSet =
true;
105 m_countries.emplace_back(std::forward<CountriesT>(value));
115 bool m_industriesHasBeenSet =
false;
116 bool m_companySizesHasBeenSet =
false;
117 bool m_countriesHasBeenSet =
false;
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetIndustries(IndustriesT &&value)
TargetAudience & AddCountries(CountriesT &&value)
const Aws::Vector< Aws::String > & GetCountries() const
TargetAudience & WithCountries(CountriesT &&value)
TargetAudience & WithIndustries(IndustriesT &&value)
TargetAudience & AddIndustries(Industry value)
TargetAudience & AddCompanySizes(CompanySize value)
void SetCountries(CountriesT &&value)
AWS_PARTNERCENTRALMARKETING_API TargetAudience(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool CompanySizesHasBeenSet() const
bool CountriesHasBeenSet() const
void SetCompanySizes(CompanySizesT &&value)
const Aws::Vector< Industry > & GetIndustries() const
bool IndustriesHasBeenSet() const
const Aws::Vector< CompanySize > & GetCompanySizes() const
TargetAudience & WithCompanySizes(CompanySizesT &&value)
AWS_PARTNERCENTRALMARKETING_API TargetAudience()=default
AWS_PARTNERCENTRALMARKETING_API TargetAudience & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::vector< T, Aws::Allocator< T > > Vector