AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
44 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
45 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
46 inline UpdateVPCConnectionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
47 inline UpdateVPCConnectionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
48 inline UpdateVPCConnectionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
50
52
57 inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; }
58 inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; }
59 inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; }
60 inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); }
61 inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); }
63 inline UpdateVPCConnectionRequest& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;}
64 inline UpdateVPCConnectionRequest& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline UpdateVPCConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline UpdateVPCConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline UpdateVPCConnectionRequest& WithName(const char* value) { SetName(value); return *this;}
80
82
85 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
86 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
87 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
88 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
90 inline UpdateVPCConnectionRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
91 inline UpdateVPCConnectionRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
92 inline UpdateVPCConnectionRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
93 inline UpdateVPCConnectionRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
95
97
100 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
101 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
102 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
103 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
106 inline UpdateVPCConnectionRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
107 inline UpdateVPCConnectionRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
108 inline UpdateVPCConnectionRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
110
112
115 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const{ return m_dnsResolvers; }
116 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
117 inline void SetDnsResolvers(const Aws::Vector<Aws::String>& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = value; }
118 inline void SetDnsResolvers(Aws::Vector<Aws::String>&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::move(value); }
120 inline UpdateVPCConnectionRequest& WithDnsResolvers(Aws::Vector<Aws::String>&& value) { SetDnsResolvers(std::move(value)); return *this;}
121 inline UpdateVPCConnectionRequest& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
122 inline UpdateVPCConnectionRequest& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; }
123 inline UpdateVPCConnectionRequest& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
125
127
130 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
131 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
132 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
133 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
134 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
135 inline UpdateVPCConnectionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
136 inline UpdateVPCConnectionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
137 inline UpdateVPCConnectionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
139 private:
140
141 Aws::String m_awsAccountId;
142 bool m_awsAccountIdHasBeenSet = false;
143
144 Aws::String m_vPCConnectionId;
145 bool m_vPCConnectionIdHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_subnetIds;
151 bool m_subnetIdsHasBeenSet = false;
152
153 Aws::Vector<Aws::String> m_securityGroupIds;
154 bool m_securityGroupIdsHasBeenSet = false;
155
156 Aws::Vector<Aws::String> m_dnsResolvers;
157 bool m_dnsResolversHasBeenSet = false;
158
159 Aws::String m_roleArn;
160 bool m_roleArnHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace QuickSight
165} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateVPCConnectionRequest & WithAwsAccountId(const Aws::String &value)
UpdateVPCConnectionRequest & WithName(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & AddSubnetIds(const char *value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
UpdateVPCConnectionRequest & AddSecurityGroupIds(Aws::String &&value)
UpdateVPCConnectionRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
UpdateVPCConnectionRequest & WithRoleArn(const char *value)
UpdateVPCConnectionRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateVPCConnectionRequest & WithVPCConnectionId(const Aws::String &value)
UpdateVPCConnectionRequest & AddSecurityGroupIds(const char *value)
UpdateVPCConnectionRequest & WithDnsResolvers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateVPCConnectionRequest & AddSecurityGroupIds(const Aws::String &value)
UpdateVPCConnectionRequest & AddDnsResolvers(const Aws::String &value)
void SetDnsResolvers(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateVPCConnectionRequest & WithVPCConnectionId(Aws::String &&value)
UpdateVPCConnectionRequest & AddDnsResolvers(Aws::String &&value)
UpdateVPCConnectionRequest & WithName(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateVPCConnectionRequest & WithVPCConnectionId(const char *value)
UpdateVPCConnectionRequest & AddSubnetIds(Aws::String &&value)
UpdateVPCConnectionRequest & AddDnsResolvers(const char *value)
void SetDnsResolvers(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & WithRoleArn(Aws::String &&value)
UpdateVPCConnectionRequest & WithDnsResolvers(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & AddSubnetIds(const Aws::String &value)
UpdateVPCConnectionRequest & WithRoleArn(const Aws::String &value)
UpdateVPCConnectionRequest & WithAwsAccountId(const char *value)
UpdateVPCConnectionRequest & WithName(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateVPCConnectionRequest & WithAwsAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector