7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/organizations/OrganizationsRequest.h>
10#include <aws/organizations/Organizations_EXPORTS.h>
11#include <aws/organizations/model/Tag.h>
16namespace Organizations {
45 template <
typename ContentT = Aws::String>
47 m_contentHasBeenSet =
true;
48 m_content = std::forward<ContentT>(value);
50 template <
typename ContentT = Aws::String>
72 template <
typename TagsT = Aws::Vector<Tag>>
74 m_tagsHasBeenSet =
true;
75 m_tags = std::forward<TagsT>(value);
77 template <
typename TagsT = Aws::Vector<Tag>>
79 SetTags(std::forward<TagsT>(value));
82 template <
typename TagsT = Tag>
84 m_tagsHasBeenSet =
true;
85 m_tags.emplace_back(std::forward<TagsT>(value));
93 bool m_contentHasBeenSet =
false;
94 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