AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcOutputSettings.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
36 {
37 public:
38 AWS_MEDIALIVE_API VpcOutputSettings();
39 AWS_MEDIALIVE_API VpcOutputSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::Vector<Aws::String>& GetPublicAddressAllocationIds() const{ return m_publicAddressAllocationIds; }
52 inline bool PublicAddressAllocationIdsHasBeenSet() const { return m_publicAddressAllocationIdsHasBeenSet; }
53 inline void SetPublicAddressAllocationIds(const Aws::Vector<Aws::String>& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds = value; }
54 inline void SetPublicAddressAllocationIds(Aws::Vector<Aws::String>&& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds = std::move(value); }
57 inline VpcOutputSettings& AddPublicAddressAllocationIds(const Aws::String& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds.push_back(value); return *this; }
58 inline VpcOutputSettings& AddPublicAddressAllocationIds(Aws::String&& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds.push_back(std::move(value)); return *this; }
59 inline VpcOutputSettings& AddPublicAddressAllocationIds(const char* value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds.push_back(value); return *this; }
61
63
69 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
70 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
71 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
72 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
74 inline VpcOutputSettings& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
75 inline VpcOutputSettings& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
76 inline VpcOutputSettings& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
77 inline VpcOutputSettings& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
79
81
86 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
87 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
88 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
89 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
90 inline VpcOutputSettings& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
91 inline VpcOutputSettings& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
92 inline VpcOutputSettings& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
93 inline VpcOutputSettings& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
94 inline VpcOutputSettings& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
96 private:
97
98 Aws::Vector<Aws::String> m_publicAddressAllocationIds;
99 bool m_publicAddressAllocationIdsHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_securityGroupIds;
102 bool m_securityGroupIdsHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_subnetIds;
105 bool m_subnetIdsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MediaLive
110} // namespace Aws
VpcOutputSettings & AddSubnetIds(const char *value)
VpcOutputSettings & WithPublicAddressAllocationIds(Aws::Vector< Aws::String > &&value)
VpcOutputSettings & AddSubnetIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcOutputSettings & AddSecurityGroupIds(const Aws::String &value)
VpcOutputSettings & AddPublicAddressAllocationIds(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcOutputSettings & AddSecurityGroupIds(const char *value)
const Aws::Vector< Aws::String > & GetPublicAddressAllocationIds() const
void SetPublicAddressAllocationIds(Aws::Vector< Aws::String > &&value)
VpcOutputSettings & WithPublicAddressAllocationIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetPublicAddressAllocationIds(const Aws::Vector< Aws::String > &value)
VpcOutputSettings & AddPublicAddressAllocationIds(const Aws::String &value)
VpcOutputSettings & AddSecurityGroupIds(Aws::String &&value)
AWS_MEDIALIVE_API VpcOutputSettings(Aws::Utils::Json::JsonView jsonValue)
VpcOutputSettings & AddSubnetIds(Aws::String &&value)
VpcOutputSettings & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API VpcOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcOutputSettings & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcOutputSettings & AddPublicAddressAllocationIds(Aws::String &&value)
VpcOutputSettings & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcOutputSettings & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(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