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/crt/cbor/Cbor.h>
11#include <aws/monitoring/CloudWatch_EXPORTS.h>
12#include <aws/monitoring/model/InsightRule.h>
13#include <aws/monitoring/model/ResponseMetadata.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
56 template <
typename InsightRulesT = Aws::Vector<InsightRule>>
58 m_insightRulesHasBeenSet =
true;
59 m_insightRules = std::forward<InsightRulesT>(value);
61 template <
typename InsightRulesT = Aws::Vector<InsightRule>>
66 template <
typename InsightRulesT = InsightRule>
68 m_insightRulesHasBeenSet =
true;
69 m_insightRules.emplace_back(std::forward<InsightRulesT>(value));
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
92 template <
typename ResponseMetadataT = ResponseMetadata>
94 m_responseMetadataHasBeenSet =
true;
95 m_responseMetadata = std::forward<ResponseMetadataT>(value);
97 template <
typename ResponseMetadataT = ResponseMetadata>
114 bool m_nextTokenHasBeenSet =
false;
115 bool m_insightRulesHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
117 bool m_responseMetadataHasBeenSet =
false;
DescribeInsightRulesResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_CLOUDWATCH_API DescribeInsightRulesResult()=default
void SetResponseMetadata(ResponseMetadataT &&value)
DescribeInsightRulesResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCH_API DescribeInsightRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Vector< InsightRule > & GetInsightRules() const
DescribeInsightRulesResult & WithInsightRules(InsightRulesT &&value)
void SetInsightRules(InsightRulesT &&value)
AWS_CLOUDWATCH_API DescribeInsightRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetNextToken(NextTokenT &&value)
DescribeInsightRulesResult & WithNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetNextToken() const
DescribeInsightRulesResult & AddInsightRules(InsightRulesT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector