7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10#include <aws/synthetics/model/CanaryRun.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename CanaryRunsT = Aws::Vector<CanaryRun>>
39 m_canaryRunsHasBeenSet =
true;
40 m_canaryRuns = std::forward<CanaryRunsT>(value);
42 template <
typename CanaryRunsT = Aws::Vector<CanaryRun>>
47 template <
typename CanaryRunsT = CanaryRun>
49 m_canaryRunsHasBeenSet =
true;
50 m_canaryRuns.emplace_back(std::forward<CanaryRunsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
90 bool m_canaryRunsHasBeenSet =
false;
93 bool m_nextTokenHasBeenSet =
false;
96 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)
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