AWS SDK for C++  1.9.153
AWS SDK for C++
ClusterConfiguration.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 
33  {
34  public:
39 
40 
44  inline const ExecuteCommandConfiguration& GetExecuteCommandConfiguration() const{ return m_executeCommandConfiguration; }
45 
49  inline bool ExecuteCommandConfigurationHasBeenSet() const { return m_executeCommandConfigurationHasBeenSet; }
50 
54  inline void SetExecuteCommandConfiguration(const ExecuteCommandConfiguration& value) { m_executeCommandConfigurationHasBeenSet = true; m_executeCommandConfiguration = value; }
55 
59  inline void SetExecuteCommandConfiguration(ExecuteCommandConfiguration&& value) { m_executeCommandConfigurationHasBeenSet = true; m_executeCommandConfiguration = std::move(value); }
60 
64  inline ClusterConfiguration& WithExecuteCommandConfiguration(const ExecuteCommandConfiguration& value) { SetExecuteCommandConfiguration(value); return *this;}
65 
69  inline ClusterConfiguration& WithExecuteCommandConfiguration(ExecuteCommandConfiguration&& value) { SetExecuteCommandConfiguration(std::move(value)); return *this;}
70 
71  private:
72 
73  ExecuteCommandConfiguration m_executeCommandConfiguration;
74  bool m_executeCommandConfigurationHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace ECS
79 } // namespace Aws
Aws::ECS::Model::ClusterConfiguration::ExecuteCommandConfigurationHasBeenSet
bool ExecuteCommandConfigurationHasBeenSet() const
Definition: ClusterConfiguration.h:49
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ClusterConfiguration::operator=
ClusterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ClusterConfiguration::ClusterConfiguration
ClusterConfiguration()
Aws::ECS::Model::ExecuteCommandConfiguration
Definition: ExecuteCommandConfiguration.h:35
Aws::ECS::Model::ClusterConfiguration::SetExecuteCommandConfiguration
void SetExecuteCommandConfiguration(ExecuteCommandConfiguration &&value)
Definition: ClusterConfiguration.h:59
Aws::ECS::Model::ClusterConfiguration
Definition: ClusterConfiguration.h:33
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ClusterConfiguration::ClusterConfiguration
ClusterConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ClusterConfiguration::GetExecuteCommandConfiguration
const ExecuteCommandConfiguration & GetExecuteCommandConfiguration() const
Definition: ClusterConfiguration.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::ClusterConfiguration::WithExecuteCommandConfiguration
ClusterConfiguration & WithExecuteCommandConfiguration(ExecuteCommandConfiguration &&value)
Definition: ClusterConfiguration.h:69
ExecuteCommandConfiguration.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ClusterConfiguration::SetExecuteCommandConfiguration
void SetExecuteCommandConfiguration(const ExecuteCommandConfiguration &value)
Definition: ClusterConfiguration.h:54
Aws::ECS::Model::ClusterConfiguration::WithExecuteCommandConfiguration
ClusterConfiguration & WithExecuteCommandConfiguration(const ExecuteCommandConfiguration &value)
Definition: ClusterConfiguration.h:64
ECS_EXPORTS.h
Aws::ECS::Model::ClusterConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const