AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
VpcOutputSettingsDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API VpcOutputSettingsDescription() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
44 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
45 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
46 void SetAvailabilityZones(AvailabilityZonesT&& value) {
47 m_availabilityZonesHasBeenSet = true;
48 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
49 }
50 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
52 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
53 return *this;
54 }
55 template <typename AvailabilityZonesT = Aws::String>
57 m_availabilityZonesHasBeenSet = true;
58 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
68 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
69 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
70 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) {
71 m_networkInterfaceIdsHasBeenSet = true;
72 m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value);
73 }
74 template <typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
76 SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value));
77 return *this;
78 }
79 template <typename NetworkInterfaceIdsT = Aws::String>
81 m_networkInterfaceIdsHasBeenSet = true;
82 m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
93 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
94 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
95 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
96 m_securityGroupIdsHasBeenSet = true;
97 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
98 }
99 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
101 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
102 return *this;
103 }
104 template <typename SecurityGroupIdsT = Aws::String>
106 m_securityGroupIdsHasBeenSet = true;
107 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
108 return *this;
109 }
111
113
118 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
119 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
120 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
121 void SetSubnetIds(SubnetIdsT&& value) {
122 m_subnetIdsHasBeenSet = true;
123 m_subnetIds = std::forward<SubnetIdsT>(value);
124 }
125 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
127 SetSubnetIds(std::forward<SubnetIdsT>(value));
128 return *this;
129 }
130 template <typename SubnetIdsT = Aws::String>
132 m_subnetIdsHasBeenSet = true;
133 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
134 return *this;
135 }
137 private:
138 Aws::Vector<Aws::String> m_availabilityZones;
139
140 Aws::Vector<Aws::String> m_networkInterfaceIds;
141
142 Aws::Vector<Aws::String> m_securityGroupIds;
143
144 Aws::Vector<Aws::String> m_subnetIds;
145 bool m_availabilityZonesHasBeenSet = false;
146 bool m_networkInterfaceIdsHasBeenSet = false;
147 bool m_securityGroupIdsHasBeenSet = false;
148 bool m_subnetIdsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace MediaLive
153} // namespace Aws
VpcOutputSettingsDescription & AddNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
VpcOutputSettingsDescription & WithSecurityGroupIds(SecurityGroupIdsT &&value)
VpcOutputSettingsDescription & WithNetworkInterfaceIds(NetworkInterfaceIdsT &&value)
VpcOutputSettingsDescription & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_MEDIALIVE_API VpcOutputSettingsDescription()=default
VpcOutputSettingsDescription & AddAvailabilityZones(AvailabilityZonesT &&value)
VpcOutputSettingsDescription & WithSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcOutputSettingsDescription & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
AWS_MEDIALIVE_API VpcOutputSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API VpcOutputSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcOutputSettingsDescription & WithAvailabilityZones(AvailabilityZonesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue