7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-channel/PartnerCentralChannelRequest.h>
10#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
11#include <aws/partnercentral-channel/model/AssociationType.h>
12#include <aws/partnercentral-channel/model/ListRelationshipsSortBase.h>
17namespace PartnerCentralChannel {
42 template <
typename CatalogT = Aws::String>
44 m_catalogHasBeenSet =
true;
45 m_catalog = std::forward<CatalogT>(value);
47 template <
typename CatalogT = Aws::String>
61 m_maxResultsHasBeenSet =
true;
76 template <
typename AssociatedAccountIdsT = Aws::Vector<Aws::String>>
78 m_associatedAccountIdsHasBeenSet =
true;
79 m_associatedAccountIds = std::forward<AssociatedAccountIdsT>(value);
81 template <
typename AssociatedAccountIdsT = Aws::Vector<Aws::String>>
86 template <
typename AssociatedAccountIdsT = Aws::String>
88 m_associatedAccountIdsHasBeenSet =
true;
89 m_associatedAccountIds.emplace_back(std::forward<AssociatedAccountIdsT>(value));
100 template <
typename AssociationTypesT = Aws::Vector<AssociationType>>
102 m_associationTypesHasBeenSet =
true;
103 m_associationTypes = std::forward<AssociationTypesT>(value);
105 template <
typename AssociationTypesT = Aws::Vector<AssociationType>>
111 m_associationTypesHasBeenSet =
true;
112 m_associationTypes.push_back(value);
123 template <
typename DisplayNamesT = Aws::Vector<Aws::String>>
125 m_displayNamesHasBeenSet =
true;
126 m_displayNames = std::forward<DisplayNamesT>(value);
128 template <
typename DisplayNamesT = Aws::Vector<Aws::String>>
133 template <
typename DisplayNamesT = Aws::String>
135 m_displayNamesHasBeenSet =
true;
136 m_displayNames.emplace_back(std::forward<DisplayNamesT>(value));
147 template <
typename ProgramManagementAccountIdentifiersT = Aws::Vector<Aws::String>>
149 m_programManagementAccountIdentifiersHasBeenSet =
true;
150 m_programManagementAccountIdentifiers = std::forward<ProgramManagementAccountIdentifiersT>(value);
152 template <
typename ProgramManagementAccountIdentifiersT = Aws::Vector<Aws::String>>
157 template <
typename ProgramManagementAccountIdentifiersT = Aws::String>
159 m_programManagementAccountIdentifiersHasBeenSet =
true;
160 m_programManagementAccountIdentifiers.emplace_back(std::forward<ProgramManagementAccountIdentifiersT>(value));
171 template <
typename SortT = ListRelationshipsSortBase>
173 m_sortHasBeenSet =
true;
174 m_sort = std::forward<SortT>(value);
176 template <
typename SortT = ListRelationshipsSortBase>
178 SetSort(std::forward<SortT>(value));
189 template <
typename NextTokenT = Aws::String>
191 m_nextTokenHasBeenSet =
true;
192 m_nextToken = std::forward<NextTokenT>(value);
194 template <
typename NextTokenT = Aws::String>
213 ListRelationshipsSortBase m_sort;
216 bool m_catalogHasBeenSet =
false;
217 bool m_maxResultsHasBeenSet =
false;
218 bool m_associatedAccountIdsHasBeenSet =
false;
219 bool m_associationTypesHasBeenSet =
false;
220 bool m_displayNamesHasBeenSet =
false;
221 bool m_programManagementAccountIdentifiersHasBeenSet =
false;
222 bool m_sortHasBeenSet =
false;
223 bool m_nextTokenHasBeenSet =
false;
void SetCatalog(CatalogT &&value)
ListRelationshipsRequest & WithAssociationTypes(AssociationTypesT &&value)
void SetAssociatedAccountIds(AssociatedAccountIdsT &&value)
const Aws::Vector< Aws::String > & GetProgramManagementAccountIdentifiers() const
bool ProgramManagementAccountIdentifiersHasBeenSet() const
bool SortHasBeenSet() const
ListRelationshipsRequest & WithNextToken(NextTokenT &&value)
ListRelationshipsRequest & WithAssociatedAccountIds(AssociatedAccountIdsT &&value)
void SetSort(SortT &&value)
ListRelationshipsRequest & WithCatalog(CatalogT &&value)
const Aws::String & GetNextToken() const
int GetMaxResults() const
bool AssociatedAccountIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetDisplayNames() const
const ListRelationshipsSortBase & GetSort() const
AWS_PARTNERCENTRALCHANNEL_API Aws::String SerializePayload() const override
ListRelationshipsRequest & WithSort(SortT &&value)
ListRelationshipsRequest & WithProgramManagementAccountIdentifiers(ProgramManagementAccountIdentifiersT &&value)
void SetMaxResults(int value)
void SetAssociationTypes(AssociationTypesT &&value)
bool AssociationTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetAssociatedAccountIds() const
bool DisplayNamesHasBeenSet() const
ListRelationshipsRequest & AddDisplayNames(DisplayNamesT &&value)
bool NextTokenHasBeenSet() const
bool CatalogHasBeenSet() const
void SetProgramManagementAccountIdentifiers(ProgramManagementAccountIdentifiersT &&value)
void SetDisplayNames(DisplayNamesT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRelationshipsRequest & AddAssociationTypes(AssociationType value)
ListRelationshipsRequest & AddAssociatedAccountIds(AssociatedAccountIdsT &&value)
virtual const char * GetServiceRequestName() const override
ListRelationshipsRequest & WithDisplayNames(DisplayNamesT &&value)
const Aws::String & GetCatalog() const
ListRelationshipsRequest & WithMaxResults(int value)
AWS_PARTNERCENTRALCHANNEL_API ListRelationshipsRequest()=default
void SetNextToken(NextTokenT &&value)
ListRelationshipsRequest & AddProgramManagementAccountIdentifiers(ProgramManagementAccountIdentifiersT &&value)
bool MaxResultsHasBeenSet() const
const Aws::Vector< AssociationType > & GetAssociationTypes() const
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