AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociationSetDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AssociationStateDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AssociationSetDetails();
37 AWS_SECURITYHUB_API AssociationSetDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AssociationStateDetails& GetAssociationState() const{ return m_associationState; }
48 inline bool AssociationStateHasBeenSet() const { return m_associationStateHasBeenSet; }
49 inline void SetAssociationState(const AssociationStateDetails& value) { m_associationStateHasBeenSet = true; m_associationState = value; }
50 inline void SetAssociationState(AssociationStateDetails&& value) { m_associationStateHasBeenSet = true; m_associationState = std::move(value); }
54
56
59 inline const Aws::String& GetGatewayId() const{ return m_gatewayId; }
60 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
61 inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; }
62 inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); }
63 inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); }
64 inline AssociationSetDetails& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;}
65 inline AssociationSetDetails& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;}
66 inline AssociationSetDetails& WithGatewayId(const char* value) { SetGatewayId(value); return *this;}
68
70
73 inline bool GetMain() const{ return m_main; }
74 inline bool MainHasBeenSet() const { return m_mainHasBeenSet; }
75 inline void SetMain(bool value) { m_mainHasBeenSet = true; m_main = value; }
76 inline AssociationSetDetails& WithMain(bool value) { SetMain(value); return *this;}
78
80
83 inline const Aws::String& GetRouteTableAssociationId() const{ return m_routeTableAssociationId; }
84 inline bool RouteTableAssociationIdHasBeenSet() const { return m_routeTableAssociationIdHasBeenSet; }
85 inline void SetRouteTableAssociationId(const Aws::String& value) { m_routeTableAssociationIdHasBeenSet = true; m_routeTableAssociationId = value; }
86 inline void SetRouteTableAssociationId(Aws::String&& value) { m_routeTableAssociationIdHasBeenSet = true; m_routeTableAssociationId = std::move(value); }
87 inline void SetRouteTableAssociationId(const char* value) { m_routeTableAssociationIdHasBeenSet = true; m_routeTableAssociationId.assign(value); }
90 inline AssociationSetDetails& WithRouteTableAssociationId(const char* value) { SetRouteTableAssociationId(value); return *this;}
92
94
97 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
98 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
99 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
100 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
101 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
102 inline AssociationSetDetails& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;}
103 inline AssociationSetDetails& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
104 inline AssociationSetDetails& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
106
108
112 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
113 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
114 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
115 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
116 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
117 inline AssociationSetDetails& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
118 inline AssociationSetDetails& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
119 inline AssociationSetDetails& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
121 private:
122
123 AssociationStateDetails m_associationState;
124 bool m_associationStateHasBeenSet = false;
125
126 Aws::String m_gatewayId;
127 bool m_gatewayIdHasBeenSet = false;
128
129 bool m_main;
130 bool m_mainHasBeenSet = false;
131
132 Aws::String m_routeTableAssociationId;
133 bool m_routeTableAssociationIdHasBeenSet = false;
134
135 Aws::String m_routeTableId;
136 bool m_routeTableIdHasBeenSet = false;
137
138 Aws::String m_subnetId;
139 bool m_subnetIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SecurityHub
144} // namespace Aws
AssociationSetDetails & WithRouteTableId(const Aws::String &value)
AssociationSetDetails & WithGatewayId(const Aws::String &value)
AssociationSetDetails & WithAssociationState(AssociationStateDetails &&value)
AssociationSetDetails & WithSubnetId(Aws::String &&value)
AssociationSetDetails & WithRouteTableAssociationId(const Aws::String &value)
AssociationSetDetails & WithRouteTableId(Aws::String &&value)
AssociationSetDetails & WithMain(bool value)
AssociationSetDetails & WithAssociationState(const AssociationStateDetails &value)
AssociationSetDetails & WithSubnetId(const char *value)
AssociationSetDetails & WithRouteTableAssociationId(const char *value)
AssociationSetDetails & WithRouteTableAssociationId(Aws::String &&value)
AWS_SECURITYHUB_API AssociationSetDetails(Aws::Utils::Json::JsonView jsonValue)
AssociationSetDetails & WithRouteTableId(const char *value)
AWS_SECURITYHUB_API AssociationSetDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAssociationState(AssociationStateDetails &&value)
void SetAssociationState(const AssociationStateDetails &value)
AssociationSetDetails & WithGatewayId(Aws::String &&value)
AssociationSetDetails & WithGatewayId(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRouteTableAssociationId(const Aws::String &value)
const AssociationStateDetails & GetAssociationState() const
AssociationSetDetails & WithSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue