AWS SDK for C++  1.9.160
AWS SDK for C++
DeploymentController.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
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 ECS
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
60  inline const DeploymentControllerType& GetType() const{ return m_type; }
61 
78  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 
96  inline void SetType(const DeploymentControllerType& value) { m_typeHasBeenSet = true; m_type = value; }
97 
114  inline void SetType(DeploymentControllerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
115 
132  inline DeploymentController& WithType(const DeploymentControllerType& value) { SetType(value); return *this;}
133 
150  inline DeploymentController& WithType(DeploymentControllerType&& value) { SetType(std::move(value)); return *this;}
151 
152  private:
153 
155  bool m_typeHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace ECS
160 } // namespace Aws
Aws::ECS::Model::DeploymentController::WithType
DeploymentController & WithType(DeploymentControllerType &&value)
Definition: DeploymentController.h:150
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::DeploymentController::WithType
DeploymentController & WithType(const DeploymentControllerType &value)
Definition: DeploymentController.h:132
Aws::ECS::Model::DeploymentController::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DeploymentControllerType.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECS::Model::DeploymentController::DeploymentController
DeploymentController(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::DeploymentController::SetType
void SetType(const DeploymentControllerType &value)
Definition: DeploymentController.h:96
Aws::ECS::Model::DeploymentController::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DeploymentController.h:78
Aws::ECS::Model::DeploymentController::operator=
DeploymentController & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::DeploymentController::GetType
const DeploymentControllerType & GetType() const
Definition: DeploymentController.h:60
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::DeploymentController::DeploymentController
DeploymentController()
Aws::ECS::Model::DeploymentControllerType
DeploymentControllerType
Definition: DeploymentControllerType.h:17
Aws::ECS::Model::DeploymentController
Definition: DeploymentController.h:36
Aws::ECS::Model::DeploymentController::SetType
void SetType(DeploymentControllerType &&value)
Definition: DeploymentController.h:114
ECS_EXPORTS.h