7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/InsightRule.h>
12#include <aws/monitoring/model/ResponseMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename NextTokenT = Aws::String>
40 m_nextTokenHasBeenSet =
true;
41 m_nextToken = std::forward<NextTokenT>(value);
43 template <
typename NextTokenT = Aws::String>
55 template <
typename InsightRulesT = Aws::Vector<InsightRule>>
57 m_insightRulesHasBeenSet =
true;
58 m_insightRules = std::forward<InsightRulesT>(value);
60 template <
typename InsightRulesT = Aws::Vector<InsightRule>>
65 template <
typename InsightRulesT = InsightRule>
67 m_insightRulesHasBeenSet =
true;
68 m_insightRules.emplace_back(std::forward<InsightRulesT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
91 template <
typename ResponseMetadataT = ResponseMetadata>
93 m_responseMetadataHasBeenSet =
true;
94 m_responseMetadata = std::forward<ResponseMetadataT>(value);
96 template <
typename ResponseMetadataT = ResponseMetadata>
110 bool m_nextTokenHasBeenSet =
false;
111 bool m_insightRulesHasBeenSet =
false;
112 bool m_requestIdHasBeenSet =
false;
113 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)
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