AWS SDK for C++  1.9.132
AWS SDK for C++
VpcDestinationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
46 
50  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
51 
55  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
56 
60  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
61 
65  inline VpcDestinationSummary& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
66 
70  inline VpcDestinationSummary& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
71 
75  inline VpcDestinationSummary& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
76 
80  inline VpcDestinationSummary& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
81 
85  inline VpcDestinationSummary& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
86 
87 
91  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
92 
96  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
97 
101  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
102 
106  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
107 
111  inline VpcDestinationSummary& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
112 
116  inline VpcDestinationSummary& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
117 
121  inline VpcDestinationSummary& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
122 
126  inline VpcDestinationSummary& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
127 
131  inline VpcDestinationSummary& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
132 
133 
137  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
138 
142  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
143 
147  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
148 
152  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
153 
157  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
158 
162  inline VpcDestinationSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
163 
167  inline VpcDestinationSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
168 
172  inline VpcDestinationSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;}
173 
174 
179  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
180 
185  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
186 
191  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
192 
197  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
198 
203  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
204 
209  inline VpcDestinationSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
210 
215  inline VpcDestinationSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
216 
221  inline VpcDestinationSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
222 
223  private:
224 
225  Aws::Vector<Aws::String> m_subnetIds;
226  bool m_subnetIdsHasBeenSet;
227 
228  Aws::Vector<Aws::String> m_securityGroups;
229  bool m_securityGroupsHasBeenSet;
230 
231  Aws::String m_vpcId;
232  bool m_vpcIdHasBeenSet;
233 
234  Aws::String m_roleArn;
235  bool m_roleArnHasBeenSet;
236  };
237 
238 } // namespace Model
239 } // namespace IoT
240 } // namespace Aws
Aws::IoT::Model::VpcDestinationSummary::WithSecurityGroups
VpcDestinationSummary & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: VpcDestinationSummary.h:116
Aws::IoT::Model::VpcDestinationSummary::operator=
VpcDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::VpcDestinationSummary::WithSecurityGroups
VpcDestinationSummary & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: VpcDestinationSummary.h:111
Aws::IoT::Model::VpcDestinationSummary::AddSubnetIds
VpcDestinationSummary & AddSubnetIds(Aws::String &&value)
Definition: VpcDestinationSummary.h:80
Aws::IoT::Model::VpcDestinationSummary::WithSubnetIds
VpcDestinationSummary & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcDestinationSummary.h:65
Aws::IoT::Model::VpcDestinationSummary::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: VpcDestinationSummary.h:179
Aws::IoT::Model::VpcDestinationSummary::AddSubnetIds
VpcDestinationSummary & AddSubnetIds(const Aws::String &value)
Definition: VpcDestinationSummary.h:75
Aws::IoT::Model::VpcDestinationSummary::WithSubnetIds
VpcDestinationSummary & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcDestinationSummary.h:70
Aws::IoT::Model::VpcDestinationSummary::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: VpcDestinationSummary.h:185
Aws::IoT::Model::VpcDestinationSummary::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcDestinationSummary.h:55
Aws::IoT::Model::VpcDestinationSummary::AddSubnetIds
VpcDestinationSummary & AddSubnetIds(const char *value)
Definition: VpcDestinationSummary.h:85
Aws::IoT::Model::VpcDestinationSummary::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcDestinationSummary.h:137
Aws::IoT::Model::VpcDestinationSummary::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VpcDestinationSummary.h:50
Aws::IoT::Model::VpcDestinationSummary::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: VpcDestinationSummary.h:101
Aws::IoT::Model::VpcDestinationSummary::VpcDestinationSummary
VpcDestinationSummary()
Aws::IoT::Model::VpcDestinationSummary::AddSecurityGroups
VpcDestinationSummary & AddSecurityGroups(const char *value)
Definition: VpcDestinationSummary.h:131
Aws::IoT::Model::VpcDestinationSummary::SetVpcId
void SetVpcId(const char *value)
Definition: VpcDestinationSummary.h:157
Aws::IoT::Model::VpcDestinationSummary::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: VpcDestinationSummary.h:96
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::VpcDestinationSummary::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: VpcDestinationSummary.h:91
Aws::IoT::Model::VpcDestinationSummary::VpcDestinationSummary
VpcDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::VpcDestinationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::VpcDestinationSummary::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: VpcDestinationSummary.h:191
Aws::IoT::Model::VpcDestinationSummary::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcDestinationSummary.h:60
Aws::IoT::Model::VpcDestinationSummary::WithVpcId
VpcDestinationSummary & WithVpcId(const Aws::String &value)
Definition: VpcDestinationSummary.h:162
Aws::IoT::Model::VpcDestinationSummary::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcDestinationSummary.h:152
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::VpcDestinationSummary::WithVpcId
VpcDestinationSummary & WithVpcId(const char *value)
Definition: VpcDestinationSummary.h:172
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::VpcDestinationSummary::AddSecurityGroups
VpcDestinationSummary & AddSecurityGroups(const Aws::String &value)
Definition: VpcDestinationSummary.h:121
Aws::IoT::Model::VpcDestinationSummary::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcDestinationSummary.h:147
Aws::IoT::Model::VpcDestinationSummary::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: VpcDestinationSummary.h:197
Aws::IoT::Model::VpcDestinationSummary
Definition: VpcDestinationSummary.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::VpcDestinationSummary::WithRoleArn
VpcDestinationSummary & WithRoleArn(Aws::String &&value)
Definition: VpcDestinationSummary.h:215
Aws::IoT::Model::VpcDestinationSummary::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: VpcDestinationSummary.h:106
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::VpcDestinationSummary::AddSecurityGroups
VpcDestinationSummary & AddSecurityGroups(Aws::String &&value)
Definition: VpcDestinationSummary.h:126
Aws::IoT::Model::VpcDestinationSummary::WithRoleArn
VpcDestinationSummary & WithRoleArn(const char *value)
Definition: VpcDestinationSummary.h:221
Aws::IoT::Model::VpcDestinationSummary::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VpcDestinationSummary.h:45
Aws::IoT::Model::VpcDestinationSummary::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcDestinationSummary.h:142
Aws::IoT::Model::VpcDestinationSummary::WithRoleArn
VpcDestinationSummary & WithRoleArn(const Aws::String &value)
Definition: VpcDestinationSummary.h:209
Aws::IoT::Model::VpcDestinationSummary::WithVpcId
VpcDestinationSummary & WithVpcId(Aws::String &&value)
Definition: VpcDestinationSummary.h:167
Aws::IoT::Model::VpcDestinationSummary::SetRoleArn
void SetRoleArn(const char *value)
Definition: VpcDestinationSummary.h:203
IoT_EXPORTS.h