AWS SDK for C++  1.9.159
AWS SDK for C++
AlgorithmStatusItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline AlgorithmStatusItem& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline AlgorithmStatusItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline AlgorithmStatusItem& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const DetailedAlgorithmStatus& GetStatus() const{ return m_status; }
86 
90  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 
95  inline void SetStatus(const DetailedAlgorithmStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 
100  inline void SetStatus(DetailedAlgorithmStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 
105  inline AlgorithmStatusItem& WithStatus(const DetailedAlgorithmStatus& value) { SetStatus(value); return *this;}
106 
110  inline AlgorithmStatusItem& WithStatus(DetailedAlgorithmStatus&& value) { SetStatus(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
117 
121  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
122 
126  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
127 
131  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
132 
136  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
137 
141  inline AlgorithmStatusItem& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
142 
146  inline AlgorithmStatusItem& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
147 
151  inline AlgorithmStatusItem& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
152 
153  private:
154 
155  Aws::String m_name;
156  bool m_nameHasBeenSet;
157 
158  DetailedAlgorithmStatus m_status;
159  bool m_statusHasBeenSet;
160 
161  Aws::String m_failureReason;
162  bool m_failureReasonHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace SageMaker
167 } // namespace Aws
Aws::SageMaker::Model::AlgorithmStatusItem::AlgorithmStatusItem
AlgorithmStatusItem()
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AlgorithmStatusItem::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: AlgorithmStatusItem.h:116
Aws::SageMaker::Model::AlgorithmStatusItem::WithFailureReason
AlgorithmStatusItem & WithFailureReason(const char *value)
Definition: AlgorithmStatusItem.h:151
Aws::SageMaker::Model::AlgorithmStatusItem::WithName
AlgorithmStatusItem & WithName(const char *value)
Definition: AlgorithmStatusItem.h:79
Aws::SageMaker::Model::AlgorithmStatusItem::WithFailureReason
AlgorithmStatusItem & WithFailureReason(Aws::String &&value)
Definition: AlgorithmStatusItem.h:146
Aws::SageMaker::Model::DetailedAlgorithmStatus
DetailedAlgorithmStatus
Definition: DetailedAlgorithmStatus.h:17
Aws::SageMaker::Model::AlgorithmStatusItem::GetName
const Aws::String & GetName() const
Definition: AlgorithmStatusItem.h:44
DetailedAlgorithmStatus.h
Aws::SageMaker::Model::AlgorithmStatusItem
Definition: AlgorithmStatusItem.h:33
Aws::SageMaker::Model::AlgorithmStatusItem::SetStatus
void SetStatus(const DetailedAlgorithmStatus &value)
Definition: AlgorithmStatusItem.h:95
Aws::SageMaker::Model::AlgorithmStatusItem::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: AlgorithmStatusItem.h:126
Aws::SageMaker::Model::AlgorithmStatusItem::WithName
AlgorithmStatusItem & WithName(Aws::String &&value)
Definition: AlgorithmStatusItem.h:74
Aws::SageMaker::Model::AlgorithmStatusItem::WithFailureReason
AlgorithmStatusItem & WithFailureReason(const Aws::String &value)
Definition: AlgorithmStatusItem.h:141
Aws::SageMaker::Model::AlgorithmStatusItem::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: AlgorithmStatusItem.h:121
Aws::SageMaker::Model::AlgorithmStatusItem::operator=
AlgorithmStatusItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AlgorithmStatusItem::SetStatus
void SetStatus(DetailedAlgorithmStatus &&value)
Definition: AlgorithmStatusItem.h:100
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AlgorithmStatusItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AlgorithmStatusItem::SetFailureReason
void SetFailureReason(const char *value)
Definition: AlgorithmStatusItem.h:136
Aws::SageMaker::Model::AlgorithmStatusItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AlgorithmStatusItem.h:49
Aws::SageMaker::Model::AlgorithmStatusItem::WithName
AlgorithmStatusItem & WithName(const Aws::String &value)
Definition: AlgorithmStatusItem.h:69
Aws::SageMaker::Model::AlgorithmStatusItem::SetName
void SetName(Aws::String &&value)
Definition: AlgorithmStatusItem.h:59
Aws::SageMaker::Model::AlgorithmStatusItem::WithStatus
AlgorithmStatusItem & WithStatus(const DetailedAlgorithmStatus &value)
Definition: AlgorithmStatusItem.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AlgorithmStatusItem::AlgorithmStatusItem
AlgorithmStatusItem(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AlgorithmStatusItem::GetStatus
const DetailedAlgorithmStatus & GetStatus() const
Definition: AlgorithmStatusItem.h:85
Aws::SageMaker::Model::AlgorithmStatusItem::WithStatus
AlgorithmStatusItem & WithStatus(DetailedAlgorithmStatus &&value)
Definition: AlgorithmStatusItem.h:110
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AlgorithmStatusItem::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AlgorithmStatusItem.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AlgorithmStatusItem::SetName
void SetName(const char *value)
Definition: AlgorithmStatusItem.h:64
Aws::SageMaker::Model::AlgorithmStatusItem::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: AlgorithmStatusItem.h:131
Aws::SageMaker::Model::AlgorithmStatusItem::SetName
void SetName(const Aws::String &value)
Definition: AlgorithmStatusItem.h:54