AWS SDK for C++  1.9.155
AWS SDK for C++
DeploymentConfig.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 
34  {
35  public:
40 
41 
51  inline const BlueGreenUpdatePolicy& GetBlueGreenUpdatePolicy() const{ return m_blueGreenUpdatePolicy; }
52 
62  inline bool BlueGreenUpdatePolicyHasBeenSet() const { return m_blueGreenUpdatePolicyHasBeenSet; }
63 
73  inline void SetBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy& value) { m_blueGreenUpdatePolicyHasBeenSet = true; m_blueGreenUpdatePolicy = value; }
74 
84  inline void SetBlueGreenUpdatePolicy(BlueGreenUpdatePolicy&& value) { m_blueGreenUpdatePolicyHasBeenSet = true; m_blueGreenUpdatePolicy = std::move(value); }
85 
95  inline DeploymentConfig& WithBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy& value) { SetBlueGreenUpdatePolicy(value); return *this;}
96 
106  inline DeploymentConfig& WithBlueGreenUpdatePolicy(BlueGreenUpdatePolicy&& value) { SetBlueGreenUpdatePolicy(std::move(value)); return *this;}
107 
108 
113  inline const AutoRollbackConfig& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; }
114 
119  inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
120 
125  inline void SetAutoRollbackConfiguration(const AutoRollbackConfig& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; }
126 
131  inline void SetAutoRollbackConfiguration(AutoRollbackConfig&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); }
132 
137  inline DeploymentConfig& WithAutoRollbackConfiguration(const AutoRollbackConfig& value) { SetAutoRollbackConfiguration(value); return *this;}
138 
143  inline DeploymentConfig& WithAutoRollbackConfiguration(AutoRollbackConfig&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;}
144 
145  private:
146 
147  BlueGreenUpdatePolicy m_blueGreenUpdatePolicy;
148  bool m_blueGreenUpdatePolicyHasBeenSet;
149 
150  AutoRollbackConfig m_autoRollbackConfiguration;
151  bool m_autoRollbackConfigurationHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace SageMaker
156 } // namespace Aws
Aws::SageMaker::Model::DeploymentConfig::BlueGreenUpdatePolicyHasBeenSet
bool BlueGreenUpdatePolicyHasBeenSet() const
Definition: DeploymentConfig.h:62
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
AutoRollbackConfig.h
Aws::SageMaker::Model::DeploymentConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DeploymentConfig::DeploymentConfig
DeploymentConfig()
Aws::SageMaker::Model::DeploymentConfig::SetBlueGreenUpdatePolicy
void SetBlueGreenUpdatePolicy(BlueGreenUpdatePolicy &&value)
Definition: DeploymentConfig.h:84
Aws::SageMaker::Model::DeploymentConfig::GetBlueGreenUpdatePolicy
const BlueGreenUpdatePolicy & GetBlueGreenUpdatePolicy() const
Definition: DeploymentConfig.h:51
Aws::SageMaker::Model::DeploymentConfig::SetAutoRollbackConfiguration
void SetAutoRollbackConfiguration(const AutoRollbackConfig &value)
Definition: DeploymentConfig.h:125
Aws::SageMaker::Model::DeploymentConfig::operator=
DeploymentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:34
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeploymentConfig::AutoRollbackConfigurationHasBeenSet
bool AutoRollbackConfigurationHasBeenSet() const
Definition: DeploymentConfig.h:119
Aws::SageMaker::Model::DeploymentConfig::WithAutoRollbackConfiguration
DeploymentConfig & WithAutoRollbackConfiguration(const AutoRollbackConfig &value)
Definition: DeploymentConfig.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::DeploymentConfig::WithAutoRollbackConfiguration
DeploymentConfig & WithAutoRollbackConfiguration(AutoRollbackConfig &&value)
Definition: DeploymentConfig.h:143
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DeploymentConfig::GetAutoRollbackConfiguration
const AutoRollbackConfig & GetAutoRollbackConfiguration() const
Definition: DeploymentConfig.h:113
Aws::SageMaker::Model::BlueGreenUpdatePolicy
Definition: BlueGreenUpdatePolicy.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoRollbackConfig
Definition: AutoRollbackConfig.h:34
Aws::SageMaker::Model::DeploymentConfig::SetAutoRollbackConfiguration
void SetAutoRollbackConfiguration(AutoRollbackConfig &&value)
Definition: DeploymentConfig.h:131
Aws::SageMaker::Model::DeploymentConfig::DeploymentConfig
DeploymentConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DeploymentConfig::SetBlueGreenUpdatePolicy
void SetBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy &value)
Definition: DeploymentConfig.h:73
Aws::SageMaker::Model::DeploymentConfig::WithBlueGreenUpdatePolicy
DeploymentConfig & WithBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy &value)
Definition: DeploymentConfig.h:95
BlueGreenUpdatePolicy.h
Aws::SageMaker::Model::DeploymentConfig::WithBlueGreenUpdatePolicy
DeploymentConfig & WithBlueGreenUpdatePolicy(BlueGreenUpdatePolicy &&value)
Definition: DeploymentConfig.h:106