7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/AccountPolicy.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchLogs {
37 template <
typename AccountPoliciesT = Aws::Vector<AccountPolicy>>
39 m_accountPoliciesHasBeenSet =
true;
40 m_accountPolicies = std::forward<AccountPoliciesT>(value);
42 template <
typename AccountPoliciesT = Aws::Vector<AccountPolicy>>
47 template <
typename AccountPoliciesT = AccountPolicy>
49 m_accountPoliciesHasBeenSet =
true;
50 m_accountPolicies.emplace_back(std::forward<AccountPoliciesT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
93 bool m_accountPoliciesHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
void SetAccountPolicies(AccountPoliciesT &&value)
const Aws::Vector< AccountPolicy > & GetAccountPolicies() const
DescribeAccountPoliciesResult & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult()=default
AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
DescribeAccountPoliciesResult & WithAccountPolicies(AccountPoliciesT &&value)
DescribeAccountPoliciesResult & AddAccountPolicies(AccountPoliciesT &&value)
DescribeAccountPoliciesResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue