AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
52 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
55 inline VpcOutputSettingsDescription& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
56 inline VpcOutputSettingsDescription& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
57 inline VpcOutputSettingsDescription& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
59
61
64 inline const Aws::Vector<Aws::String>& GetNetworkInterfaceIds() const{ return m_networkInterfaceIds; }
65 inline bool NetworkInterfaceIdsHasBeenSet() const { return m_networkInterfaceIdsHasBeenSet; }
66 inline void SetNetworkInterfaceIds(const Aws::Vector<Aws::String>& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = value; }
67 inline void SetNetworkInterfaceIds(Aws::Vector<Aws::String>&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds = std::move(value); }
70 inline VpcOutputSettingsDescription& AddNetworkInterfaceIds(const Aws::String& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
71 inline VpcOutputSettingsDescription& AddNetworkInterfaceIds(Aws::String&& value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(std::move(value)); return *this; }
72 inline VpcOutputSettingsDescription& AddNetworkInterfaceIds(const char* value) { m_networkInterfaceIdsHasBeenSet = true; m_networkInterfaceIds.push_back(value); return *this; }
74
76
80 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
81 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
82 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
83 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
86 inline VpcOutputSettingsDescription& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
87 inline VpcOutputSettingsDescription& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
88 inline VpcOutputSettingsDescription& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
90
92
97 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
98 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
99 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
100 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
102 inline VpcOutputSettingsDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
103 inline VpcOutputSettingsDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
104 inline VpcOutputSettingsDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
105 inline VpcOutputSettingsDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
107 private:
108
109 Aws::Vector<Aws::String> m_availabilityZones;
110 bool m_availabilityZonesHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_networkInterfaceIds;
113 bool m_networkInterfaceIdsHasBeenSet = false;
114
115 Aws::Vector<Aws::String> m_securityGroupIds;
116 bool m_securityGroupIdsHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_subnetIds;
119 bool m_subnetIdsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MediaLive
124} // namespace Aws
VpcOutputSettingsDescription & WithNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
VpcOutputSettingsDescription & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcOutputSettingsDescription & AddAvailabilityZones(const Aws::String &value)
VpcOutputSettingsDescription & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
VpcOutputSettingsDescription & AddSecurityGroupIds(const char *value)
VpcOutputSettingsDescription & AddNetworkInterfaceIds(const Aws::String &value)
VpcOutputSettingsDescription & AddAvailabilityZones(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcOutputSettingsDescription & AddAvailabilityZones(const char *value)
VpcOutputSettingsDescription & AddSubnetIds(const char *value)
VpcOutputSettingsDescription & AddSubnetIds(Aws::String &&value)
VpcOutputSettingsDescription & AddSecurityGroupIds(const Aws::String &value)
VpcOutputSettingsDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcOutputSettingsDescription & AddNetworkInterfaceIds(const char *value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcOutputSettingsDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetNetworkInterfaceIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcOutputSettingsDescription & AddSecurityGroupIds(Aws::String &&value)
VpcOutputSettingsDescription & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNetworkInterfaceIds() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_MEDIALIVE_API VpcOutputSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API VpcOutputSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
VpcOutputSettingsDescription & AddSubnetIds(const Aws::String &value)
VpcOutputSettingsDescription & WithNetworkInterfaceIds(Aws::Vector< Aws::String > &&value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
VpcOutputSettingsDescription & AddNetworkInterfaceIds(Aws::String &&value)
VpcOutputSettingsDescription & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue