AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateVPCConnectionRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API UpdateVPCConnectionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateVPCConnection"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template<typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
45 template<typename AwsAccountIdT = Aws::String>
46 UpdateVPCConnectionRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
48
50
55 inline const Aws::String& GetVPCConnectionId() const { return m_vPCConnectionId; }
56 inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; }
57 template<typename VPCConnectionIdT = Aws::String>
58 void SetVPCConnectionId(VPCConnectionIdT&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::forward<VPCConnectionIdT>(value); }
59 template<typename VPCConnectionIdT = Aws::String>
60 UpdateVPCConnectionRequest& WithVPCConnectionId(VPCConnectionIdT&& value) { SetVPCConnectionId(std::forward<VPCConnectionIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 template<typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 UpdateVPCConnectionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74
76
79 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
80 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
81 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
82 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
83 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
84 UpdateVPCConnectionRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
85 template<typename SubnetIdsT = Aws::String>
86 UpdateVPCConnectionRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
88
90
93 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
94 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
95 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
96 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
97 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
98 UpdateVPCConnectionRequest& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
99 template<typename SecurityGroupIdsT = Aws::String>
100 UpdateVPCConnectionRequest& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
102
104
107 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const { return m_dnsResolvers; }
108 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
109 template<typename DnsResolversT = Aws::Vector<Aws::String>>
110 void SetDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::forward<DnsResolversT>(value); }
111 template<typename DnsResolversT = Aws::Vector<Aws::String>>
112 UpdateVPCConnectionRequest& WithDnsResolvers(DnsResolversT&& value) { SetDnsResolvers(std::forward<DnsResolversT>(value)); return *this;}
113 template<typename DnsResolversT = Aws::String>
114 UpdateVPCConnectionRequest& AddDnsResolvers(DnsResolversT&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.emplace_back(std::forward<DnsResolversT>(value)); return *this; }
116
118
121 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
122 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
123 template<typename RoleArnT = Aws::String>
124 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
125 template<typename RoleArnT = Aws::String>
126 UpdateVPCConnectionRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
128 private:
129
130 Aws::String m_awsAccountId;
131 bool m_awsAccountIdHasBeenSet = false;
132
133 Aws::String m_vPCConnectionId;
134 bool m_vPCConnectionIdHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_subnetIds;
140 bool m_subnetIdsHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_securityGroupIds;
143 bool m_securityGroupIdsHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_dnsResolvers;
146 bool m_dnsResolversHasBeenSet = false;
147
148 Aws::String m_roleArn;
149 bool m_roleArnHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace QuickSight
154} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateVPCConnectionRequest & WithRoleArn(RoleArnT &&value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
UpdateVPCConnectionRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
UpdateVPCConnectionRequest & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
UpdateVPCConnectionRequest & WithDnsResolvers(DnsResolversT &&value)
UpdateVPCConnectionRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateVPCConnectionRequest & WithName(NameT &&value)
UpdateVPCConnectionRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateVPCConnectionRequest & AddDnsResolvers(DnsResolversT &&value)
AWS_QUICKSIGHT_API UpdateVPCConnectionRequest()=default
UpdateVPCConnectionRequest & WithSubnetIds(SubnetIdsT &&value)
UpdateVPCConnectionRequest & WithVPCConnectionId(VPCConnectionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector