7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace Organizations
46 template<
typename PolicyIdT = Aws::String>
47 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
48 template<
typename PolicyIdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
92 template<
typename ContentT = Aws::String>
93 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
94 template<
typename ContentT = Aws::String>
100 bool m_policyIdHasBeenSet =
false;
103 bool m_nameHasBeenSet =
false;
106 bool m_descriptionHasBeenSet =
false;
109 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