7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/AccountTargeting.h>
11#include <aws/resiliencehubv2/model/TestRunStatus.h>
22namespace resiliencehubv2 {
43 template <
typename TestRunIdT = Aws::String>
45 m_testRunIdHasBeenSet =
true;
46 m_testRunId = std::forward<TestRunIdT>(value);
48 template <
typename TestRunIdT = Aws::String>
62 m_statusHasBeenSet =
true;
77 template <
typename StartedAtT = Aws::Utils::DateTime>
79 m_startedAtHasBeenSet =
true;
80 m_startedAt = std::forward<StartedAtT>(value);
82 template <
typename StartedAtT = Aws::Utils::DateTime>
95 template <
typename EndedAtT = Aws::Utils::DateTime>
97 m_endedAtHasBeenSet =
true;
98 m_endedAt = std::forward<EndedAtT>(value);
100 template <
typename EndedAtT = Aws::Utils::DateTime>
113 template <
typename TestTemplateArnT = Aws::String>
115 m_testTemplateArnHasBeenSet =
true;
116 m_testTemplateArn = std::forward<TestTemplateArnT>(value);
118 template <
typename TestTemplateArnT = Aws::String>
131 template <
typename ServiceArnT = Aws::String>
133 m_serviceArnHasBeenSet =
true;
134 m_serviceArn = std::forward<ServiceArnT>(value);
136 template <
typename ServiceArnT = Aws::String>
150 template <
typename ErrorMessageT = Aws::String>
152 m_errorMessageHasBeenSet =
true;
153 m_errorMessage = std::forward<ErrorMessageT>(value);
155 template <
typename ErrorMessageT = Aws::String>
170 m_accountTargetingHasBeenSet =
true;
171 m_accountTargeting = value;
194 bool m_testRunIdHasBeenSet =
false;
195 bool m_statusHasBeenSet =
false;
196 bool m_startedAtHasBeenSet =
false;
197 bool m_endedAtHasBeenSet =
false;
198 bool m_testTemplateArnHasBeenSet =
false;
199 bool m_serviceArnHasBeenSet =
false;
200 bool m_errorMessageHasBeenSet =
false;
201 bool m_accountTargetingHasBeenSet =
false;
TestRunStatus GetStatus() const
TestRunSummary & WithErrorMessage(ErrorMessageT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetStatus(TestRunStatus value)
TestRunSummary & WithEndedAt(EndedAtT &&value)
AccountTargeting GetAccountTargeting() const
const Aws::String & GetErrorMessage() const
AWS_RESILIENCEHUBV2_API TestRunSummary(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetEndedAt() const
AWS_RESILIENCEHUBV2_API TestRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TestRunSummary & WithStartedAt(StartedAtT &&value)
void SetAccountTargeting(AccountTargeting value)
void SetStartedAt(StartedAtT &&value)
void SetTestRunId(TestRunIdT &&value)
bool EndedAtHasBeenSet() const
void SetEndedAt(EndedAtT &&value)
const Aws::String & GetTestRunId() const
void SetTestTemplateArn(TestTemplateArnT &&value)
bool TestRunIdHasBeenSet() const
TestRunSummary & WithServiceArn(ServiceArnT &&value)
bool TestTemplateArnHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API TestRunSummary()=default
bool AccountTargetingHasBeenSet() const
TestRunSummary & WithTestTemplateArn(TestTemplateArnT &&value)
const Aws::String & GetServiceArn() const
TestRunSummary & WithStatus(TestRunStatus value)
const Aws::String & GetTestTemplateArn() const
TestRunSummary & WithTestRunId(TestRunIdT &&value)
bool ErrorMessageHasBeenSet() const
TestRunSummary & WithAccountTargeting(AccountTargeting value)
void SetServiceArn(ServiceArnT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
bool ServiceArnHasBeenSet() const
bool StartedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue