AWS SDK for C++  1.9.155
AWS SDK for C++
ConditionStepMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const ConditionOutcome& GetOutcome() const{ return m_outcome; }
44 
48  inline bool OutcomeHasBeenSet() const { return m_outcomeHasBeenSet; }
49 
53  inline void SetOutcome(const ConditionOutcome& value) { m_outcomeHasBeenSet = true; m_outcome = value; }
54 
58  inline void SetOutcome(ConditionOutcome&& value) { m_outcomeHasBeenSet = true; m_outcome = std::move(value); }
59 
63  inline ConditionStepMetadata& WithOutcome(const ConditionOutcome& value) { SetOutcome(value); return *this;}
64 
68  inline ConditionStepMetadata& WithOutcome(ConditionOutcome&& value) { SetOutcome(std::move(value)); return *this;}
69 
70  private:
71 
72  ConditionOutcome m_outcome;
73  bool m_outcomeHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace SageMaker
78 } // namespace Aws
Aws::SageMaker::Model::ConditionStepMetadata::ConditionStepMetadata
ConditionStepMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ConditionStepMetadata::operator=
ConditionStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ConditionStepMetadata
Definition: ConditionStepMetadata.h:32
Aws::SageMaker::Model::ConditionStepMetadata::OutcomeHasBeenSet
bool OutcomeHasBeenSet() const
Definition: ConditionStepMetadata.h:48
Aws::SageMaker::Model::ConditionStepMetadata::WithOutcome
ConditionStepMetadata & WithOutcome(ConditionOutcome &&value)
Definition: ConditionStepMetadata.h:68
Aws::SageMaker::Model::ConditionStepMetadata::SetOutcome
void SetOutcome(const ConditionOutcome &value)
Definition: ConditionStepMetadata.h:53
Aws::SageMaker::Model::ConditionStepMetadata::SetOutcome
void SetOutcome(ConditionOutcome &&value)
Definition: ConditionStepMetadata.h:58
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ConditionStepMetadata::ConditionStepMetadata
ConditionStepMetadata()
ConditionOutcome.h
Aws::SageMaker::Model::ConditionStepMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ConditionStepMetadata::GetOutcome
const ConditionOutcome & GetOutcome() const
Definition: ConditionStepMetadata.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ConditionStepMetadata::WithOutcome
ConditionStepMetadata & WithOutcome(const ConditionOutcome &value)
Definition: ConditionStepMetadata.h:63
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ConditionOutcome
ConditionOutcome
Definition: ConditionOutcome.h:17
Aws
Definition: AccessManagementClient.h:15