7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-account/PartnerCentralAccountRequest.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/AllianceLeadContact.h>
13#include <aws/partnercentral-account/model/PrimarySolutionType.h>
14#include <aws/partnercentral-account/model/Tag.h>
19namespace PartnerCentralAccount {
44 template <
typename CatalogT = Aws::String>
46 m_catalogHasBeenSet =
true;
47 m_catalog = std::forward<CatalogT>(value);
49 template <
typename CatalogT = Aws::String>
63 template <
typename ClientTokenT = Aws::String>
65 m_clientTokenHasBeenSet =
true;
66 m_clientToken = std::forward<ClientTokenT>(value);
68 template <
typename ClientTokenT = Aws::String>
81 template <
typename LegalNameT = Aws::String>
83 m_legalNameHasBeenSet =
true;
84 m_legalName = std::forward<LegalNameT>(value);
86 template <
typename LegalNameT = Aws::String>
101 m_primarySolutionTypeHasBeenSet =
true;
102 m_primarySolutionType = value;
116 template <
typename AllianceLeadContactT = AllianceLeadContact>
118 m_allianceLeadContactHasBeenSet =
true;
119 m_allianceLeadContact = std::forward<AllianceLeadContactT>(value);
121 template <
typename AllianceLeadContactT = AllianceLeadContact>
135 template <
typename EmailVerificationCodeT = Aws::String>
137 m_emailVerificationCodeHasBeenSet =
true;
138 m_emailVerificationCode = std::forward<EmailVerificationCodeT>(value);
140 template <
typename EmailVerificationCodeT = Aws::String>
154 template <
typename TagsT = Aws::Vector<Tag>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Vector<Tag>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsT = Tag>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace_back(std::forward<TagsT>(value));
180 AllianceLeadContact m_allianceLeadContact;
185 bool m_catalogHasBeenSet =
false;
186 bool m_clientTokenHasBeenSet =
true;
187 bool m_legalNameHasBeenSet =
false;
188 bool m_primarySolutionTypeHasBeenSet =
false;
189 bool m_allianceLeadContactHasBeenSet =
false;
190 bool m_emailVerificationCodeHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
CreatePartnerRequest & WithPrimarySolutionType(PrimarySolutionType value)
void SetClientToken(ClientTokenT &&value)
void SetPrimarySolutionType(PrimarySolutionType value)
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
bool PrimarySolutionTypeHasBeenSet() const
void SetLegalName(LegalNameT &&value)
CreatePartnerRequest & WithAllianceLeadContact(AllianceLeadContactT &&value)
CreatePartnerRequest & AddTags(TagsT &&value)
void SetCatalog(CatalogT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetClientToken() const
CreatePartnerRequest & WithEmailVerificationCode(EmailVerificationCodeT &&value)
void SetAllianceLeadContact(AllianceLeadContactT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetLegalName() const
CreatePartnerRequest & WithClientToken(ClientTokenT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CatalogHasBeenSet() const
const Aws::String & GetEmailVerificationCode() const
PrimarySolutionType GetPrimarySolutionType() const
bool LegalNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCatalog() const
void SetTags(TagsT &&value)
CreatePartnerRequest & WithCatalog(CatalogT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreatePartnerRequest()=default
bool EmailVerificationCodeHasBeenSet() const
CreatePartnerRequest & WithLegalName(LegalNameT &&value)
CreatePartnerRequest & WithTags(TagsT &&value)
bool AllianceLeadContactHasBeenSet() const
const AllianceLeadContact & GetAllianceLeadContact() const
void SetEmailVerificationCode(EmailVerificationCodeT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector