AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
VpcOutputSettingsDescription.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API VpcOutputSettingsDescription() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
50 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
51 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
52 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
53 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
54 VpcOutputSettingsDescription& WithAvailabilityZones(AvailabilityZonesT&& value) { SetAvailabilityZones(std::forward<AvailabilityZonesT>(value)); return *this;}
55 template<typename AvailabilityZonesT = Aws::String>
56 VpcOutputSettingsDescription& AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value)); return *this; }
58
60
63 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const { return m_networkInterfaceIds; }
64 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
65 template<typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
66 void SetNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::forward<NetworkInterfaceIdsT>(value); }
67 template<typename NetworkInterfaceIdsT = Aws::Vector<Aws::String>>
68 VpcOutputSettingsDescription& WithNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { SetNetworkInterfaceIds(std::forward<NetworkInterfaceIdsT>(value)); return *this;}
69 template<typename NetworkInterfaceIdsT = Aws::String>
70 VpcOutputSettingsDescription& AddNetworkInterfaceIds(NetworkInterfaceIdsT&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.emplace_back(std::forward<NetworkInterfaceIdsT>(value)); return *this; }
72
74
78 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
79 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
80 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
81 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
82 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
83 VpcOutputSettingsDescription& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
84 template<typename SecurityGroupIdsT = Aws::String>
85 VpcOutputSettingsDescription& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
87
89
94 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
95 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
96 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
97 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
98 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
99 VpcOutputSettingsDescription& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
100 template<typename SubnetIdsT = Aws::String>
101 VpcOutputSettingsDescription& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
103 private:
104
105 Aws::Vector<Aws::String> m_availabilityZones;
106 bool m_availabilityZonesHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_networkInterfaceIds;
109 bool m_networkInterfaceIdsHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_securityGroupIds;
112 bool m_securityGroupIdsHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_subnetIds;
115 bool m_subnetIdsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MediaLive
120} // 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