7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
14namespace Organizations {
42 template <
typename PolicyIdT = Aws::String>
44 m_policyIdHasBeenSet =
true;
45 m_policyId = std::forward<PolicyIdT>(value);
47 template <
typename PolicyIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
106 template <
typename ContentT = Aws::String>
108 m_contentHasBeenSet =
true;
109 m_content = std::forward<ContentT>(value);
111 template <
typename ContentT = Aws::String>
125 bool m_policyIdHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
128 bool m_contentHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
AWS_ORGANIZATIONS_API UpdatePolicyRequest()=default
UpdatePolicyRequest & WithName(NameT &&value)
bool NameHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetName() const
UpdatePolicyRequest & WithContent(ContentT &&value)
bool DescriptionHasBeenSet() const
bool ContentHasBeenSet() const
UpdatePolicyRequest & WithPolicyId(PolicyIdT &&value)
const Aws::String & GetDescription() const
void SetContent(ContentT &&value)
const Aws::String & GetPolicyId() const
bool PolicyIdHasBeenSet() const
const Aws::String & GetContent() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
UpdatePolicyRequest & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetPolicyId(PolicyIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String