AWS SDK for C++  1.9.108
AWS SDK for C++
AwsEc2NetworkInterfaceSecurityGroup.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& GetGroupName() const{ return m_groupName; }
45 
49  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
50 
54  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
55 
59  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
60 
64  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
65 
69  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
70 
74  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
75 
79  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupName(const char* value) { SetGroupName(value); return *this;}
80 
81 
85  inline const Aws::String& GetGroupId() const{ return m_groupId; }
86 
90  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
91 
95  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
96 
100  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
101 
105  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
106 
110  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
111 
115  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
116 
120  inline AwsEc2NetworkInterfaceSecurityGroup& WithGroupId(const char* value) { SetGroupId(value); return *this;}
121 
122  private:
123 
124  Aws::String m_groupName;
125  bool m_groupNameHasBeenSet;
126 
127  Aws::String m_groupId;
128  bool m_groupIdHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SecurityHub
133 } // namespace Aws
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupId
AwsEc2NetworkInterfaceSecurityGroup & WithGroupId(const char *value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:120
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupName
AwsEc2NetworkInterfaceSecurityGroup & WithGroupName(Aws::String &&value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:74
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::operator=
AwsEc2NetworkInterfaceSecurityGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupName
AwsEc2NetworkInterfaceSecurityGroup & WithGroupName(const Aws::String &value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:69
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:54
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:59
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:33
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:49
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupId
AwsEc2NetworkInterfaceSecurityGroup & WithGroupId(const Aws::String &value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:110
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::GetGroupId
const Aws::String & GetGroupId() const
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupName
AwsEc2NetworkInterfaceSecurityGroup & WithGroupName(const char *value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:79
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:95
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:100
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupId
void SetGroupId(const char *value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:105
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::AwsEc2NetworkInterfaceSecurityGroup
AwsEc2NetworkInterfaceSecurityGroup()
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::GetGroupName
const Aws::String & GetGroupName() const
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::SetGroupName
void SetGroupName(const char *value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:64
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::WithGroupId
AwsEc2NetworkInterfaceSecurityGroup & WithGroupId(Aws::String &&value)
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:115
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: AwsEc2NetworkInterfaceSecurityGroup.h:90
Aws::SecurityHub::Model::AwsEc2NetworkInterfaceSecurityGroup::AwsEc2NetworkInterfaceSecurityGroup
AwsEc2NetworkInterfaceSecurityGroup(Aws::Utils::Json::JsonView jsonValue)