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