AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
NetworkConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/AwsVpcConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
29 public:
30 AWS_ECS_API NetworkConfiguration() = default;
34
36
41 inline const AwsVpcConfiguration& GetAwsvpcConfiguration() const { return m_awsvpcConfiguration; }
42 inline bool AwsvpcConfigurationHasBeenSet() const { return m_awsvpcConfigurationHasBeenSet; }
43 template <typename AwsvpcConfigurationT = AwsVpcConfiguration>
44 void SetAwsvpcConfiguration(AwsvpcConfigurationT&& value) {
45 m_awsvpcConfigurationHasBeenSet = true;
46 m_awsvpcConfiguration = std::forward<AwsvpcConfigurationT>(value);
47 }
48 template <typename AwsvpcConfigurationT = AwsVpcConfiguration>
49 NetworkConfiguration& WithAwsvpcConfiguration(AwsvpcConfigurationT&& value) {
50 SetAwsvpcConfiguration(std::forward<AwsvpcConfigurationT>(value));
51 return *this;
52 }
54 private:
55 AwsVpcConfiguration m_awsvpcConfiguration;
56 bool m_awsvpcConfigurationHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ECS
61} // namespace Aws
AWS_ECS_API NetworkConfiguration()=default
void SetAwsvpcConfiguration(AwsvpcConfigurationT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
NetworkConfiguration & WithAwsvpcConfiguration(AwsvpcConfigurationT &&value)
const AwsVpcConfiguration & GetAwsvpcConfiguration() const
AWS_ECS_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue