7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/Policy.h>
11#include <aws/fms/model/Tag.h>
41 template <
typename PolicyT = Policy>
43 m_policyHasBeenSet =
true;
44 m_policy = std::forward<PolicyT>(value);
46 template <
typename PolicyT = Policy>
59 template <
typename TagListT = Aws::Vector<Tag>>
61 m_tagListHasBeenSet =
true;
62 m_tagList = std::forward<TagListT>(value);
64 template <
typename TagListT = Aws::Vector<Tag>>
69 template <
typename TagListT = Tag>
71 m_tagListHasBeenSet =
true;
72 m_tagList.emplace_back(std::forward<TagListT>(value));
80 bool m_policyHasBeenSet =
false;
81 bool m_tagListHasBeenSet =
false;
PutPolicyRequest & WithPolicy(PolicyT &&value)
bool TagListHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutPolicyRequest & WithTagList(TagListT &&value)
const Aws::Vector< Tag > & GetTagList() const
void SetTagList(TagListT &&value)
AWS_FMS_API Aws::String SerializePayload() const override
const Policy & GetPolicy() const
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(PolicyT &&value)
bool PolicyHasBeenSet() const
AWS_FMS_API PutPolicyRequest()=default
PutPolicyRequest & AddTagList(TagListT &&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