AWS SDK for C++  1.9.158
AWS SDK for C++
SecondaryStatusTransition.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
42  {
43  public:
48 
49 
73  inline const SecondaryStatus& GetStatus() const{ return m_status; }
74 
98  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 
123  inline void SetStatus(const SecondaryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
124 
148  inline void SetStatus(SecondaryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
149 
173  inline SecondaryStatusTransition& WithStatus(const SecondaryStatus& value) { SetStatus(value); return *this;}
174 
198  inline SecondaryStatusTransition& WithStatus(SecondaryStatus&& value) { SetStatus(std::move(value)); return *this;}
199 
200 
205  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
206 
211  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
212 
217  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
218 
223  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
224 
229  inline SecondaryStatusTransition& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
230 
235  inline SecondaryStatusTransition& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
236 
237 
243  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
244 
250  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
251 
257  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
258 
264  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
265 
271  inline SecondaryStatusTransition& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
272 
278  inline SecondaryStatusTransition& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
279 
280 
302  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
303 
325  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
326 
348  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
349 
371  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
372 
394  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
395 
417  inline SecondaryStatusTransition& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
418 
440  inline SecondaryStatusTransition& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
441 
463  inline SecondaryStatusTransition& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
464 
465  private:
466 
467  SecondaryStatus m_status;
468  bool m_statusHasBeenSet;
469 
470  Aws::Utils::DateTime m_startTime;
471  bool m_startTimeHasBeenSet;
472 
473  Aws::Utils::DateTime m_endTime;
474  bool m_endTimeHasBeenSet;
475 
476  Aws::String m_statusMessage;
477  bool m_statusMessageHasBeenSet;
478  };
479 
480 } // namespace Model
481 } // namespace SageMaker
482 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::SecondaryStatusTransition::SetStatus
void SetStatus(const SecondaryStatus &value)
Definition: SecondaryStatusTransition.h:123
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::SecondaryStatusTransition::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: SecondaryStatusTransition.h:371
Aws::SageMaker::Model::SecondaryStatusTransition::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: SecondaryStatusTransition.h:302
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SecondaryStatusTransition::SecondaryStatusTransition
SecondaryStatusTransition()
Aws::SageMaker::Model::SecondaryStatusTransition::SecondaryStatusTransition
SecondaryStatusTransition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SecondaryStatusTransition::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: SecondaryStatusTransition.h:205
DateTime.h
Aws::SageMaker::Model::SecondaryStatusTransition::SetStatus
void SetStatus(SecondaryStatus &&value)
Definition: SecondaryStatusTransition.h:148
Aws::SageMaker::Model::SecondaryStatusTransition::WithStatusMessage
SecondaryStatusTransition & WithStatusMessage(const Aws::String &value)
Definition: SecondaryStatusTransition.h:417
Aws::SageMaker::Model::SecondaryStatusTransition::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: SecondaryStatusTransition.h:257
Aws::SageMaker::Model::SecondaryStatusTransition::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: SecondaryStatusTransition.h:98
Aws::SageMaker::Model::SecondaryStatusTransition::WithEndTime
SecondaryStatusTransition & WithEndTime(Aws::Utils::DateTime &&value)
Definition: SecondaryStatusTransition.h:278
Aws::SageMaker::Model::SecondaryStatusTransition::WithStartTime
SecondaryStatusTransition & WithStartTime(Aws::Utils::DateTime &&value)
Definition: SecondaryStatusTransition.h:235
Aws::SageMaker::Model::SecondaryStatusTransition::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: SecondaryStatusTransition.h:211
Aws::SageMaker::Model::SecondaryStatusTransition::WithStatusMessage
SecondaryStatusTransition & WithStatusMessage(Aws::String &&value)
Definition: SecondaryStatusTransition.h:440
SecondaryStatus.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::SecondaryStatusTransition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::SecondaryStatusTransition::WithStartTime
SecondaryStatusTransition & WithStartTime(const Aws::Utils::DateTime &value)
Definition: SecondaryStatusTransition.h:229
Aws::SageMaker::Model::SecondaryStatusTransition::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: SecondaryStatusTransition.h:264
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::SecondaryStatusTransition::WithStatus
SecondaryStatusTransition & WithStatus(SecondaryStatus &&value)
Definition: SecondaryStatusTransition.h:198
Aws::SageMaker::Model::SecondaryStatusTransition::GetStatus
const SecondaryStatus & GetStatus() const
Definition: SecondaryStatusTransition.h:73
Aws::SageMaker::Model::SecondaryStatusTransition::operator=
SecondaryStatusTransition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SecondaryStatusTransition::WithEndTime
SecondaryStatusTransition & WithEndTime(const Aws::Utils::DateTime &value)
Definition: SecondaryStatusTransition.h:271
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::SecondaryStatusTransition::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: SecondaryStatusTransition.h:223
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::SecondaryStatusTransition::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: SecondaryStatusTransition.h:394
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::SecondaryStatusTransition::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: SecondaryStatusTransition.h:217
Aws::SageMaker::Model::SecondaryStatusTransition::WithStatus
SecondaryStatusTransition & WithStatus(const SecondaryStatus &value)
Definition: SecondaryStatusTransition.h:173
Aws::SageMaker::Model::SecondaryStatusTransition::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: SecondaryStatusTransition.h:348
Aws::SageMaker::Model::SecondaryStatusTransition::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: SecondaryStatusTransition.h:243
Aws::SageMaker::Model::SecondaryStatus
SecondaryStatus
Definition: SecondaryStatus.h:17
Aws::SageMaker::Model::SecondaryStatusTransition
Definition: SecondaryStatusTransition.h:42
Aws::SageMaker::Model::SecondaryStatusTransition::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: SecondaryStatusTransition.h:250
Aws::SageMaker::Model::SecondaryStatusTransition::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: SecondaryStatusTransition.h:325
Aws::SageMaker::Model::SecondaryStatusTransition::WithStatusMessage
SecondaryStatusTransition & WithStatusMessage(const char *value)
Definition: SecondaryStatusTransition.h:463