7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/organizations/model/PolicyType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/organizations/model/Tag.h>
17namespace Organizations
51 template<
typename ContentT = Aws::String>
52 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
53 template<
typename ContentT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
78 template<
typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
80 template<
typename NameT = Aws::String>
125 template<
typename TagsT = Aws::Vector<Tag>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Vector<Tag>>
129 template<
typename TagsT = Tag>
135 bool m_contentHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
141 bool m_nameHasBeenSet =
false;
144 bool m_typeHasBeenSet =
false;
147 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