7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/IndexPolicy.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudWatchLogs {
37 template <
typename IndexPoliciesT = Aws::Vector<IndexPolicy>>
39 m_indexPoliciesHasBeenSet =
true;
40 m_indexPolicies = std::forward<IndexPoliciesT>(value);
42 template <
typename IndexPoliciesT = Aws::Vector<IndexPolicy>>
47 template <
typename IndexPoliciesT = IndexPolicy>
49 m_indexPoliciesHasBeenSet =
true;
50 m_indexPolicies.emplace_back(std::forward<IndexPoliciesT>(value));
58 template <
typename NextTokenT = Aws::String>
60 m_nextTokenHasBeenSet =
true;
61 m_nextToken = std::forward<NextTokenT>(value);
63 template <
typename NextTokenT = Aws::String>
73 template <
typename RequestIdT = Aws::String>
75 m_requestIdHasBeenSet =
true;
76 m_requestId = std::forward<RequestIdT>(value);
78 template <
typename RequestIdT = Aws::String>
93 bool m_indexPoliciesHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
DescribeIndexPoliciesResult & WithIndexPolicies(IndexPoliciesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDWATCHLOGS_API DescribeIndexPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetIndexPolicies(IndexPoliciesT &&value)
DescribeIndexPoliciesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDWATCHLOGS_API DescribeIndexPoliciesResult()=default
DescribeIndexPoliciesResult & AddIndexPolicies(IndexPoliciesT &&value)
DescribeIndexPoliciesResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< IndexPolicy > & GetIndexPolicies() const
AWS_CLOUDWATCHLOGS_API DescribeIndexPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue