AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribedWebAppVpcConfig.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Transfer {
21namespace Model {
22
31 public:
32 AWS_TRANSFER_API DescribedWebAppVpcConfig() = default;
35 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
44 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
45 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
46 void SetSubnetIds(SubnetIdsT&& value) {
47 m_subnetIdsHasBeenSet = true;
48 m_subnetIds = std::forward<SubnetIdsT>(value);
49 }
50 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
52 SetSubnetIds(std::forward<SubnetIdsT>(value));
53 return *this;
54 }
55 template <typename SubnetIdsT = Aws::String>
57 m_subnetIdsHasBeenSet = true;
58 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetVpcId() const { return m_vpcId; }
68 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
69 template <typename VpcIdT = Aws::String>
70 void SetVpcId(VpcIdT&& value) {
71 m_vpcIdHasBeenSet = true;
72 m_vpcId = std::forward<VpcIdT>(value);
73 }
74 template <typename VpcIdT = Aws::String>
76 SetVpcId(std::forward<VpcIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
86 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
87 template <typename VpcEndpointIdT = Aws::String>
88 void SetVpcEndpointId(VpcEndpointIdT&& value) {
89 m_vpcEndpointIdHasBeenSet = true;
90 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
91 }
92 template <typename VpcEndpointIdT = Aws::String>
94 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
95 return *this;
96 }
98 private:
99 Aws::Vector<Aws::String> m_subnetIds;
100
101 Aws::String m_vpcId;
102
103 Aws::String m_vpcEndpointId;
104 bool m_subnetIdsHasBeenSet = false;
105 bool m_vpcIdHasBeenSet = false;
106 bool m_vpcEndpointIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Transfer
111} // namespace Aws
DescribedWebAppVpcConfig & WithVpcEndpointId(VpcEndpointIdT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_TRANSFER_API DescribedWebAppVpcConfig()=default
AWS_TRANSFER_API DescribedWebAppVpcConfig(Aws::Utils::Json::JsonView jsonValue)
DescribedWebAppVpcConfig & WithVpcId(VpcIdT &&value)
DescribedWebAppVpcConfig & AddSubnetIds(SubnetIdsT &&value)
DescribedWebAppVpcConfig & WithSubnetIds(SubnetIdsT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API DescribedWebAppVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue