7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ram/RAMRequest.h>
10#include <aws/ram/RAM_EXPORTS.h>
11#include <aws/ram/model/ResourceShareAssociationStatus.h>
12#include <aws/ram/model/ResourceShareAssociationType.h>
45 m_associationTypeHasBeenSet =
true;
46 m_associationType = value;
63 template <
typename ResourceShareArnsT = Aws::Vector<Aws::String>>
65 m_resourceShareArnsHasBeenSet =
true;
66 m_resourceShareArns = std::forward<ResourceShareArnsT>(value);
68 template <
typename ResourceShareArnsT = Aws::Vector<Aws::String>>
73 template <
typename ResourceShareArnsT = Aws::String>
75 m_resourceShareArnsHasBeenSet =
true;
76 m_resourceShareArns.emplace_back(std::forward<ResourceShareArnsT>(value));
91 template <
typename ResourceArnT = Aws::String>
93 m_resourceArnHasBeenSet =
true;
94 m_resourceArn = std::forward<ResourceArnT>(value);
96 template <
typename ResourceArnT = Aws::String>
114 template <
typename PrincipalT = Aws::String>
116 m_principalHasBeenSet =
true;
117 m_principal = std::forward<PrincipalT>(value);
119 template <
typename PrincipalT = Aws::String>
134 m_associationStatusHasBeenSet =
true;
135 m_associationStatus = value;
153 template <
typename NextTokenT = Aws::String>
155 m_nextTokenHasBeenSet =
true;
156 m_nextToken = std::forward<NextTokenT>(value);
158 template <
typename NextTokenT = Aws::String>
180 m_maxResultsHasBeenSet =
true;
181 m_maxResults = value;
202 bool m_associationTypeHasBeenSet =
false;
203 bool m_resourceShareArnsHasBeenSet =
false;
204 bool m_resourceArnHasBeenSet =
false;
205 bool m_principalHasBeenSet =
false;
206 bool m_associationStatusHasBeenSet =
false;
207 bool m_nextTokenHasBeenSet =
false;
208 bool m_maxResultsHasBeenSet =
false;
GetResourceShareAssociationsRequest & WithMaxResults(int value)
AWS_RAM_API Aws::String SerializePayload() const override
const Aws::String & GetPrincipal() const
void SetAssociationType(ResourceShareAssociationType value)
const Aws::String & GetResourceArn() const
virtual const char * GetServiceRequestName() const override
bool ResourceShareArnsHasBeenSet() const
GetResourceShareAssociationsRequest & WithAssociationType(ResourceShareAssociationType value)
GetResourceShareAssociationsRequest & AddResourceShareArns(ResourceShareArnsT &&value)
void SetAssociationStatus(ResourceShareAssociationStatus value)
void SetPrincipal(PrincipalT &&value)
const Aws::Vector< Aws::String > & GetResourceShareArns() const
ResourceShareAssociationStatus GetAssociationStatus() const
void SetNextToken(NextTokenT &&value)
AWS_RAM_API GetResourceShareAssociationsRequest()=default
int GetMaxResults() const
bool AssociationStatusHasBeenSet() const
GetResourceShareAssociationsRequest & WithNextToken(NextTokenT &&value)
bool NextTokenHasBeenSet() const
bool PrincipalHasBeenSet() const
void SetMaxResults(int value)
bool ResourceArnHasBeenSet() const
GetResourceShareAssociationsRequest & WithAssociationStatus(ResourceShareAssociationStatus value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
GetResourceShareAssociationsRequest & WithResourceShareArns(ResourceShareArnsT &&value)
void SetResourceArn(ResourceArnT &&value)
bool AssociationTypeHasBeenSet() const
void SetResourceShareArns(ResourceShareArnsT &&value)
GetResourceShareAssociationsRequest & WithResourceArn(ResourceArnT &&value)
ResourceShareAssociationType GetAssociationType() const
GetResourceShareAssociationsRequest & WithPrincipal(PrincipalT &&value)
ResourceShareAssociationStatus
ResourceShareAssociationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector