AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEventsEndpointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEventsEndpointReplicationConfigDetails.h>
11#include <aws/securityhub/model/AwsEventsEndpointRoutingConfigDetails.h>
12#include <aws/securityhub/model/AwsEventsEndpointEventBusesDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_SECURITYHUB_API AwsEventsEndpointDetails();
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline AwsEventsEndpointDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline AwsEventsEndpointDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline AwsEventsEndpointDetails& WithArn(const char* value) { SetArn(value); return *this;}
59
61
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
69 inline AwsEventsEndpointDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline AwsEventsEndpointDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline AwsEventsEndpointDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
80 inline const Aws::String& GetEndpointId() const{ return m_endpointId; }
81 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
82 inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; }
83 inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); }
84 inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); }
85 inline AwsEventsEndpointDetails& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;}
86 inline AwsEventsEndpointDetails& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;}
87 inline AwsEventsEndpointDetails& WithEndpointId(const char* value) { SetEndpointId(value); return *this;}
89
91
94 inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
95 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
96 inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = value; }
97 inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::move(value); }
98 inline void SetEndpointUrl(const char* value) { m_endpointUrlHasBeenSet = true; m_endpointUrl.assign(value); }
99 inline AwsEventsEndpointDetails& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;}
100 inline AwsEventsEndpointDetails& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
101 inline AwsEventsEndpointDetails& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
103
105
108 inline const Aws::Vector<AwsEventsEndpointEventBusesDetails>& GetEventBuses() const{ return m_eventBuses; }
109 inline bool EventBusesHasBeenSet() const { return m_eventBusesHasBeenSet; }
110 inline void SetEventBuses(const Aws::Vector<AwsEventsEndpointEventBusesDetails>& value) { m_eventBusesHasBeenSet = true; m_eventBuses = value; }
111 inline void SetEventBuses(Aws::Vector<AwsEventsEndpointEventBusesDetails>&& value) { m_eventBusesHasBeenSet = true; m_eventBuses = std::move(value); }
114 inline AwsEventsEndpointDetails& AddEventBuses(const AwsEventsEndpointEventBusesDetails& value) { m_eventBusesHasBeenSet = true; m_eventBuses.push_back(value); return *this; }
115 inline AwsEventsEndpointDetails& AddEventBuses(AwsEventsEndpointEventBusesDetails&& value) { m_eventBusesHasBeenSet = true; m_eventBuses.push_back(std::move(value)); return *this; }
117
119
122 inline const Aws::String& GetName() const{ return m_name; }
123 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
124 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
125 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
126 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
127 inline AwsEventsEndpointDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
128 inline AwsEventsEndpointDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
129 inline AwsEventsEndpointDetails& WithName(const char* value) { SetName(value); return *this;}
131
133
139 inline const AwsEventsEndpointReplicationConfigDetails& GetReplicationConfig() const{ return m_replicationConfig; }
140 inline bool ReplicationConfigHasBeenSet() const { return m_replicationConfigHasBeenSet; }
141 inline void SetReplicationConfig(const AwsEventsEndpointReplicationConfigDetails& value) { m_replicationConfigHasBeenSet = true; m_replicationConfig = value; }
142 inline void SetReplicationConfig(AwsEventsEndpointReplicationConfigDetails&& value) { m_replicationConfigHasBeenSet = true; m_replicationConfig = std::move(value); }
146
148
151 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
152 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
153 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
154 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
155 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
156 inline AwsEventsEndpointDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
157 inline AwsEventsEndpointDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
158 inline AwsEventsEndpointDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
160
162
165 inline const AwsEventsEndpointRoutingConfigDetails& GetRoutingConfig() const{ return m_routingConfig; }
166 inline bool RoutingConfigHasBeenSet() const { return m_routingConfigHasBeenSet; }
167 inline void SetRoutingConfig(const AwsEventsEndpointRoutingConfigDetails& value) { m_routingConfigHasBeenSet = true; m_routingConfig = value; }
168 inline void SetRoutingConfig(AwsEventsEndpointRoutingConfigDetails&& value) { m_routingConfigHasBeenSet = true; m_routingConfig = std::move(value); }
172
174
177 inline const Aws::String& GetState() const{ return m_state; }
178 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
179 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
180 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
181 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
182 inline AwsEventsEndpointDetails& WithState(const Aws::String& value) { SetState(value); return *this;}
183 inline AwsEventsEndpointDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
184 inline AwsEventsEndpointDetails& WithState(const char* value) { SetState(value); return *this;}
186
188
191 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
192 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
193 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
194 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
195 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
196 inline AwsEventsEndpointDetails& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
197 inline AwsEventsEndpointDetails& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
198 inline AwsEventsEndpointDetails& WithStateReason(const char* value) { SetStateReason(value); return *this;}
200 private:
201
202 Aws::String m_arn;
203 bool m_arnHasBeenSet = false;
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 Aws::String m_endpointId;
209 bool m_endpointIdHasBeenSet = false;
210
211 Aws::String m_endpointUrl;
212 bool m_endpointUrlHasBeenSet = false;
213
215 bool m_eventBusesHasBeenSet = false;
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219
221 bool m_replicationConfigHasBeenSet = false;
222
223 Aws::String m_roleArn;
224 bool m_roleArnHasBeenSet = false;
225
227 bool m_routingConfigHasBeenSet = false;
228
229 Aws::String m_state;
230 bool m_stateHasBeenSet = false;
231
232 Aws::String m_stateReason;
233 bool m_stateReasonHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace SecurityHub
238} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEventsEndpointDetails & WithState(const char *value)
AwsEventsEndpointDetails & WithEventBuses(Aws::Vector< AwsEventsEndpointEventBusesDetails > &&value)
const Aws::Vector< AwsEventsEndpointEventBusesDetails > & GetEventBuses() const
AwsEventsEndpointDetails & WithEndpointId(Aws::String &&value)
AwsEventsEndpointDetails & WithState(Aws::String &&value)
AwsEventsEndpointDetails & WithReplicationConfig(const AwsEventsEndpointReplicationConfigDetails &value)
AwsEventsEndpointDetails & WithName(const Aws::String &value)
AwsEventsEndpointDetails & WithRoleArn(Aws::String &&value)
AwsEventsEndpointDetails & AddEventBuses(const AwsEventsEndpointEventBusesDetails &value)
AwsEventsEndpointDetails & WithArn(const char *value)
AwsEventsEndpointDetails & WithEndpointId(const char *value)
AwsEventsEndpointDetails & WithDescription(const Aws::String &value)
void SetRoutingConfig(AwsEventsEndpointRoutingConfigDetails &&value)
void SetRoutingConfig(const AwsEventsEndpointRoutingConfigDetails &value)
AwsEventsEndpointDetails & WithName(Aws::String &&value)
AwsEventsEndpointDetails & WithRoleArn(const Aws::String &value)
const AwsEventsEndpointReplicationConfigDetails & GetReplicationConfig() const
AwsEventsEndpointDetails & WithEndpointUrl(Aws::String &&value)
AwsEventsEndpointDetails & WithReplicationConfig(AwsEventsEndpointReplicationConfigDetails &&value)
AwsEventsEndpointDetails & WithRoutingConfig(const AwsEventsEndpointRoutingConfigDetails &value)
AwsEventsEndpointDetails & WithName(const char *value)
AwsEventsEndpointDetails & WithStateReason(Aws::String &&value)
void SetEventBuses(const Aws::Vector< AwsEventsEndpointEventBusesDetails > &value)
AwsEventsEndpointDetails & WithDescription(const char *value)
AwsEventsEndpointDetails & WithArn(Aws::String &&value)
AwsEventsEndpointDetails & WithRoutingConfig(AwsEventsEndpointRoutingConfigDetails &&value)
AwsEventsEndpointDetails & AddEventBuses(AwsEventsEndpointEventBusesDetails &&value)
AwsEventsEndpointDetails & WithDescription(Aws::String &&value)
AwsEventsEndpointDetails & WithEndpointUrl(const char *value)
const AwsEventsEndpointRoutingConfigDetails & GetRoutingConfig() const
void SetReplicationConfig(const AwsEventsEndpointReplicationConfigDetails &value)
AwsEventsEndpointDetails & WithArn(const Aws::String &value)
AwsEventsEndpointDetails & WithEventBuses(const Aws::Vector< AwsEventsEndpointEventBusesDetails > &value)
AwsEventsEndpointDetails & WithEndpointUrl(const Aws::String &value)
void SetEventBuses(Aws::Vector< AwsEventsEndpointEventBusesDetails > &&value)
AwsEventsEndpointDetails & WithState(const Aws::String &value)
AwsEventsEndpointDetails & WithStateReason(const Aws::String &value)
AwsEventsEndpointDetails & WithStateReason(const char *value)
AWS_SECURITYHUB_API AwsEventsEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEndpointDetails & WithEndpointId(const Aws::String &value)
AWS_SECURITYHUB_API AwsEventsEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEndpointDetails & WithRoleArn(const char *value)
void SetReplicationConfig(AwsEventsEndpointReplicationConfigDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue