AWS SDK for C++  1.9.153
AWS SDK for C++
AwsEc2SecurityGroupUserIdGroupPair.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetGroupId() const{ return m_groupId; }
45 
49  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
50 
54  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
55 
59  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
60 
64  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
65 
69  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
70 
74  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
75 
79  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupId(const char* value) { SetGroupId(value); return *this;}
80 
81 
85  inline const Aws::String& GetGroupName() const{ return m_groupName; }
86 
90  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
91 
95  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
96 
100  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
101 
105  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
106 
110  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
111 
115  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
116 
120  inline AwsEc2SecurityGroupUserIdGroupPair& WithGroupName(const char* value) { SetGroupName(value); return *this;}
121 
122 
126  inline const Aws::String& GetPeeringStatus() const{ return m_peeringStatus; }
127 
131  inline bool PeeringStatusHasBeenSet() const { return m_peeringStatusHasBeenSet; }
132 
136  inline void SetPeeringStatus(const Aws::String& value) { m_peeringStatusHasBeenSet = true; m_peeringStatus = value; }
137 
141  inline void SetPeeringStatus(Aws::String&& value) { m_peeringStatusHasBeenSet = true; m_peeringStatus = std::move(value); }
142 
146  inline void SetPeeringStatus(const char* value) { m_peeringStatusHasBeenSet = true; m_peeringStatus.assign(value); }
147 
151  inline AwsEc2SecurityGroupUserIdGroupPair& WithPeeringStatus(const Aws::String& value) { SetPeeringStatus(value); return *this;}
152 
156  inline AwsEc2SecurityGroupUserIdGroupPair& WithPeeringStatus(Aws::String&& value) { SetPeeringStatus(std::move(value)); return *this;}
157 
161  inline AwsEc2SecurityGroupUserIdGroupPair& WithPeeringStatus(const char* value) { SetPeeringStatus(value); return *this;}
162 
163 
171  inline const Aws::String& GetUserId() const{ return m_userId; }
172 
180  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
181 
189  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
190 
198  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
199 
207  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
208 
216  inline AwsEc2SecurityGroupUserIdGroupPair& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
217 
225  inline AwsEc2SecurityGroupUserIdGroupPair& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
226 
234  inline AwsEc2SecurityGroupUserIdGroupPair& WithUserId(const char* value) { SetUserId(value); return *this;}
235 
236 
240  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
241 
245  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
246 
250  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
251 
255  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
256 
260  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
261 
265  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
266 
270  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
271 
275  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcId(const char* value) { SetVpcId(value); return *this;}
276 
277 
281  inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
282 
286  inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
287 
291  inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
292 
296  inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
297 
301  inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
302 
306  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;}
307 
311  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;}
312 
316  inline AwsEc2SecurityGroupUserIdGroupPair& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
317 
318  private:
319 
320  Aws::String m_groupId;
321  bool m_groupIdHasBeenSet;
322 
323  Aws::String m_groupName;
324  bool m_groupNameHasBeenSet;
325 
326  Aws::String m_peeringStatus;
327  bool m_peeringStatusHasBeenSet;
328 
329  Aws::String m_userId;
330  bool m_userIdHasBeenSet;
331 
332  Aws::String m_vpcId;
333  bool m_vpcIdHasBeenSet;
334 
335  Aws::String m_vpcPeeringConnectionId;
336  bool m_vpcPeeringConnectionIdHasBeenSet;
337  };
338 
339 } // namespace Model
340 } // namespace SecurityHub
341 } // namespace Aws
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetPeeringStatus
const Aws::String & GetPeeringStatus() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:126
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:180
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetPeeringStatus
void SetPeeringStatus(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:136
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetGroupName
const Aws::String & GetGroupName() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:85
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:59
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:95
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupName
AwsEc2SecurityGroupUserIdGroupPair & WithGroupName(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:110
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcPeeringConnectionId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcPeeringConnectionId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:316
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetUserId
void SetUserId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:189
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::VpcPeeringConnectionIdHasBeenSet
bool VpcPeeringConnectionIdHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:286
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetPeeringStatus
void SetPeeringStatus(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:146
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:255
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupId
AwsEc2SecurityGroupUserIdGroupPair & WithGroupId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:79
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::AwsEc2SecurityGroupUserIdGroupPair
AwsEc2SecurityGroupUserIdGroupPair(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithPeeringStatus
AwsEc2SecurityGroupUserIdGroupPair & WithPeeringStatus(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:156
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:90
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetUserId
void SetUserId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:207
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:54
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:301
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetUserId
void SetUserId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:198
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupName
void SetGroupName(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:105
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetUserId
const Aws::String & GetUserId() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:171
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:250
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithUserId
AwsEc2SecurityGroupUserIdGroupPair & WithUserId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:225
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:33
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupName
AwsEc2SecurityGroupUserIdGroupPair & WithGroupName(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:120
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcPeeringConnectionId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcPeeringConnectionId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:306
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupId
AwsEc2SecurityGroupUserIdGroupPair & WithGroupId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:69
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetVpcPeeringConnectionId
const Aws::String & GetVpcPeeringConnectionId() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:281
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:270
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:265
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupId
AwsEc2SecurityGroupUserIdGroupPair & WithGroupId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:74
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetVpcId
const Aws::String & GetVpcId() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:240
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcPeeringConnectionId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcPeeringConnectionId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:311
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:245
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithGroupName
AwsEc2SecurityGroupUserIdGroupPair & WithGroupName(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:115
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:49
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:291
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithUserId
AwsEc2SecurityGroupUserIdGroupPair & WithUserId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:234
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::PeeringStatusHasBeenSet
bool PeeringStatusHasBeenSet() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:131
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithUserId
AwsEc2SecurityGroupUserIdGroupPair & WithUserId(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:216
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithPeeringStatus
AwsEc2SecurityGroupUserIdGroupPair & WithPeeringStatus(const Aws::String &value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:151
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetGroupId
void SetGroupId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:64
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithVpcId
AwsEc2SecurityGroupUserIdGroupPair & WithVpcId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:275
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::GetGroupId
const Aws::String & GetGroupId() const
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:44
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:296
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetPeeringStatus
void SetPeeringStatus(Aws::String &&value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:141
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::operator=
AwsEc2SecurityGroupUserIdGroupPair & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::SetVpcId
void SetVpcId(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:260
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::AwsEc2SecurityGroupUserIdGroupPair
AwsEc2SecurityGroupUserIdGroupPair()
Aws::SecurityHub::Model::AwsEc2SecurityGroupUserIdGroupPair::WithPeeringStatus
AwsEc2SecurityGroupUserIdGroupPair & WithPeeringStatus(const char *value)
Definition: AwsEc2SecurityGroupUserIdGroupPair.h:161