AWS SDK for C++  1.9.104
AWS SDK for C++
AwsEc2SecurityGroupIpv6Range.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 
32  {
33  public:
38 
39 
45  inline const Aws::String& GetCidrIpv6() const{ return m_cidrIpv6; }
46 
52  inline bool CidrIpv6HasBeenSet() const { return m_cidrIpv6HasBeenSet; }
53 
59  inline void SetCidrIpv6(const Aws::String& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = value; }
60 
66  inline void SetCidrIpv6(Aws::String&& value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6 = std::move(value); }
67 
73  inline void SetCidrIpv6(const char* value) { m_cidrIpv6HasBeenSet = true; m_cidrIpv6.assign(value); }
74 
80  inline AwsEc2SecurityGroupIpv6Range& WithCidrIpv6(const Aws::String& value) { SetCidrIpv6(value); return *this;}
81 
87  inline AwsEc2SecurityGroupIpv6Range& WithCidrIpv6(Aws::String&& value) { SetCidrIpv6(std::move(value)); return *this;}
88 
94  inline AwsEc2SecurityGroupIpv6Range& WithCidrIpv6(const char* value) { SetCidrIpv6(value); return *this;}
95 
96  private:
97 
98  Aws::String m_cidrIpv6;
99  bool m_cidrIpv6HasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace SecurityHub
104 } // namespace Aws
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::WithCidrIpv6
AwsEc2SecurityGroupIpv6Range & WithCidrIpv6(const Aws::String &value)
Definition: AwsEc2SecurityGroupIpv6Range.h:80
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::operator=
AwsEc2SecurityGroupIpv6Range & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::SetCidrIpv6
void SetCidrIpv6(const Aws::String &value)
Definition: AwsEc2SecurityGroupIpv6Range.h:59
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::WithCidrIpv6
AwsEc2SecurityGroupIpv6Range & WithCidrIpv6(Aws::String &&value)
Definition: AwsEc2SecurityGroupIpv6Range.h:87
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range
Definition: AwsEc2SecurityGroupIpv6Range.h:32
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::WithCidrIpv6
AwsEc2SecurityGroupIpv6Range & WithCidrIpv6(const char *value)
Definition: AwsEc2SecurityGroupIpv6Range.h:94
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::AwsEc2SecurityGroupIpv6Range
AwsEc2SecurityGroupIpv6Range(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::SetCidrIpv6
void SetCidrIpv6(Aws::String &&value)
Definition: AwsEc2SecurityGroupIpv6Range.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::CidrIpv6HasBeenSet
bool CidrIpv6HasBeenSet() const
Definition: AwsEc2SecurityGroupIpv6Range.h:52
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::GetCidrIpv6
const Aws::String & GetCidrIpv6() const
Definition: AwsEc2SecurityGroupIpv6Range.h:45
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::AwsEc2SecurityGroupIpv6Range
AwsEc2SecurityGroupIpv6Range()
Aws::SecurityHub::Model::AwsEc2SecurityGroupIpv6Range::SetCidrIpv6
void SetCidrIpv6(const char *value)
Definition: AwsEc2SecurityGroupIpv6Range.h:73