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/synthetics/Synthetics_EXPORTS.h>
11#include <aws/synthetics/model/CanaryRun.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename CanaryRunsT = Aws::Vector<CanaryRun>>
40 m_canaryRunsHasBeenSet =
true;
41 m_canaryRuns = std::forward<CanaryRunsT>(value);
43 template <
typename CanaryRunsT = Aws::Vector<CanaryRun>>
48 template <
typename CanaryRunsT = CanaryRun>
50 m_canaryRunsHasBeenSet =
true;
51 m_canaryRuns.emplace_back(std::forward<CanaryRunsT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_canaryRunsHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
GetCanaryRunsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::Vector< CanaryRun > & GetCanaryRuns() const
GetCanaryRunsResult & WithCanaryRuns(CanaryRunsT &&value)
AWS_SYNTHETICS_API GetCanaryRunsResult()=default
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_SYNTHETICS_API GetCanaryRunsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCanaryRunsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
AWS_SYNTHETICS_API GetCanaryRunsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCanaryRuns(CanaryRunsT &&value)
GetCanaryRunsResult & AddCanaryRuns(CanaryRunsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue