7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/model/PolicyType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CloudWatchLogs
57 template<
typename PolicyNameT = Aws::String>
58 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
59 template<
typename PolicyNameT = Aws::String>
74 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
75 void SetAccountIdentifiers(AccountIdentifiersT&& value) { m_accountIdentifiersHasBeenSet =
true; m_accountIdentifiers = std::forward<AccountIdentifiersT>(value); }
76 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
78 template<
typename AccountIdentifiersT = Aws::String>
89 template<
typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
91 template<
typename NextTokenT = Aws::String>
97 bool m_policyTypeHasBeenSet =
false;
100 bool m_policyNameHasBeenSet =
false;
103 bool m_accountIdentifiersHasBeenSet =
false;
106 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