AWS SDK for C++  1.9.159
AWS SDK for C++
ObjectiveStatusCounters.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
34  {
35  public:
40 
41 
46  inline int GetSucceeded() const{ return m_succeeded; }
47 
52  inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
53 
58  inline void SetSucceeded(int value) { m_succeededHasBeenSet = true; m_succeeded = value; }
59 
64  inline ObjectiveStatusCounters& WithSucceeded(int value) { SetSucceeded(value); return *this;}
65 
66 
71  inline int GetPending() const{ return m_pending; }
72 
77  inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
78 
83  inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
84 
89  inline ObjectiveStatusCounters& WithPending(int value) { SetPending(value); return *this;}
90 
91 
97  inline int GetFailed() const{ return m_failed; }
98 
104  inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
105 
111  inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
112 
118  inline ObjectiveStatusCounters& WithFailed(int value) { SetFailed(value); return *this;}
119 
120  private:
121 
122  int m_succeeded;
123  bool m_succeededHasBeenSet;
124 
125  int m_pending;
126  bool m_pendingHasBeenSet;
127 
128  int m_failed;
129  bool m_failedHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace SageMaker
134 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ObjectiveStatusCounters::SetPending
void SetPending(int value)
Definition: ObjectiveStatusCounters.h:83
Aws::SageMaker::Model::ObjectiveStatusCounters
Definition: ObjectiveStatusCounters.h:34
Aws::SageMaker::Model::ObjectiveStatusCounters::WithFailed
ObjectiveStatusCounters & WithFailed(int value)
Definition: ObjectiveStatusCounters.h:118
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ObjectiveStatusCounters::PendingHasBeenSet
bool PendingHasBeenSet() const
Definition: ObjectiveStatusCounters.h:77
Aws::SageMaker::Model::ObjectiveStatusCounters::WithSucceeded
ObjectiveStatusCounters & WithSucceeded(int value)
Definition: ObjectiveStatusCounters.h:64
Aws::SageMaker::Model::ObjectiveStatusCounters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ObjectiveStatusCounters::SetSucceeded
void SetSucceeded(int value)
Definition: ObjectiveStatusCounters.h:58
Aws::SageMaker::Model::ObjectiveStatusCounters::SucceededHasBeenSet
bool SucceededHasBeenSet() const
Definition: ObjectiveStatusCounters.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ObjectiveStatusCounters::ObjectiveStatusCounters
ObjectiveStatusCounters(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ObjectiveStatusCounters::GetFailed
int GetFailed() const
Definition: ObjectiveStatusCounters.h:97
Aws::SageMaker::Model::ObjectiveStatusCounters::ObjectiveStatusCounters
ObjectiveStatusCounters()
Aws::SageMaker::Model::ObjectiveStatusCounters::SetFailed
void SetFailed(int value)
Definition: ObjectiveStatusCounters.h:111
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ObjectiveStatusCounters::WithPending
ObjectiveStatusCounters & WithPending(int value)
Definition: ObjectiveStatusCounters.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ObjectiveStatusCounters::GetSucceeded
int GetSucceeded() const
Definition: ObjectiveStatusCounters.h:46
Aws::SageMaker::Model::ObjectiveStatusCounters::operator=
ObjectiveStatusCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ObjectiveStatusCounters::FailedHasBeenSet
bool FailedHasBeenSet() const
Definition: ObjectiveStatusCounters.h:104
Aws::SageMaker::Model::ObjectiveStatusCounters::GetPending
int GetPending() const
Definition: ObjectiveStatusCounters.h:71