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));
63 template <
typename ResourceTypeT = Aws::String>
65 m_resourceTypeHasBeenSet =
true;
66 m_resourceType = std::forward<ResourceTypeT>(value);
68 template <
typename ResourceTypeT = Aws::String>
100 template <
typename PolicyTemplateT = Aws::String>
102 m_policyTemplateHasBeenSet =
true;
103 m_policyTemplate = std::forward<PolicyTemplateT>(value);
105 template <
typename PolicyTemplateT = Aws::String>
127 template <
typename ClientTokenT = Aws::String>
129 m_clientTokenHasBeenSet =
true;
130 m_clientToken = std::forward<ClientTokenT>(value);
132 template <
typename ClientTokenT = Aws::String>
146 template <
typename TagsT = Aws::Vector<Tag>>
148 m_tagsHasBeenSet =
true;
149 m_tags = std::forward<TagsT>(value);
151 template <
typename TagsT = Aws::Vector<Tag>>
153 SetTags(std::forward<TagsT>(value));
156 template <
typename TagsT = Tag>
158 m_tagsHasBeenSet =
true;
159 m_tags.emplace_back(std::forward<TagsT>(value));
173 bool m_nameHasBeenSet =
false;
174 bool m_resourceTypeHasBeenSet =
false;
175 bool m_policyTemplateHasBeenSet =
false;
176 bool m_clientTokenHasBeenSet =
false;
177 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