7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogsRequest.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/PolicyType.h>
16namespace CloudWatchLogs {
43 m_policyTypeHasBeenSet =
true;
59 template <
typename PolicyNameT = Aws::String>
61 m_policyNameHasBeenSet =
true;
62 m_policyName = std::forward<PolicyNameT>(value);
64 template <
typename PolicyNameT = Aws::String>
82 template <
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
84 m_accountIdentifiersHasBeenSet =
true;
85 m_accountIdentifiers = std::forward<AccountIdentifiersT>(value);
87 template <
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
92 template <
typename AccountIdentifiersT = Aws::String>
94 m_accountIdentifiersHasBeenSet =
true;
95 m_accountIdentifiers.emplace_back(std::forward<AccountIdentifiersT>(value));
107 template <
typename NextTokenT = Aws::String>
109 m_nextTokenHasBeenSet =
true;
110 m_nextToken = std::forward<NextTokenT>(value);
112 template <
typename NextTokenT = Aws::String>
126 bool m_policyTypeHasBeenSet =
false;
127 bool m_policyNameHasBeenSet =
false;
128 bool m_accountIdentifiersHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
void SetAccountIdentifiers(AccountIdentifiersT &&value)
DescribeAccountPoliciesRequest & WithAccountIdentifiers(AccountIdentifiersT &&value)
void SetPolicyType(PolicyType value)
void SetPolicyName(PolicyNameT &&value)
AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesRequest()=default
const Aws::Vector< Aws::String > & GetAccountIdentifiers() const
DescribeAccountPoliciesRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
bool PolicyTypeHasBeenSet() const
DescribeAccountPoliciesRequest & WithPolicyType(PolicyType value)
bool AccountIdentifiersHasBeenSet() const
DescribeAccountPoliciesRequest & WithPolicyName(PolicyNameT &&value)
DescribeAccountPoliciesRequest & AddAccountIdentifiers(AccountIdentifiersT &&value)
PolicyType GetPolicyType() const
bool PolicyNameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
const Aws::String & GetPolicyName() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
bool NextTokenHasBeenSet() const
const Aws::String & GetNextToken() const
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