AWS SDK for C++  1.9.154
AWS SDK for C++
TrialComponentSimpleSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
47 
51  inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
52 
56  inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
57 
61  inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
62 
66  inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
67 
71  inline TrialComponentSimpleSummary& WithTrialComponentName(const Aws::String& value) { SetTrialComponentName(value); return *this;}
72 
76  inline TrialComponentSimpleSummary& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
77 
81  inline TrialComponentSimpleSummary& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
82 
83 
87  inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; }
88 
92  inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
93 
97  inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = value; }
98 
102  inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::move(value); }
103 
107  inline void SetTrialComponentArn(const char* value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn.assign(value); }
108 
112  inline TrialComponentSimpleSummary& WithTrialComponentArn(const Aws::String& value) { SetTrialComponentArn(value); return *this;}
113 
117  inline TrialComponentSimpleSummary& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;}
118 
122  inline TrialComponentSimpleSummary& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;}
123 
124 
125 
126  inline const TrialComponentSource& GetTrialComponentSource() const{ return m_trialComponentSource; }
127 
128 
129  inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
130 
131 
132  inline void SetTrialComponentSource(const TrialComponentSource& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = value; }
133 
134 
135  inline void SetTrialComponentSource(TrialComponentSource&& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = std::move(value); }
136 
137 
138  inline TrialComponentSimpleSummary& WithTrialComponentSource(const TrialComponentSource& value) { SetTrialComponentSource(value); return *this;}
139 
140 
141  inline TrialComponentSimpleSummary& WithTrialComponentSource(TrialComponentSource&& value) { SetTrialComponentSource(std::move(value)); return *this;}
142 
143 
147  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
148 
152  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
153 
157  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
158 
162  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
163 
167  inline TrialComponentSimpleSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
168 
172  inline TrialComponentSimpleSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
173 
174 
175 
176  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
177 
178 
179  inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
180 
181 
182  inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
183 
184 
185  inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
186 
187 
188  inline TrialComponentSimpleSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
189 
190 
191  inline TrialComponentSimpleSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
192 
193  private:
194 
195  Aws::String m_trialComponentName;
196  bool m_trialComponentNameHasBeenSet;
197 
198  Aws::String m_trialComponentArn;
199  bool m_trialComponentArnHasBeenSet;
200 
201  TrialComponentSource m_trialComponentSource;
202  bool m_trialComponentSourceHasBeenSet;
203 
204  Aws::Utils::DateTime m_creationTime;
205  bool m_creationTimeHasBeenSet;
206 
207  UserContext m_createdBy;
208  bool m_createdByHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace SageMaker
213 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentArn
TrialComponentSimpleSummary & WithTrialComponentArn(Aws::String &&value)
Definition: TrialComponentSimpleSummary.h:117
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentName
void SetTrialComponentName(const Aws::String &value)
Definition: TrialComponentSimpleSummary.h:56
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialComponentSimpleSummary::GetTrialComponentArn
const Aws::String & GetTrialComponentArn() const
Definition: TrialComponentSimpleSummary.h:87
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: TrialComponentSimpleSummary.h:157
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentArn
TrialComponentSimpleSummary & WithTrialComponentArn(const char *value)
Definition: TrialComponentSimpleSummary.h:122
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: TrialComponentSimpleSummary.h:185
Aws::SageMaker::Model::TrialComponentSimpleSummary::TrialComponentSourceHasBeenSet
bool TrialComponentSourceHasBeenSet() const
Definition: TrialComponentSimpleSummary.h:129
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithCreatedBy
TrialComponentSimpleSummary & WithCreatedBy(const UserContext &value)
Definition: TrialComponentSimpleSummary.h:188
DateTime.h
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentArn
void SetTrialComponentArn(const Aws::String &value)
Definition: TrialComponentSimpleSummary.h:97
Aws::SageMaker::Model::TrialComponentSimpleSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: TrialComponentSimpleSummary.h:147
Aws::SageMaker::Model::TrialComponentSimpleSummary::TrialComponentSimpleSummary
TrialComponentSimpleSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithCreationTime
TrialComponentSimpleSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: TrialComponentSimpleSummary.h:172
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentSource
TrialComponentSimpleSummary & WithTrialComponentSource(const TrialComponentSource &value)
Definition: TrialComponentSimpleSummary.h:138
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithCreationTime
TrialComponentSimpleSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: TrialComponentSimpleSummary.h:167
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentName
TrialComponentSimpleSummary & WithTrialComponentName(const Aws::String &value)
Definition: TrialComponentSimpleSummary.h:71
UserContext.h
Aws::SageMaker::Model::TrialComponentSimpleSummary::GetTrialComponentName
const Aws::String & GetTrialComponentName() const
Definition: TrialComponentSimpleSummary.h:46
Aws::SageMaker::Model::TrialComponentSimpleSummary::GetTrialComponentSource
const TrialComponentSource & GetTrialComponentSource() const
Definition: TrialComponentSimpleSummary.h:126
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentArn
void SetTrialComponentArn(const char *value)
Definition: TrialComponentSimpleSummary.h:107
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentSource
void SetTrialComponentSource(const TrialComponentSource &value)
Definition: TrialComponentSimpleSummary.h:132
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentSource
TrialComponentSimpleSummary & WithTrialComponentSource(TrialComponentSource &&value)
Definition: TrialComponentSimpleSummary.h:141
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentName
void SetTrialComponentName(Aws::String &&value)
Definition: TrialComponentSimpleSummary.h:61
Aws::SageMaker::Model::TrialComponentSimpleSummary
Definition: TrialComponentSimpleSummary.h:35
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: TrialComponentSimpleSummary.h:162
Aws::SageMaker::Model::TrialComponentSource
Definition: TrialComponentSource.h:33
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: TrialComponentSimpleSummary.h:182
Aws::SageMaker::Model::TrialComponentSimpleSummary::TrialComponentArnHasBeenSet
bool TrialComponentArnHasBeenSet() const
Definition: TrialComponentSimpleSummary.h:92
Aws::SageMaker::Model::TrialComponentSimpleSummary::TrialComponentNameHasBeenSet
bool TrialComponentNameHasBeenSet() const
Definition: TrialComponentSimpleSummary.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithCreatedBy
TrialComponentSimpleSummary & WithCreatedBy(UserContext &&value)
Definition: TrialComponentSimpleSummary.h:191
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentArn
void SetTrialComponentArn(Aws::String &&value)
Definition: TrialComponentSimpleSummary.h:102
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentName
TrialComponentSimpleSummary & WithTrialComponentName(const char *value)
Definition: TrialComponentSimpleSummary.h:81
TrialComponentSource.h
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentName
void SetTrialComponentName(const char *value)
Definition: TrialComponentSimpleSummary.h:66
Aws::SageMaker::Model::TrialComponentSimpleSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TrialComponentSimpleSummary::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: TrialComponentSimpleSummary.h:176
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentName
TrialComponentSimpleSummary & WithTrialComponentName(Aws::String &&value)
Definition: TrialComponentSimpleSummary.h:76
Aws::SageMaker::Model::TrialComponentSimpleSummary::WithTrialComponentArn
TrialComponentSimpleSummary & WithTrialComponentArn(const Aws::String &value)
Definition: TrialComponentSimpleSummary.h:112
Aws::SageMaker::Model::TrialComponentSimpleSummary::SetTrialComponentSource
void SetTrialComponentSource(TrialComponentSource &&value)
Definition: TrialComponentSimpleSummary.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialComponentSimpleSummary::TrialComponentSimpleSummary
TrialComponentSimpleSummary()
Aws::SageMaker::Model::TrialComponentSimpleSummary::CreatedByHasBeenSet
bool CreatedByHasBeenSet() const
Definition: TrialComponentSimpleSummary.h:179
Aws::SageMaker::Model::TrialComponentSimpleSummary::operator=
TrialComponentSimpleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentSimpleSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: TrialComponentSimpleSummary.h:152