AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVPCConnectionRequest.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 <aws/quicksight/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QUICKSIGHT_API CreateVPCConnectionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateVPCConnection"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
47 inline CreateVPCConnectionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
48 inline CreateVPCConnectionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline CreateVPCConnectionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
58 inline const Aws::String& GetVPCConnectionId() const{ return m_vPCConnectionId; }
59 inline bool VPCConnectionIdHasBeenSet() const { return m_vPCConnectionIdHasBeenSet; }
60 inline void SetVPCConnectionId(const Aws::String& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = value; }
61 inline void SetVPCConnectionId(Aws::String&& value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId = std::move(value); }
62 inline void SetVPCConnectionId(const char* value) { m_vPCConnectionIdHasBeenSet = true; m_vPCConnectionId.assign(value); }
64 inline CreateVPCConnectionRequest& WithVPCConnectionId(Aws::String&& value) { SetVPCConnectionId(std::move(value)); return *this;}
65 inline CreateVPCConnectionRequest& WithVPCConnectionId(const char* value) { SetVPCConnectionId(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline CreateVPCConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline CreateVPCConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline CreateVPCConnectionRequest& WithName(const char* value) { SetName(value); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
87 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
88 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
89 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
91 inline CreateVPCConnectionRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
92 inline CreateVPCConnectionRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
93 inline CreateVPCConnectionRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
94 inline CreateVPCConnectionRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
96
98
101 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
102 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
103 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
104 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
107 inline CreateVPCConnectionRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
108 inline CreateVPCConnectionRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
109 inline CreateVPCConnectionRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
111
113
116 inline const Aws::Vector<Aws::String>& GetDnsResolvers() const{ return m_dnsResolvers; }
117 inline bool DnsResolversHasBeenSet() const { return m_dnsResolversHasBeenSet; }
118 inline void SetDnsResolvers(const Aws::Vector<Aws::String>& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = value; }
119 inline void SetDnsResolvers(Aws::Vector<Aws::String>&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers = std::move(value); }
121 inline CreateVPCConnectionRequest& WithDnsResolvers(Aws::Vector<Aws::String>&& value) { SetDnsResolvers(std::move(value)); return *this;}
122 inline CreateVPCConnectionRequest& AddDnsResolvers(const Aws::String& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
123 inline CreateVPCConnectionRequest& AddDnsResolvers(Aws::String&& value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(std::move(value)); return *this; }
124 inline CreateVPCConnectionRequest& AddDnsResolvers(const char* value) { m_dnsResolversHasBeenSet = true; m_dnsResolvers.push_back(value); return *this; }
126
128
131 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
132 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
133 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
134 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
135 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
136 inline CreateVPCConnectionRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
137 inline CreateVPCConnectionRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
138 inline CreateVPCConnectionRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
140
142
146 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
147 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
148 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
149 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
150 inline CreateVPCConnectionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
151 inline CreateVPCConnectionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
152 inline CreateVPCConnectionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
153 inline CreateVPCConnectionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
155 private:
156
157 Aws::String m_awsAccountId;
158 bool m_awsAccountIdHasBeenSet = false;
159
160 Aws::String m_vPCConnectionId;
161 bool m_vPCConnectionIdHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 Aws::Vector<Aws::String> m_subnetIds;
167 bool m_subnetIdsHasBeenSet = false;
168
169 Aws::Vector<Aws::String> m_securityGroupIds;
170 bool m_securityGroupIdsHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_dnsResolvers;
173 bool m_dnsResolversHasBeenSet = false;
174
175 Aws::String m_roleArn;
176 bool m_roleArnHasBeenSet = false;
177
178 Aws::Vector<Tag> m_tags;
179 bool m_tagsHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace QuickSight
184} // namespace Aws
CreateVPCConnectionRequest & WithRoleArn(const char *value)
CreateVPCConnectionRequest & WithRoleArn(Aws::String &&value)
void SetDnsResolvers(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & WithName(const Aws::String &value)
CreateVPCConnectionRequest & WithName(Aws::String &&value)
CreateVPCConnectionRequest & WithRoleArn(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDnsResolvers() const
CreateVPCConnectionRequest & WithVPCConnectionId(Aws::String &&value)
CreateVPCConnectionRequest & AddDnsResolvers(const Aws::String &value)
CreateVPCConnectionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateVPCConnectionRequest & AddSecurityGroupIds(const Aws::String &value)
CreateVPCConnectionRequest & WithName(const char *value)
void SetDnsResolvers(const Aws::Vector< Aws::String > &value)
CreateVPCConnectionRequest & AddSubnetIds(Aws::String &&value)
CreateVPCConnectionRequest & WithAwsAccountId(const char *value)
CreateVPCConnectionRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateVPCConnectionRequest & WithAwsAccountId(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & WithDnsResolvers(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & WithVPCConnectionId(const char *value)
virtual const char * GetServiceRequestName() const override
CreateVPCConnectionRequest & AddSecurityGroupIds(Aws::String &&value)
CreateVPCConnectionRequest & WithAwsAccountId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateVPCConnectionRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & WithDnsResolvers(const Aws::Vector< Aws::String > &value)
CreateVPCConnectionRequest & AddSecurityGroupIds(const char *value)
CreateVPCConnectionRequest & AddSubnetIds(const char *value)
CreateVPCConnectionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateVPCConnectionRequest & AddDnsResolvers(const char *value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateVPCConnectionRequest & AddDnsResolvers(Aws::String &&value)
CreateVPCConnectionRequest & WithVPCConnectionId(const Aws::String &value)
CreateVPCConnectionRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
CreateVPCConnectionRequest & AddTags(const Tag &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateVPCConnectionRequest & AddSubnetIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector