AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/BlueGreenUpdatePolicy.h>
9#include <aws/sagemaker/model/RollingUpdatePolicy.h>
10#include <aws/sagemaker/model/AutoRollbackConfig.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
35 {
36 public:
37 AWS_SAGEMAKER_API DeploymentConfig();
38 AWS_SAGEMAKER_API DeploymentConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const BlueGreenUpdatePolicy& GetBlueGreenUpdatePolicy() const{ return m_blueGreenUpdatePolicy; }
54 inline bool BlueGreenUpdatePolicyHasBeenSet() const { return m_blueGreenUpdatePolicyHasBeenSet; }
55 inline void SetBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy& value) { m_blueGreenUpdatePolicyHasBeenSet = true; m_blueGreenUpdatePolicy = value; }
56 inline void SetBlueGreenUpdatePolicy(BlueGreenUpdatePolicy&& value) { m_blueGreenUpdatePolicyHasBeenSet = true; m_blueGreenUpdatePolicy = std::move(value); }
60
62
66 inline const RollingUpdatePolicy& GetRollingUpdatePolicy() const{ return m_rollingUpdatePolicy; }
67 inline bool RollingUpdatePolicyHasBeenSet() const { return m_rollingUpdatePolicyHasBeenSet; }
68 inline void SetRollingUpdatePolicy(const RollingUpdatePolicy& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = value; }
69 inline void SetRollingUpdatePolicy(RollingUpdatePolicy&& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = std::move(value); }
71 inline DeploymentConfig& WithRollingUpdatePolicy(RollingUpdatePolicy&& value) { SetRollingUpdatePolicy(std::move(value)); return *this;}
73
75
79 inline const AutoRollbackConfig& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; }
80 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
81 inline void SetAutoRollbackConfiguration(const AutoRollbackConfig& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; }
82 inline void SetAutoRollbackConfiguration(AutoRollbackConfig&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); }
86 private:
87
88 BlueGreenUpdatePolicy m_blueGreenUpdatePolicy;
89 bool m_blueGreenUpdatePolicyHasBeenSet = false;
90
91 RollingUpdatePolicy m_rollingUpdatePolicy;
92 bool m_rollingUpdatePolicyHasBeenSet = false;
93
94 AutoRollbackConfig m_autoRollbackConfiguration;
95 bool m_autoRollbackConfigurationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
void SetAutoRollbackConfiguration(AutoRollbackConfig &&value)
void SetAutoRollbackConfiguration(const AutoRollbackConfig &value)
const RollingUpdatePolicy & GetRollingUpdatePolicy() const
DeploymentConfig & WithRollingUpdatePolicy(RollingUpdatePolicy &&value)
void SetRollingUpdatePolicy(RollingUpdatePolicy &&value)
const BlueGreenUpdatePolicy & GetBlueGreenUpdatePolicy() const
void SetRollingUpdatePolicy(const RollingUpdatePolicy &value)
DeploymentConfig & WithAutoRollbackConfiguration(const AutoRollbackConfig &value)
void SetBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy &value)
AWS_SAGEMAKER_API DeploymentConfig(Aws::Utils::Json::JsonView jsonValue)
DeploymentConfig & WithRollingUpdatePolicy(const RollingUpdatePolicy &value)
DeploymentConfig & WithBlueGreenUpdatePolicy(BlueGreenUpdatePolicy &&value)
DeploymentConfig & WithAutoRollbackConfiguration(AutoRollbackConfig &&value)
void SetBlueGreenUpdatePolicy(BlueGreenUpdatePolicy &&value)
const AutoRollbackConfig & GetAutoRollbackConfiguration() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API DeploymentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentConfig & WithBlueGreenUpdatePolicy(const BlueGreenUpdatePolicy &value)
Aws::Utils::Json::JsonValue JsonValue