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
53 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
84 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
137 bool m_contentHasBeenSet =
false;
140 bool m_descriptionHasBeenSet =
false;
143 bool m_nameHasBeenSet =
false;
146 bool m_typeHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
CreatePolicyRequest & WithType(const PolicyType &value)
bool TypeHasBeenSet() const
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
CreatePolicyRequest & AddTags(Tag &&value)
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
CreatePolicyRequest & WithTags(Aws::Vector< Tag > &&value)
void SetContent(const char *value)
CreatePolicyRequest & WithDescription(Aws::String &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePolicyRequest & WithContent(const char *value)
bool DescriptionHasBeenSet() const
void SetContent(Aws::String &&value)
void SetDescription(const char *value)
CreatePolicyRequest & WithName(const char *value)
bool ContentHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetType(const PolicyType &value)
CreatePolicyRequest & WithDescription(const char *value)
void SetContent(const Aws::String &value)
CreatePolicyRequest & WithType(PolicyType &&value)
AWS_ORGANIZATIONS_API CreatePolicyRequest()
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetContent() const
CreatePolicyRequest & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetName(const char *value)
CreatePolicyRequest & WithContent(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreatePolicyRequest & WithName(const Aws::String &value)
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
CreatePolicyRequest & WithContent(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreatePolicyRequest & AddTags(const Tag &value)
CreatePolicyRequest & WithTags(const Aws::Vector< Tag > &value)
const PolicyType & GetType() const
const Aws::String & GetName() const
virtual const char * GetServiceRequestName() const override
CreatePolicyRequest & WithName(Aws::String &&value)
void SetType(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