AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ipv6CidrBlockAssociation.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API Ipv6CidrBlockAssociation();
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
45 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
46 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
47 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
48 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
49 inline Ipv6CidrBlockAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
50 inline Ipv6CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
51 inline Ipv6CidrBlockAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
53
55
58 inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
59 inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
60 inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
61 inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
62 inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
63 inline Ipv6CidrBlockAssociation& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
64 inline Ipv6CidrBlockAssociation& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
65 inline Ipv6CidrBlockAssociation& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
67
69
76 inline const Aws::String& GetCidrBlockState() const{ return m_cidrBlockState; }
77 inline bool CidrBlockStateHasBeenSet() const { return m_cidrBlockStateHasBeenSet; }
78 inline void SetCidrBlockState(const Aws::String& value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState = value; }
79 inline void SetCidrBlockState(Aws::String&& value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState = std::move(value); }
80 inline void SetCidrBlockState(const char* value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState.assign(value); }
81 inline Ipv6CidrBlockAssociation& WithCidrBlockState(const Aws::String& value) { SetCidrBlockState(value); return *this;}
82 inline Ipv6CidrBlockAssociation& WithCidrBlockState(Aws::String&& value) { SetCidrBlockState(std::move(value)); return *this;}
83 inline Ipv6CidrBlockAssociation& WithCidrBlockState(const char* value) { SetCidrBlockState(value); return *this;}
85 private:
86
87 Aws::String m_associationId;
88 bool m_associationIdHasBeenSet = false;
89
90 Aws::String m_ipv6CidrBlock;
91 bool m_ipv6CidrBlockHasBeenSet = false;
92
93 Aws::String m_cidrBlockState;
94 bool m_cidrBlockStateHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SecurityHub
99} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Ipv6CidrBlockAssociation & WithIpv6CidrBlock(Aws::String &&value)
Ipv6CidrBlockAssociation & WithIpv6CidrBlock(const Aws::String &value)
Ipv6CidrBlockAssociation & WithAssociationId(Aws::String &&value)
Ipv6CidrBlockAssociation & WithAssociationId(const char *value)
Ipv6CidrBlockAssociation & WithAssociationId(const Aws::String &value)
Ipv6CidrBlockAssociation & WithIpv6CidrBlock(const char *value)
AWS_SECURITYHUB_API Ipv6CidrBlockAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Ipv6CidrBlockAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
Ipv6CidrBlockAssociation & WithCidrBlockState(const Aws::String &value)
Ipv6CidrBlockAssociation & WithCidrBlockState(const char *value)
Ipv6CidrBlockAssociation & WithCidrBlockState(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue