7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
47 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
122 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
146 bool m_resourceShareArnHasBeenSet =
false;
149 bool m_resourceArnsHasBeenSet =
false;
152 bool m_principalsHasBeenSet =
false;
155 bool m_clientTokenHasBeenSet =
false;
158 bool m_sourcesHasBeenSet =
false;
AssociateResourceShareRequest & AddSources(const char *value)
AssociateResourceShareRequest & WithResourceArns(Aws::Vector< Aws::String > &&value)
bool ResourceShareArnHasBeenSet() const
AssociateResourceShareRequest & AddPrincipals(const char *value)
AssociateResourceShareRequest & WithSources(Aws::Vector< Aws::String > &&value)
const Aws::String & GetResourceShareArn() const
void SetClientToken(const char *value)
const Aws::Vector< Aws::String > & GetResourceArns() const
void SetClientToken(Aws::String &&value)
void SetPrincipals(Aws::Vector< Aws::String > &&value)
AssociateResourceShareRequest & AddResourceArns(const char *value)
AssociateResourceShareRequest & WithPrincipals(Aws::Vector< Aws::String > &&value)
bool ResourceArnsHasBeenSet() const
AssociateResourceShareRequest & WithClientToken(const char *value)
void SetResourceShareArn(const Aws::String &value)
AssociateResourceShareRequest & AddResourceArns(const Aws::String &value)
AssociateResourceShareRequest & AddSources(const Aws::String &value)
bool ClientTokenHasBeenSet() const
AssociateResourceShareRequest & AddSources(Aws::String &&value)
void SetResourceArns(const Aws::Vector< Aws::String > &value)
void SetResourceShareArn(const char *value)
void SetResourceArns(Aws::Vector< Aws::String > &&value)
AssociateResourceShareRequest & AddPrincipals(Aws::String &&value)
AssociateResourceShareRequest & WithResourceShareArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSources() const
AssociateResourceShareRequest & WithClientToken(const Aws::String &value)
AssociateResourceShareRequest & WithPrincipals(const Aws::Vector< Aws::String > &value)
AssociateResourceShareRequest & WithResourceShareArn(Aws::String &&value)
AWS_RAM_API AssociateResourceShareRequest()
void SetResourceShareArn(Aws::String &&value)
AssociateResourceShareRequest & AddResourceArns(Aws::String &&value)
void SetClientToken(const Aws::String &value)
AssociateResourceShareRequest & WithSources(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPrincipals() const
void SetSources(Aws::Vector< Aws::String > &&value)
bool PrincipalsHasBeenSet() const
const Aws::String & GetClientToken() const
AssociateResourceShareRequest & WithResourceArns(const Aws::Vector< Aws::String > &value)
AssociateResourceShareRequest & AddPrincipals(const Aws::String &value)
void SetPrincipals(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
AssociateResourceShareRequest & WithResourceShareArn(const char *value)
bool SourcesHasBeenSet() const
AWS_RAM_API Aws::String SerializePayload() const override
AssociateResourceShareRequest & WithClientToken(Aws::String &&value)
void SetSources(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector