7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/ram/model/ResourceShareAssociationType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ram/model/ResourceShareAssociationStatus.h>
61 template<
typename ResourceShareArnsT = Aws::Vector<Aws::String>>
62 void SetResourceShareArns(ResourceShareArnsT&& value) { m_resourceShareArnsHasBeenSet =
true; m_resourceShareArns = std::forward<ResourceShareArnsT>(value); }
63 template<
typename ResourceShareArnsT = Aws::Vector<Aws::String>>
65 template<
typename ResourceShareArnsT = Aws::String>
79 template<
typename ResourceArnT = Aws::String>
80 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
81 template<
typename ResourceArnT = Aws::String>
96 template<
typename PrincipalT = Aws::String>
97 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
98 template<
typename PrincipalT = Aws::String>
123 template<
typename NextTokenT = Aws::String>
124 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
125 template<
typename NextTokenT = Aws::String>
143 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
149 bool m_associationTypeHasBeenSet =
false;
152 bool m_resourceShareArnsHasBeenSet =
false;
155 bool m_resourceArnHasBeenSet =
false;
158 bool m_principalHasBeenSet =
false;
161 bool m_associationStatusHasBeenSet =
false;
164 bool m_nextTokenHasBeenSet =
false;
167 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