AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEndpointResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/RoutingConfig.h>
10#include <aws/eventbridge/model/ReplicationConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/eventbridge/model/EndpointState.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/eventbridge/model/EndpointEventBus.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace EventBridge
30{
31namespace Model
32{
34 {
35 public:
36 AWS_EVENTBRIDGE_API DescribeEndpointResult();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline void SetName(const Aws::String& value) { m_name = value; }
47 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
48 inline void SetName(const char* value) { m_name.assign(value); }
49 inline DescribeEndpointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline DescribeEndpointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline DescribeEndpointResult& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline void SetDescription(const Aws::String& value) { m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_description.assign(value); }
62 inline DescribeEndpointResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline DescribeEndpointResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline DescribeEndpointResult& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::String& GetArn() const{ return m_arn; }
72 inline void SetArn(const Aws::String& value) { m_arn = value; }
73 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
74 inline void SetArn(const char* value) { m_arn.assign(value); }
75 inline DescribeEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
76 inline DescribeEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77 inline DescribeEndpointResult& WithArn(const char* value) { SetArn(value); return *this;}
79
81
85 inline const RoutingConfig& GetRoutingConfig() const{ return m_routingConfig; }
86 inline void SetRoutingConfig(const RoutingConfig& value) { m_routingConfig = value; }
87 inline void SetRoutingConfig(RoutingConfig&& value) { m_routingConfig = std::move(value); }
88 inline DescribeEndpointResult& WithRoutingConfig(const RoutingConfig& value) { SetRoutingConfig(value); return *this;}
89 inline DescribeEndpointResult& WithRoutingConfig(RoutingConfig&& value) { SetRoutingConfig(std::move(value)); return *this;}
91
93
97 inline const ReplicationConfig& GetReplicationConfig() const{ return m_replicationConfig; }
98 inline void SetReplicationConfig(const ReplicationConfig& value) { m_replicationConfig = value; }
99 inline void SetReplicationConfig(ReplicationConfig&& value) { m_replicationConfig = std::move(value); }
101 inline DescribeEndpointResult& WithReplicationConfig(ReplicationConfig&& value) { SetReplicationConfig(std::move(value)); return *this;}
103
105
109 inline const Aws::Vector<EndpointEventBus>& GetEventBuses() const{ return m_eventBuses; }
110 inline void SetEventBuses(const Aws::Vector<EndpointEventBus>& value) { m_eventBuses = value; }
111 inline void SetEventBuses(Aws::Vector<EndpointEventBus>&& value) { m_eventBuses = std::move(value); }
113 inline DescribeEndpointResult& WithEventBuses(Aws::Vector<EndpointEventBus>&& value) { SetEventBuses(std::move(value)); return *this;}
114 inline DescribeEndpointResult& AddEventBuses(const EndpointEventBus& value) { m_eventBuses.push_back(value); return *this; }
115 inline DescribeEndpointResult& AddEventBuses(EndpointEventBus&& value) { m_eventBuses.push_back(std::move(value)); return *this; }
117
119
122 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
123 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
124 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
125 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
126 inline DescribeEndpointResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
127 inline DescribeEndpointResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
128 inline DescribeEndpointResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
130
132
135 inline const Aws::String& GetEndpointId() const{ return m_endpointId; }
136 inline void SetEndpointId(const Aws::String& value) { m_endpointId = value; }
137 inline void SetEndpointId(Aws::String&& value) { m_endpointId = std::move(value); }
138 inline void SetEndpointId(const char* value) { m_endpointId.assign(value); }
139 inline DescribeEndpointResult& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;}
140 inline DescribeEndpointResult& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;}
141 inline DescribeEndpointResult& WithEndpointId(const char* value) { SetEndpointId(value); return *this;}
143
145
148 inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
149 inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrl = value; }
150 inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrl = std::move(value); }
151 inline void SetEndpointUrl(const char* value) { m_endpointUrl.assign(value); }
152 inline DescribeEndpointResult& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;}
153 inline DescribeEndpointResult& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
154 inline DescribeEndpointResult& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
156
158
161 inline const EndpointState& GetState() const{ return m_state; }
162 inline void SetState(const EndpointState& value) { m_state = value; }
163 inline void SetState(EndpointState&& value) { m_state = std::move(value); }
164 inline DescribeEndpointResult& WithState(const EndpointState& value) { SetState(value); return *this;}
165 inline DescribeEndpointResult& WithState(EndpointState&& value) { SetState(std::move(value)); return *this;}
167
169
173 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
174 inline void SetStateReason(const Aws::String& value) { m_stateReason = value; }
175 inline void SetStateReason(Aws::String&& value) { m_stateReason = std::move(value); }
176 inline void SetStateReason(const char* value) { m_stateReason.assign(value); }
177 inline DescribeEndpointResult& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
178 inline DescribeEndpointResult& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
179 inline DescribeEndpointResult& WithStateReason(const char* value) { SetStateReason(value); return *this;}
181
183
186 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
187 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
188 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
190 inline DescribeEndpointResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
192
194
197 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
198 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
199 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
201 inline DescribeEndpointResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
203
205
206 inline const Aws::String& GetRequestId() const{ return m_requestId; }
207 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
208 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
209 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
210 inline DescribeEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
211 inline DescribeEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
212 inline DescribeEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
214 private:
215
216 Aws::String m_name;
217
218 Aws::String m_description;
219
220 Aws::String m_arn;
221
222 RoutingConfig m_routingConfig;
223
224 ReplicationConfig m_replicationConfig;
225
227
228 Aws::String m_roleArn;
229
230 Aws::String m_endpointId;
231
232 Aws::String m_endpointUrl;
233
234 EndpointState m_state;
235
236 Aws::String m_stateReason;
237
238 Aws::Utils::DateTime m_creationTime;
239
240 Aws::Utils::DateTime m_lastModifiedTime;
241
242 Aws::String m_requestId;
243 };
244
245} // namespace Model
246} // namespace EventBridge
247} // namespace Aws
DescribeEndpointResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeEndpointResult & WithRequestId(const Aws::String &value)
DescribeEndpointResult & WithEndpointId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeEndpointResult & WithEventBuses(Aws::Vector< EndpointEventBus > &&value)
DescribeEndpointResult & WithEndpointUrl(const Aws::String &value)
DescribeEndpointResult & WithArn(const char *value)
DescribeEndpointResult & WithRequestId(Aws::String &&value)
DescribeEndpointResult & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeEndpointResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeEndpointResult & WithState(EndpointState &&value)
DescribeEndpointResult & WithName(const char *value)
const ReplicationConfig & GetReplicationConfig() const
const Aws::Utils::DateTime & GetCreationTime() const
DescribeEndpointResult & WithStateReason(const Aws::String &value)
DescribeEndpointResult & WithArn(const Aws::String &value)
DescribeEndpointResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeEndpointResult & WithEndpointUrl(const char *value)
DescribeEndpointResult & WithArn(Aws::String &&value)
DescribeEndpointResult & WithReplicationConfig(ReplicationConfig &&value)
DescribeEndpointResult & WithRoleArn(const Aws::String &value)
DescribeEndpointResult & WithStateReason(const char *value)
void SetEventBuses(const Aws::Vector< EndpointEventBus > &value)
DescribeEndpointResult & WithRoleArn(const char *value)
DescribeEndpointResult & WithEventBuses(const Aws::Vector< EndpointEventBus > &value)
void SetEventBuses(Aws::Vector< EndpointEventBus > &&value)
AWS_EVENTBRIDGE_API DescribeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEndpointResult & WithStateReason(Aws::String &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
DescribeEndpointResult & WithReplicationConfig(const ReplicationConfig &value)
DescribeEndpointResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeEndpointResult & WithDescription(const Aws::String &value)
DescribeEndpointResult & WithEndpointUrl(Aws::String &&value)
void SetReplicationConfig(const ReplicationConfig &value)
DescribeEndpointResult & WithRoleArn(Aws::String &&value)
DescribeEndpointResult & AddEventBuses(EndpointEventBus &&value)
DescribeEndpointResult & WithEndpointId(Aws::String &&value)
DescribeEndpointResult & WithDescription(Aws::String &&value)
DescribeEndpointResult & WithState(const EndpointState &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeEndpointResult & WithEndpointId(const char *value)
DescribeEndpointResult & WithRoutingConfig(RoutingConfig &&value)
DescribeEndpointResult & WithDescription(const char *value)
DescribeEndpointResult & AddEventBuses(const EndpointEventBus &value)
DescribeEndpointResult & WithName(Aws::String &&value)
DescribeEndpointResult & WithRoutingConfig(const RoutingConfig &value)
AWS_EVENTBRIDGE_API DescribeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEndpointResult & WithRequestId(const char *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