7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ram/RAMRequest.h>
10#include <aws/ram/RAM_EXPORTS.h>
11#include <aws/ram/model/Tag.h>
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
64 template <
typename ResourceTypeT = Aws::String>
66 m_resourceTypeHasBeenSet =
true;
67 m_resourceType = std::forward<ResourceTypeT>(value);
69 template <
typename ResourceTypeT = Aws::String>
101 template <
typename PolicyTemplateT = Aws::String>
103 m_policyTemplateHasBeenSet =
true;
104 m_policyTemplate = std::forward<PolicyTemplateT>(value);
106 template <
typename PolicyTemplateT = Aws::String>
128 template <
typename ClientTokenT = Aws::String>
130 m_clientTokenHasBeenSet =
true;
131 m_clientToken = std::forward<ClientTokenT>(value);
133 template <
typename ClientTokenT = Aws::String>
147 template <
typename TagsT = Aws::Vector<Tag>>
149 m_tagsHasBeenSet =
true;
150 m_tags = std::forward<TagsT>(value);
152 template <
typename TagsT = Aws::Vector<Tag>>
154 SetTags(std::forward<TagsT>(value));
157 template <
typename TagsT = Tag>
159 m_tagsHasBeenSet =
true;
160 m_tags.emplace_back(std::forward<TagsT>(value));
174 bool m_nameHasBeenSet =
false;
175 bool m_resourceTypeHasBeenSet =
false;
176 bool m_policyTemplateHasBeenSet =
false;
177 bool m_clientTokenHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
void SetResourceType(ResourceTypeT &&value)
CreatePermissionRequest & WithPolicyTemplate(PolicyTemplateT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetPolicyTemplate(PolicyTemplateT &&value)
CreatePermissionRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
CreatePermissionRequest & AddTags(TagsT &&value)
bool PolicyTemplateHasBeenSet() const
AWS_RAM_API CreatePermissionRequest()=default
CreatePermissionRequest & WithTags(TagsT &&value)
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetName() const
CreatePermissionRequest & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetResourceType() const
CreatePermissionRequest & WithName(NameT &&value)
AWS_RAM_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
const Aws::String & GetPolicyTemplate() const
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector