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>
11#include <aws/ram/model/Tag.h>
45 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
145 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
190 bool m_nameHasBeenSet =
false;
193 bool m_resourceArnsHasBeenSet =
false;
196 bool m_principalsHasBeenSet =
false;
199 bool m_tagsHasBeenSet =
false;
201 bool m_allowExternalPrincipals;
202 bool m_allowExternalPrincipalsHasBeenSet =
false;
205 bool m_clientTokenHasBeenSet =
false;
208 bool m_permissionArnsHasBeenSet =
false;
211 bool m_sourcesHasBeenSet =
false;
CreateResourceShareRequest & AddTags(const Tag &value)
CreateResourceShareRequest & WithTags(const Aws::Vector< Tag > &value)
void SetResourceArns(Aws::Vector< Aws::String > &&value)
CreateResourceShareRequest & AddPrincipals(const Aws::String &value)
bool GetAllowExternalPrincipals() const
const Aws::Vector< Tag > & GetTags() const
CreateResourceShareRequest & WithResourceArns(const Aws::Vector< Aws::String > &value)
CreateResourceShareRequest & WithClientToken(const Aws::String &value)
void SetPrincipals(Aws::Vector< Aws::String > &&value)
void SetClientToken(Aws::String &&value)
CreateResourceShareRequest & AddPrincipals(Aws::String &&value)
void SetPrincipals(const Aws::Vector< Aws::String > &value)
CreateResourceShareRequest & AddResourceArns(const Aws::String &value)
const Aws::String & GetName() const
CreateResourceShareRequest & AddTags(Tag &&value)
const Aws::Vector< Aws::String > & GetPermissionArns() const
void SetPermissionArns(Aws::Vector< Aws::String > &&value)
CreateResourceShareRequest & WithName(const char *value)
void SetAllowExternalPrincipals(bool value)
CreateResourceShareRequest & WithResourceArns(Aws::Vector< Aws::String > &&value)
AWS_RAM_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
CreateResourceShareRequest & AddPermissionArns(const char *value)
bool AllowExternalPrincipalsHasBeenSet() const
void SetSources(const Aws::Vector< Aws::String > &value)
bool PrincipalsHasBeenSet() const
CreateResourceShareRequest & WithAllowExternalPrincipals(bool value)
void SetClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
CreateResourceShareRequest & AddSources(Aws::String &&value)
void SetClientToken(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateResourceShareRequest & WithName(Aws::String &&value)
const Aws::String & GetClientToken() const
CreateResourceShareRequest & WithClientToken(const char *value)
bool SourcesHasBeenSet() const
CreateResourceShareRequest & WithPrincipals(Aws::Vector< Aws::String > &&value)
CreateResourceShareRequest & WithName(const Aws::String &value)
bool ResourceArnsHasBeenSet() const
void SetResourceArns(const Aws::Vector< Aws::String > &value)
CreateResourceShareRequest & WithPermissionArns(Aws::Vector< Aws::String > &&value)
CreateResourceShareRequest & AddSources(const Aws::String &value)
CreateResourceShareRequest & AddResourceArns(Aws::String &&value)
CreateResourceShareRequest & WithPermissionArns(const Aws::Vector< Aws::String > &value)
AWS_RAM_API CreateResourceShareRequest()
CreateResourceShareRequest & WithTags(Aws::Vector< Tag > &&value)
CreateResourceShareRequest & AddResourceArns(const char *value)
void SetName(Aws::String &&value)
void SetSources(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSources() const
CreateResourceShareRequest & WithPrincipals(const Aws::Vector< Aws::String > &value)
CreateResourceShareRequest & WithSources(const Aws::Vector< Aws::String > &value)
CreateResourceShareRequest & AddSources(const char *value)
const Aws::Vector< Aws::String > & GetPrincipals() const
CreateResourceShareRequest & AddPermissionArns(Aws::String &&value)
void SetName(const char *value)
CreateResourceShareRequest & WithClientToken(Aws::String &&value)
void SetPermissionArns(const Aws::Vector< Aws::String > &value)
bool TagsHasBeenSet() const
bool PermissionArnsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetResourceArns() const
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
CreateResourceShareRequest & AddPermissionArns(const Aws::String &value)
CreateResourceShareRequest & WithSources(Aws::Vector< Aws::String > &&value)
CreateResourceShareRequest & AddPrincipals(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector