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>
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
98 inline void SetPolicyTemplate(
const char* value) { m_policyTemplateHasBeenSet =
true; m_policyTemplate.assign(value); }
121 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
144 bool m_nameHasBeenSet =
false;
147 bool m_resourceTypeHasBeenSet =
false;
150 bool m_policyTemplateHasBeenSet =
false;
153 bool m_clientTokenHasBeenSet =
false;
156 bool m_tagsHasBeenSet =
false;
void SetName(const Aws::String &value)
CreatePermissionRequest & WithClientToken(Aws::String &&value)
CreatePermissionRequest & WithPolicyTemplate(const char *value)
void SetName(Aws::String &&value)
void SetPolicyTemplate(const char *value)
CreatePermissionRequest & WithPolicyTemplate(const Aws::String &value)
bool TagsHasBeenSet() const
CreatePermissionRequest & WithName(const char *value)
void SetPolicyTemplate(Aws::String &&value)
bool PolicyTemplateHasBeenSet() const
CreatePermissionRequest & WithClientToken(const char *value)
CreatePermissionRequest & WithName(Aws::String &&value)
void SetResourceType(Aws::String &&value)
bool NameHasBeenSet() const
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetResourceType(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
CreatePermissionRequest & WithResourceType(Aws::String &&value)
CreatePermissionRequest & AddTags(const Tag &value)
CreatePermissionRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetPolicyTemplate(const Aws::String &value)
const Aws::String & GetResourceType() const
void SetTags(const Aws::Vector< Tag > &value)
CreatePermissionRequest & AddTags(Tag &&value)
CreatePermissionRequest & WithPolicyTemplate(Aws::String &&value)
CreatePermissionRequest & WithClientToken(const Aws::String &value)
void SetName(const char *value)
CreatePermissionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_RAM_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
void SetResourceType(const char *value)
CreatePermissionRequest & WithResourceType(const char *value)
CreatePermissionRequest & WithResourceType(const Aws::String &value)
CreatePermissionRequest & WithName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
AWS_RAM_API CreatePermissionRequest()
const Aws::String & GetPolicyTemplate() const
void SetClientToken(const char *value)
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector