AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
UpdateWebAppVpcConfig.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/WebAppVpcEndpointIpAddressType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer {
22namespace Model {
23
32 public:
33 AWS_TRANSFER_API UpdateWebAppVpcConfig() = default;
36 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
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>>
51 UpdateWebAppVpcConfig& WithSubnetIds(SubnetIdsT&& value) {
52 SetSubnetIds(std::forward<SubnetIdsT>(value));
53 return *this;
54 }
55 template <typename SubnetIdsT = Aws::String>
56 UpdateWebAppVpcConfig& AddSubnetIds(SubnetIdsT&& value) {
57 m_subnetIdsHasBeenSet = true;
58 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
59 return *this;
60 }
62
64
68 inline WebAppVpcEndpointIpAddressType GetIpAddressType() const { return m_ipAddressType; }
69 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
71 m_ipAddressTypeHasBeenSet = true;
72 m_ipAddressType = value;
73 }
75 SetIpAddressType(value);
76 return *this;
77 }
79 private:
80 Aws::Vector<Aws::String> m_subnetIds;
81
83 bool m_subnetIdsHasBeenSet = false;
84 bool m_ipAddressTypeHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Transfer
89} // namespace Aws
WebAppVpcEndpointIpAddressType GetIpAddressType() const
UpdateWebAppVpcConfig & AddSubnetIds(SubnetIdsT &&value)
UpdateWebAppVpcConfig & WithSubnetIds(SubnetIdsT &&value)
UpdateWebAppVpcConfig & WithIpAddressType(WebAppVpcEndpointIpAddressType value)
AWS_TRANSFER_API UpdateWebAppVpcConfig()=default
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API UpdateWebAppVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API UpdateWebAppVpcConfig(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddressType(WebAppVpcEndpointIpAddressType value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue