7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iotdeviceadvisor/IoTDeviceAdvisor_EXPORTS.h>
12#include <aws/iotdeviceadvisor/model/SuiteRunConfiguration.h>
13#include <aws/iotdeviceadvisor/model/SuiteRunStatus.h>
14#include <aws/iotdeviceadvisor/model/TestResult.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace IoTDeviceAdvisor {
40 template <
typename SuiteDefinitionIdT = Aws::String>
42 m_suiteDefinitionIdHasBeenSet =
true;
43 m_suiteDefinitionId = std::forward<SuiteDefinitionIdT>(value);
45 template <
typename SuiteDefinitionIdT = Aws::String>
57 template <
typename SuiteDefinitionVersionT = Aws::String>
59 m_suiteDefinitionVersionHasBeenSet =
true;
60 m_suiteDefinitionVersion = std::forward<SuiteDefinitionVersionT>(value);
62 template <
typename SuiteDefinitionVersionT = Aws::String>
74 template <
typename SuiteRunIdT = Aws::String>
76 m_suiteRunIdHasBeenSet =
true;
77 m_suiteRunId = std::forward<SuiteRunIdT>(value);
79 template <
typename SuiteRunIdT = Aws::String>
91 template <
typename SuiteRunArnT = Aws::String>
93 m_suiteRunArnHasBeenSet =
true;
94 m_suiteRunArn = std::forward<SuiteRunArnT>(value);
96 template <
typename SuiteRunArnT = Aws::String>
108 template <
typename SuiteRunConfigurationT = SuiteRunConfiguration>
110 m_suiteRunConfigurationHasBeenSet =
true;
111 m_suiteRunConfiguration = std::forward<SuiteRunConfigurationT>(value);
113 template <
typename SuiteRunConfigurationT = SuiteRunConfiguration>
125 template <
typename TestResultT = TestResult>
127 m_testResultHasBeenSet =
true;
128 m_testResult = std::forward<TestResultT>(value);
130 template <
typename TestResultT = TestResult>
142 template <
typename StartTimeT = Aws::Utils::DateTime>
144 m_startTimeHasBeenSet =
true;
145 m_startTime = std::forward<StartTimeT>(value);
147 template <
typename StartTimeT = Aws::Utils::DateTime>
159 template <
typename EndTimeT = Aws::Utils::DateTime>
161 m_endTimeHasBeenSet =
true;
162 m_endTime = std::forward<EndTimeT>(value);
164 template <
typename EndTimeT = Aws::Utils::DateTime>
177 m_statusHasBeenSet =
true;
191 template <
typename ErrorReasonT = Aws::String>
193 m_errorReasonHasBeenSet =
true;
194 m_errorReason = std::forward<ErrorReasonT>(value);
196 template <
typename ErrorReasonT = Aws::String>
208 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
267 bool m_suiteDefinitionIdHasBeenSet =
false;
268 bool m_suiteDefinitionVersionHasBeenSet =
false;
269 bool m_suiteRunIdHasBeenSet =
false;
270 bool m_suiteRunArnHasBeenSet =
false;
271 bool m_suiteRunConfigurationHasBeenSet =
false;
272 bool m_testResultHasBeenSet =
false;
273 bool m_startTimeHasBeenSet =
false;
274 bool m_endTimeHasBeenSet =
false;
275 bool m_statusHasBeenSet =
false;
276 bool m_errorReasonHasBeenSet =
false;
277 bool m_tagsHasBeenSet =
false;
278 bool m_requestIdHasBeenSet =
false;
GetSuiteRunResult & WithSuiteRunArn(SuiteRunArnT &&value)
const TestResult & GetTestResult() const
const SuiteRunConfiguration & GetSuiteRunConfiguration() const
void SetTestResult(TestResultT &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(EndTimeT &&value)
GetSuiteRunResult & WithSuiteDefinitionId(SuiteDefinitionIdT &&value)
void SetTags(TagsT &&value)
void SetSuiteDefinitionVersion(SuiteDefinitionVersionT &&value)
AWS_IOTDEVICEADVISOR_API GetSuiteRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSuiteDefinitionId() const
const Aws::String & GetSuiteRunArn() const
SuiteRunStatus GetStatus() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStatus(SuiteRunStatus value)
GetSuiteRunResult & WithSuiteRunId(SuiteRunIdT &&value)
GetSuiteRunResult & WithSuiteRunConfiguration(SuiteRunConfigurationT &&value)
AWS_IOTDEVICEADVISOR_API GetSuiteRunResult()=default
const Aws::String & GetSuiteDefinitionVersion() const
const Aws::String & GetSuiteRunId() const
GetSuiteRunResult & WithSuiteDefinitionVersion(SuiteDefinitionVersionT &&value)
GetSuiteRunResult & WithStatus(SuiteRunStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRequestId() const
void SetSuiteRunId(SuiteRunIdT &&value)
GetSuiteRunResult & WithTestResult(TestResultT &&value)
const Aws::String & GetErrorReason() const
GetSuiteRunResult & WithEndTime(EndTimeT &&value)
void SetStartTime(StartTimeT &&value)
GetSuiteRunResult & WithErrorReason(ErrorReasonT &&value)
GetSuiteRunResult & WithTags(TagsT &&value)
void SetRequestId(RequestIdT &&value)
void SetErrorReason(ErrorReasonT &&value)
AWS_IOTDEVICEADVISOR_API GetSuiteRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSuiteDefinitionId(SuiteDefinitionIdT &&value)
void SetSuiteRunConfiguration(SuiteRunConfigurationT &&value)
void SetSuiteRunArn(SuiteRunArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
GetSuiteRunResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetSuiteRunResult & WithRequestId(RequestIdT &&value)
GetSuiteRunResult & WithStartTime(StartTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue