7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/organizations/OrganizationsRequest.h>
10#include <aws/organizations/Organizations_EXPORTS.h>
11#include <aws/organizations/model/PolicyType.h>
12#include <aws/organizations/model/Tag.h>
17namespace Organizations {
47 template <
typename ContentT = Aws::String>
49 m_contentHasBeenSet =
true;
50 m_content = std::forward<ContentT>(value);
52 template <
typename ContentT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
86 template <
typename NameT = Aws::String>
88 m_nameHasBeenSet =
true;
89 m_name = std::forward<NameT>(value);
91 template <
typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
132 m_typeHasBeenSet =
true;
155 template <
typename TagsT = Aws::Vector<Tag>>
157 m_tagsHasBeenSet =
true;
158 m_tags = std::forward<TagsT>(value);
160 template <
typename TagsT = Aws::Vector<Tag>>
162 SetTags(std::forward<TagsT>(value));
165 template <
typename TagsT = Tag>
167 m_tagsHasBeenSet =
true;
168 m_tags.emplace_back(std::forward<TagsT>(value));
182 bool m_contentHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
184 bool m_nameHasBeenSet =
false;
185 bool m_typeHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetContent(ContentT &&value)
CreatePolicyRequest & WithTags(TagsT &&value)
const Aws::String & GetDescription() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
CreatePolicyRequest & WithContent(ContentT &&value)
void SetName(NameT &&value)
bool ContentHasBeenSet() const
AWS_ORGANIZATIONS_API CreatePolicyRequest()=default
CreatePolicyRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetContent() const
void SetTags(TagsT &&value)
CreatePolicyRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
CreatePolicyRequest & AddTags(TagsT &&value)
void SetType(PolicyType value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
PolicyType GetType() const
CreatePolicyRequest & WithType(PolicyType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector