AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProductionVariantStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/VariantStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API ProductionVariantStatus();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const VariantStatus& GetStatus() const{ return m_status; }
55 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
56 inline void SetStatus(const VariantStatus& value) { m_statusHasBeenSet = true; m_status = value; }
57 inline void SetStatus(VariantStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
58 inline ProductionVariantStatus& WithStatus(const VariantStatus& value) { SetStatus(value); return *this;}
59 inline ProductionVariantStatus& WithStatus(VariantStatus&& value) { SetStatus(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
67 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
68 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
69 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
70 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
71 inline ProductionVariantStatus& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
72 inline ProductionVariantStatus& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
73 inline ProductionVariantStatus& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
83 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
84 inline ProductionVariantStatus& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
85 inline ProductionVariantStatus& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
87 private:
88
89 VariantStatus m_status;
90 bool m_statusHasBeenSet = false;
91
92 Aws::String m_statusMessage;
93 bool m_statusMessageHasBeenSet = false;
94
95 Aws::Utils::DateTime m_startTime;
96 bool m_startTimeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
AWS_SAGEMAKER_API ProductionVariantStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ProductionVariantStatus & WithStartTime(const Aws::Utils::DateTime &value)
ProductionVariantStatus & WithStatus(VariantStatus &&value)
const Aws::Utils::DateTime & GetStartTime() const
ProductionVariantStatus & WithStartTime(Aws::Utils::DateTime &&value)
ProductionVariantStatus & WithStatus(const VariantStatus &value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API ProductionVariantStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProductionVariantStatus & WithStatusMessage(const Aws::String &value)
ProductionVariantStatus & WithStatusMessage(const char *value)
ProductionVariantStatus & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue