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/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11#include <aws/resiliencehubv2/model/TestRunStatus.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace resiliencehubv2 {
37 template <
typename TestRunIdT = Aws::String>
39 m_testRunIdHasBeenSet =
true;
40 m_testRunId = std::forward<TestRunIdT>(value);
42 template <
typename TestRunIdT = Aws::String>
55 m_statusHasBeenSet =
true;
70 template <
typename ExperimentArnsT = Aws::Vector<Aws::String>>
72 m_experimentArnsHasBeenSet =
true;
73 m_experimentArns = std::forward<ExperimentArnsT>(value);
75 template <
typename ExperimentArnsT = Aws::Vector<Aws::String>>
80 template <
typename ExperimentArnsT = Aws::String>
82 m_experimentArnsHasBeenSet =
true;
83 m_experimentArns.emplace_back(std::forward<ExperimentArnsT>(value));
91 template <
typename RequestIdT = Aws::String>
93 m_requestIdHasBeenSet =
true;
94 m_requestId = std::forward<RequestIdT>(value);
96 template <
typename RequestIdT = Aws::String>
113 bool m_testRunIdHasBeenSet =
false;
114 bool m_statusHasBeenSet =
false;
115 bool m_experimentArnsHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
TestRunStatus GetStatus() const
void SetTestRunId(TestRunIdT &&value)
void SetStatus(TestRunStatus value)
const Aws::Vector< Aws::String > & GetExperimentArns() const
StartTestRunResult & WithTestRunId(TestRunIdT &&value)
AWS_RESILIENCEHUBV2_API StartTestRunResult()=default
AWS_RESILIENCEHUBV2_API StartTestRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestRunResult & WithStatus(TestRunStatus value)
void SetRequestId(RequestIdT &&value)
StartTestRunResult & WithExperimentArns(ExperimentArnsT &&value)
StartTestRunResult & AddExperimentArns(ExperimentArnsT &&value)
void SetExperimentArns(ExperimentArnsT &&value)
const Aws::String & GetTestRunId() const
AWS_RESILIENCEHUBV2_API StartTestRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartTestRunResult & WithRequestId(RequestIdT &&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