AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename PublicAddressAllocationIdsT = Aws::Vector<Aws::String>>
54 void SetPublicAddressAllocationIds(PublicAddressAllocationIdsT&& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds = std::forward<PublicAddressAllocationIdsT>(value); }
55 template<typename PublicAddressAllocationIdsT = Aws::Vector<Aws::String>>
56 VpcOutputSettings& WithPublicAddressAllocationIds(PublicAddressAllocationIdsT&& value) { SetPublicAddressAllocationIds(std::forward<PublicAddressAllocationIdsT>(value)); return *this;}
57 template<typename PublicAddressAllocationIdsT = Aws::String>
58 VpcOutputSettings& AddPublicAddressAllocationIds(PublicAddressAllocationIdsT&& value) { m_publicAddressAllocationIdsHasBeenSet = true; m_publicAddressAllocationIds.emplace_back(std::forward<PublicAddressAllocationIdsT>(value)); return *this; }
60
62
68 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
69 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
70 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
71 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
72 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
73 VpcOutputSettings& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
74 template<typename SecurityGroupIdsT = Aws::String>
75 VpcOutputSettings& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
77
79
84 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
85 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
86 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
87 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
88 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
89 VpcOutputSettings& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
90 template<typename SubnetIdsT = Aws::String>
91 VpcOutputSettings& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
93 private:
94
95 Aws::Vector<Aws::String> m_publicAddressAllocationIds;
96 bool m_publicAddressAllocationIdsHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_securityGroupIds;
99 bool m_securityGroupIdsHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_subnetIds;
102 bool m_subnetIdsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MediaLive
107} // namespace Aws
VpcOutputSettings & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcOutputSettings & WithSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetPublicAddressAllocationIds() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
VpcOutputSettings & AddSubnetIds(SubnetIdsT &&value)
VpcOutputSettings & AddPublicAddressAllocationIds(PublicAddressAllocationIdsT &&value)
void SetPublicAddressAllocationIds(PublicAddressAllocationIdsT &&value)
VpcOutputSettings & WithPublicAddressAllocationIds(PublicAddressAllocationIdsT &&value)
AWS_MEDIALIVE_API VpcOutputSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcOutputSettings & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_MEDIALIVE_API VpcOutputSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API VpcOutputSettings()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue