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>
84 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
103 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
134 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
154 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
160 bool m_associationTypeHasBeenSet =
false;
163 bool m_resourceShareArnsHasBeenSet =
false;
166 bool m_resourceArnHasBeenSet =
false;
169 bool m_principalHasBeenSet =
false;
172 bool m_associationStatusHasBeenSet =
false;
175 bool m_nextTokenHasBeenSet =
false;
178 bool m_maxResultsHasBeenSet =
false;
GetResourceShareAssociationsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
GetResourceShareAssociationsRequest & WithAssociationType(ResourceShareAssociationType &&value)
void SetPrincipal(const char *value)
AWS_RAM_API Aws::String SerializePayload() const override
const Aws::String & GetPrincipal() const
GetResourceShareAssociationsRequest & WithNextToken(Aws::String &&value)
GetResourceShareAssociationsRequest & WithAssociationStatus(ResourceShareAssociationStatus &&value)
void SetNextToken(Aws::String &&value)
void SetPrincipal(Aws::String &&value)
void SetAssociationType(const ResourceShareAssociationType &value)
AWS_RAM_API GetResourceShareAssociationsRequest()
const Aws::String & GetResourceArn() const
virtual const char * GetServiceRequestName() const override
GetResourceShareAssociationsRequest & WithResourceArn(const char *value)
bool ResourceShareArnsHasBeenSet() const
void SetResourceArn(const char *value)
void SetNextToken(const char *value)
void SetAssociationStatus(const ResourceShareAssociationStatus &value)
GetResourceShareAssociationsRequest & AddResourceShareArns(Aws::String &&value)
GetResourceShareAssociationsRequest & WithPrincipal(const char *value)
const Aws::Vector< Aws::String > & GetResourceShareArns() const
const ResourceShareAssociationStatus & GetAssociationStatus() const
GetResourceShareAssociationsRequest & WithResourceArn(const Aws::String &value)
void SetAssociationType(ResourceShareAssociationType &&value)
int GetMaxResults() const
bool AssociationStatusHasBeenSet() const
GetResourceShareAssociationsRequest & WithResourceArn(Aws::String &&value)
GetResourceShareAssociationsRequest & WithAssociationType(const ResourceShareAssociationType &value)
GetResourceShareAssociationsRequest & AddResourceShareArns(const Aws::String &value)
GetResourceShareAssociationsRequest & WithAssociationStatus(const ResourceShareAssociationStatus &value)
void SetResourceArn(Aws::String &&value)
bool NextTokenHasBeenSet() const
GetResourceShareAssociationsRequest & WithResourceShareArns(const Aws::Vector< Aws::String > &value)
bool PrincipalHasBeenSet() const
void SetAssociationStatus(ResourceShareAssociationStatus &&value)
void SetMaxResults(int value)
bool ResourceArnHasBeenSet() const
bool MaxResultsHasBeenSet() const
const Aws::String & GetNextToken() const
const ResourceShareAssociationType & GetAssociationType() const
void SetResourceShareArns(Aws::Vector< Aws::String > &&value)
GetResourceShareAssociationsRequest & AddResourceShareArns(const char *value)
GetResourceShareAssociationsRequest & WithResourceShareArns(Aws::Vector< Aws::String > &&value)
GetResourceShareAssociationsRequest & WithPrincipal(Aws::String &&value)
void SetResourceShareArns(const Aws::Vector< Aws::String > &value)
bool AssociationTypeHasBeenSet() const
GetResourceShareAssociationsRequest & WithNextToken(const char *value)
void SetPrincipal(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
GetResourceShareAssociationsRequest & WithNextToken(const Aws::String &value)
GetResourceShareAssociationsRequest & WithPrincipal(const Aws::String &value)
ResourceShareAssociationStatus
ResourceShareAssociationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector