AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AIBenchmarkJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AIBenchmarkJobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API AIBenchmarkJobSummary() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAIBenchmarkJobName() const { return m_aIBenchmarkJobName; }
41 inline bool AIBenchmarkJobNameHasBeenSet() const { return m_aIBenchmarkJobNameHasBeenSet; }
42 template <typename AIBenchmarkJobNameT = Aws::String>
43 void SetAIBenchmarkJobName(AIBenchmarkJobNameT&& value) {
44 m_aIBenchmarkJobNameHasBeenSet = true;
45 m_aIBenchmarkJobName = std::forward<AIBenchmarkJobNameT>(value);
46 }
47 template <typename AIBenchmarkJobNameT = Aws::String>
48 AIBenchmarkJobSummary& WithAIBenchmarkJobName(AIBenchmarkJobNameT&& value) {
49 SetAIBenchmarkJobName(std::forward<AIBenchmarkJobNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAIBenchmarkJobArn() const { return m_aIBenchmarkJobArn; }
59 inline bool AIBenchmarkJobArnHasBeenSet() const { return m_aIBenchmarkJobArnHasBeenSet; }
60 template <typename AIBenchmarkJobArnT = Aws::String>
61 void SetAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
62 m_aIBenchmarkJobArnHasBeenSet = true;
63 m_aIBenchmarkJobArn = std::forward<AIBenchmarkJobArnT>(value);
64 }
65 template <typename AIBenchmarkJobArnT = Aws::String>
66 AIBenchmarkJobSummary& WithAIBenchmarkJobArn(AIBenchmarkJobArnT&& value) {
67 SetAIBenchmarkJobArn(std::forward<AIBenchmarkJobArnT>(value));
68 return *this;
69 }
71
73
76 inline AIBenchmarkJobStatus GetAIBenchmarkJobStatus() const { return m_aIBenchmarkJobStatus; }
77 inline bool AIBenchmarkJobStatusHasBeenSet() const { return m_aIBenchmarkJobStatusHasBeenSet; }
79 m_aIBenchmarkJobStatusHasBeenSet = true;
80 m_aIBenchmarkJobStatus = value;
81 }
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template <typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) {
96 m_creationTimeHasBeenSet = true;
97 m_creationTime = std::forward<CreationTimeT>(value);
98 }
99 template <typename CreationTimeT = Aws::Utils::DateTime>
100 AIBenchmarkJobSummary& WithCreationTime(CreationTimeT&& value) {
101 SetCreationTime(std::forward<CreationTimeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
111 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
112 template <typename EndTimeT = Aws::Utils::DateTime>
113 void SetEndTime(EndTimeT&& value) {
114 m_endTimeHasBeenSet = true;
115 m_endTime = std::forward<EndTimeT>(value);
116 }
117 template <typename EndTimeT = Aws::Utils::DateTime>
119 SetEndTime(std::forward<EndTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetAIWorkloadConfigName() const { return m_aIWorkloadConfigName; }
129 inline bool AIWorkloadConfigNameHasBeenSet() const { return m_aIWorkloadConfigNameHasBeenSet; }
130 template <typename AIWorkloadConfigNameT = Aws::String>
131 void SetAIWorkloadConfigName(AIWorkloadConfigNameT&& value) {
132 m_aIWorkloadConfigNameHasBeenSet = true;
133 m_aIWorkloadConfigName = std::forward<AIWorkloadConfigNameT>(value);
134 }
135 template <typename AIWorkloadConfigNameT = Aws::String>
136 AIBenchmarkJobSummary& WithAIWorkloadConfigName(AIWorkloadConfigNameT&& value) {
137 SetAIWorkloadConfigName(std::forward<AIWorkloadConfigNameT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_aIBenchmarkJobName;
143
144 Aws::String m_aIBenchmarkJobArn;
145
147
148 Aws::Utils::DateTime m_creationTime{};
149
150 Aws::Utils::DateTime m_endTime{};
151
152 Aws::String m_aIWorkloadConfigName;
153 bool m_aIBenchmarkJobNameHasBeenSet = false;
154 bool m_aIBenchmarkJobArnHasBeenSet = false;
155 bool m_aIBenchmarkJobStatusHasBeenSet = false;
156 bool m_creationTimeHasBeenSet = false;
157 bool m_endTimeHasBeenSet = false;
158 bool m_aIWorkloadConfigNameHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace SageMaker
163} // namespace Aws
AIBenchmarkJobSummary & WithCreationTime(CreationTimeT &&value)
void SetAIBenchmarkJobName(AIBenchmarkJobNameT &&value)
AIBenchmarkJobSummary & WithAIWorkloadConfigName(AIWorkloadConfigNameT &&value)
AWS_SAGEMAKER_API AIBenchmarkJobSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
AWS_SAGEMAKER_API AIBenchmarkJobSummary()=default
AIBenchmarkJobSummary & WithAIBenchmarkJobArn(AIBenchmarkJobArnT &&value)
void SetAIBenchmarkJobArn(AIBenchmarkJobArnT &&value)
AIBenchmarkJobSummary & WithAIBenchmarkJobName(AIBenchmarkJobNameT &&value)
AIBenchmarkJobSummary & WithEndTime(EndTimeT &&value)
void SetAIBenchmarkJobStatus(AIBenchmarkJobStatus value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAIWorkloadConfigName(AIWorkloadConfigNameT &&value)
AWS_SAGEMAKER_API AIBenchmarkJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AIBenchmarkJobSummary & WithAIBenchmarkJobStatus(AIBenchmarkJobStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue