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/core/utils/memory/stl/AWSVector.h>
11#include <aws/organizations/model/Tag.h>
16namespace Organizations
49 template<
typename ContentT = Aws::String>
50 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
51 template<
typename ContentT = Aws::String>
70 template<
typename TagsT = Aws::Vector<Tag>>
71 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
72 template<
typename TagsT = Aws::Vector<Tag>>
74 template<
typename TagsT = Tag>
80 bool m_contentHasBeenSet =
false;
83 bool m_tagsHasBeenSet =
false;
AWS_ORGANIZATIONS_API PutResourcePolicyRequest()=default
const Aws::Vector< Tag > & GetTags() const
PutResourcePolicyRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetContent() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
PutResourcePolicyRequest & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
bool ContentHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
PutResourcePolicyRequest & WithTags(TagsT &&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