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); }
120 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
144 bool m_resourceShareArnHasBeenSet =
false;
147 bool m_resourceArnsHasBeenSet =
false;
150 bool m_principalsHasBeenSet =
false;
153 bool m_clientTokenHasBeenSet =
false;
156 bool m_sourcesHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetResourceArns() const
DisassociateResourceShareRequest & AddPrincipals(const Aws::String &value)
DisassociateResourceShareRequest & WithPrincipals(const Aws::Vector< Aws::String > &value)
DisassociateResourceShareRequest & AddPrincipals(const char *value)
AWS_RAM_API Aws::String SerializePayload() const override
DisassociateResourceShareRequest & WithClientToken(const char *value)
void SetSources(const Aws::Vector< Aws::String > &value)
DisassociateResourceShareRequest & AddResourceArns(Aws::String &&value)
DisassociateResourceShareRequest & WithSources(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSources() const
void SetPrincipals(const Aws::Vector< Aws::String > &value)
DisassociateResourceShareRequest & WithResourceArns(Aws::Vector< Aws::String > &&value)
void SetResourceShareArn(const char *value)
void SetResourceArns(const Aws::Vector< Aws::String > &value)
DisassociateResourceShareRequest & AddSources(const Aws::String &value)
DisassociateResourceShareRequest & WithClientToken(const Aws::String &value)
bool PrincipalsHasBeenSet() const
DisassociateResourceShareRequest & WithResourceShareArn(Aws::String &&value)
void SetResourceShareArn(const Aws::String &value)
DisassociateResourceShareRequest & WithClientToken(Aws::String &&value)
bool ResourceArnsHasBeenSet() const
void SetResourceShareArn(Aws::String &&value)
DisassociateResourceShareRequest & AddResourceArns(const Aws::String &value)
DisassociateResourceShareRequest & WithSources(Aws::Vector< Aws::String > &&value)
void SetResourceArns(Aws::Vector< Aws::String > &&value)
void SetClientToken(Aws::String &&value)
DisassociateResourceShareRequest & AddSources(Aws::String &&value)
bool ResourceShareArnHasBeenSet() const
DisassociateResourceShareRequest & WithResourceShareArn(const Aws::String &value)
void SetClientToken(const Aws::String &value)
DisassociateResourceShareRequest & AddPrincipals(Aws::String &&value)
DisassociateResourceShareRequest & WithResourceArns(const Aws::Vector< Aws::String > &value)
AWS_RAM_API DisassociateResourceShareRequest()
bool SourcesHasBeenSet() const
DisassociateResourceShareRequest & AddResourceArns(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClientToken() const
DisassociateResourceShareRequest & WithPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
void SetSources(Aws::Vector< Aws::String > &&value)
bool ClientTokenHasBeenSet() const
DisassociateResourceShareRequest & WithResourceShareArn(const char *value)
void SetClientToken(const char *value)
DisassociateResourceShareRequest & AddSources(const char *value)
const Aws::String & GetResourceShareArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector