AWS SDK for C++  1.9.40
AWS SDK for C++
NetworkConfiguration.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 
45  inline const AwsVpcConfiguration& GetAwsvpcConfiguration() const{ return m_awsvpcConfiguration; }
46 
51  inline bool AwsvpcConfigurationHasBeenSet() const { return m_awsvpcConfigurationHasBeenSet; }
52 
57  inline void SetAwsvpcConfiguration(const AwsVpcConfiguration& value) { m_awsvpcConfigurationHasBeenSet = true; m_awsvpcConfiguration = value; }
58 
63  inline void SetAwsvpcConfiguration(AwsVpcConfiguration&& value) { m_awsvpcConfigurationHasBeenSet = true; m_awsvpcConfiguration = std::move(value); }
64 
69  inline NetworkConfiguration& WithAwsvpcConfiguration(const AwsVpcConfiguration& value) { SetAwsvpcConfiguration(value); return *this;}
70 
75  inline NetworkConfiguration& WithAwsvpcConfiguration(AwsVpcConfiguration&& value) { SetAwsvpcConfiguration(std::move(value)); return *this;}
76 
77  private:
78 
79  AwsVpcConfiguration m_awsvpcConfiguration;
80  bool m_awsvpcConfigurationHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace ECS
85 } // namespace Aws
Aws::ECS::Model::NetworkConfiguration::NetworkConfiguration
NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::AwsVpcConfiguration
Definition: AwsVpcConfiguration.h:35
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::NetworkConfiguration::AwsvpcConfigurationHasBeenSet
bool AwsvpcConfigurationHasBeenSet() const
Definition: NetworkConfiguration.h:51
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::NetworkConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AwsVpcConfiguration.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::NetworkConfiguration::WithAwsvpcConfiguration
NetworkConfiguration & WithAwsvpcConfiguration(AwsVpcConfiguration &&value)
Definition: NetworkConfiguration.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ECS::Model::NetworkConfiguration::GetAwsvpcConfiguration
const AwsVpcConfiguration & GetAwsvpcConfiguration() const
Definition: NetworkConfiguration.h:45
Aws::ECS::Model::NetworkConfiguration::NetworkConfiguration
NetworkConfiguration()
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::NetworkConfiguration::WithAwsvpcConfiguration
NetworkConfiguration & WithAwsvpcConfiguration(const AwsVpcConfiguration &value)
Definition: NetworkConfiguration.h:69
Aws::ECS::Model::NetworkConfiguration::SetAwsvpcConfiguration
void SetAwsvpcConfiguration(AwsVpcConfiguration &&value)
Definition: NetworkConfiguration.h:63
ECS_EXPORTS.h
Aws::ECS::Model::NetworkConfiguration::SetAwsvpcConfiguration
void SetAwsvpcConfiguration(const AwsVpcConfiguration &value)
Definition: NetworkConfiguration.h:57
Aws::ECS::Model::NetworkConfiguration::operator=
NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)