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-channel/PartnerCentralChannelRequest.h>
11#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
12#include <aws/partnercentral-channel/model/AssociationType.h>
13#include <aws/partnercentral-channel/model/ResaleAccountModel.h>
14#include <aws/partnercentral-channel/model/Sector.h>
15#include <aws/partnercentral-channel/model/SupportPlan.h>
16#include <aws/partnercentral-channel/model/Tag.h>
21namespace PartnerCentralChannel {
46 template <
typename CatalogT = Aws::String>
48 m_catalogHasBeenSet =
true;
49 m_catalog = std::forward<CatalogT>(value);
51 template <
typename CatalogT = Aws::String>
66 m_associationTypeHasBeenSet =
true;
67 m_associationType = value;
81 template <
typename ProgramManagementAccountIdentifierT = Aws::String>
83 m_programManagementAccountIdentifierHasBeenSet =
true;
84 m_programManagementAccountIdentifier = std::forward<ProgramManagementAccountIdentifierT>(value);
86 template <
typename ProgramManagementAccountIdentifierT = Aws::String>
99 template <
typename AssociatedAccountIdT = Aws::String>
101 m_associatedAccountIdHasBeenSet =
true;
102 m_associatedAccountId = std::forward<AssociatedAccountIdT>(value);
104 template <
typename AssociatedAccountIdT = Aws::String>
117 template <
typename DisplayNameT = Aws::String>
119 m_displayNameHasBeenSet =
true;
120 m_displayName = std::forward<DisplayNameT>(value);
122 template <
typename DisplayNameT = Aws::String>
136 m_resaleAccountModelHasBeenSet =
true;
137 m_resaleAccountModel = value;
152 m_sectorHasBeenSet =
true;
167 template <
typename ClientTokenT = Aws::String>
169 m_clientTokenHasBeenSet =
true;
170 m_clientToken = std::forward<ClientTokenT>(value);
172 template <
typename ClientTokenT = Aws::String>
185 template <
typename TagsT = Aws::Vector<Tag>>
187 m_tagsHasBeenSet =
true;
188 m_tags = std::forward<TagsT>(value);
190 template <
typename TagsT = Aws::Vector<Tag>>
192 SetTags(std::forward<TagsT>(value));
195 template <
typename TagsT = Tag>
197 m_tagsHasBeenSet =
true;
198 m_tags.emplace_back(std::forward<TagsT>(value));
209 template <
typename RequestedSupportPlanT = SupportPlan>
211 m_requestedSupportPlanHasBeenSet =
true;
212 m_requestedSupportPlan = std::forward<RequestedSupportPlanT>(value);
214 template <
typename RequestedSupportPlanT = SupportPlan>
239 SupportPlan m_requestedSupportPlan;
240 bool m_catalogHasBeenSet =
false;
241 bool m_associationTypeHasBeenSet =
false;
242 bool m_programManagementAccountIdentifierHasBeenSet =
false;
243 bool m_associatedAccountIdHasBeenSet =
false;
244 bool m_displayNameHasBeenSet =
false;
245 bool m_resaleAccountModelHasBeenSet =
false;
246 bool m_sectorHasBeenSet =
false;
247 bool m_clientTokenHasBeenSet =
true;
248 bool m_tagsHasBeenSet =
false;
249 bool m_requestedSupportPlanHasBeenSet =
false;
void SetTags(TagsT &&value)
bool AssociationTypeHasBeenSet() const
CreateRelationshipRequest & WithAssociationType(AssociationType value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateRelationshipRequest & WithTags(TagsT &&value)
const Aws::String & GetAssociatedAccountId() const
CreateRelationshipRequest & WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
bool ProgramManagementAccountIdentifierHasBeenSet() const
bool ResaleAccountModelHasBeenSet() const
void SetAssociationType(AssociationType value)
const Aws::String & GetDisplayName() const
ResaleAccountModel GetResaleAccountModel() const
void SetResaleAccountModel(ResaleAccountModel value)
void SetAssociatedAccountId(AssociatedAccountIdT &&value)
void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
void SetSector(Sector value)
CreateRelationshipRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool CatalogHasBeenSet() const
CreateRelationshipRequest & WithCatalog(CatalogT &&value)
CreateRelationshipRequest & WithSector(Sector value)
const SupportPlan & GetRequestedSupportPlan() const
bool SectorHasBeenSet() const
AssociationType GetAssociationType() const
bool DisplayNameHasBeenSet() const
bool RequestedSupportPlanHasBeenSet() const
void SetCatalog(CatalogT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::String SerializePayload() const override
const Aws::String & GetCatalog() const
CreateRelationshipRequest & AddTags(TagsT &&value)
void SetRequestedSupportPlan(RequestedSupportPlanT &&value)
const Aws::String & GetClientToken() const
AWS_PARTNERCENTRALCHANNEL_API CreateRelationshipRequest()=default
AWS_PARTNERCENTRALCHANNEL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(ClientTokenT &&value)
bool AssociatedAccountIdHasBeenSet() const
CreateRelationshipRequest & WithResaleAccountModel(ResaleAccountModel value)
const Aws::String & GetProgramManagementAccountIdentifier() const
void SetDisplayName(DisplayNameT &&value)
CreateRelationshipRequest & WithDisplayName(DisplayNameT &&value)
CreateRelationshipRequest & WithRequestedSupportPlan(RequestedSupportPlanT &&value)
bool ClientTokenHasBeenSet() const
CreateRelationshipRequest & WithAssociatedAccountId(AssociatedAccountIdT &&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