AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEndpointResult.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/eventbridge/model/EndpointEventBus.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace EventBridge
29{
30namespace Model
31{
33 {
34 public:
35 AWS_EVENTBRIDGE_API UpdateEndpointResult();
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline void SetName(const Aws::String& value) { m_name = value; }
46 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
47 inline void SetName(const char* value) { m_name.assign(value); }
48 inline UpdateEndpointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateEndpointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateEndpointResult& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline void SetArn(const Aws::String& value) { m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arn.assign(value); }
61 inline UpdateEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline UpdateEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline UpdateEndpointResult& WithArn(const char* value) { SetArn(value); return *this;}
65
67
70 inline const RoutingConfig& GetRoutingConfig() const{ return m_routingConfig; }
71 inline void SetRoutingConfig(const RoutingConfig& value) { m_routingConfig = value; }
72 inline void SetRoutingConfig(RoutingConfig&& value) { m_routingConfig = std::move(value); }
73 inline UpdateEndpointResult& WithRoutingConfig(const RoutingConfig& value) { SetRoutingConfig(value); return *this;}
74 inline UpdateEndpointResult& WithRoutingConfig(RoutingConfig&& value) { SetRoutingConfig(std::move(value)); return *this;}
76
78
82 inline const ReplicationConfig& GetReplicationConfig() const{ return m_replicationConfig; }
83 inline void SetReplicationConfig(const ReplicationConfig& value) { m_replicationConfig = value; }
84 inline void SetReplicationConfig(ReplicationConfig&& value) { m_replicationConfig = std::move(value); }
86 inline UpdateEndpointResult& WithReplicationConfig(ReplicationConfig&& value) { SetReplicationConfig(std::move(value)); return *this;}
88
90
94 inline const Aws::Vector<EndpointEventBus>& GetEventBuses() const{ return m_eventBuses; }
95 inline void SetEventBuses(const Aws::Vector<EndpointEventBus>& value) { m_eventBuses = value; }
96 inline void SetEventBuses(Aws::Vector<EndpointEventBus>&& value) { m_eventBuses = std::move(value); }
98 inline UpdateEndpointResult& WithEventBuses(Aws::Vector<EndpointEventBus>&& value) { SetEventBuses(std::move(value)); return *this;}
99 inline UpdateEndpointResult& AddEventBuses(const EndpointEventBus& value) { m_eventBuses.push_back(value); return *this; }
100 inline UpdateEndpointResult& AddEventBuses(EndpointEventBus&& value) { m_eventBuses.push_back(std::move(value)); return *this; }
102
104
108 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
109 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
110 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
111 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
112 inline UpdateEndpointResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
113 inline UpdateEndpointResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
114 inline UpdateEndpointResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
116
118
121 inline const Aws::String& GetEndpointId() const{ return m_endpointId; }
122 inline void SetEndpointId(const Aws::String& value) { m_endpointId = value; }
123 inline void SetEndpointId(Aws::String&& value) { m_endpointId = std::move(value); }
124 inline void SetEndpointId(const char* value) { m_endpointId.assign(value); }
125 inline UpdateEndpointResult& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;}
126 inline UpdateEndpointResult& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;}
127 inline UpdateEndpointResult& WithEndpointId(const char* value) { SetEndpointId(value); return *this;}
129
131
134 inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
135 inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrl = value; }
136 inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrl = std::move(value); }
137 inline void SetEndpointUrl(const char* value) { m_endpointUrl.assign(value); }
138 inline UpdateEndpointResult& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;}
139 inline UpdateEndpointResult& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
140 inline UpdateEndpointResult& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
142
144
147 inline const EndpointState& GetState() const{ return m_state; }
148 inline void SetState(const EndpointState& value) { m_state = value; }
149 inline void SetState(EndpointState&& value) { m_state = std::move(value); }
150 inline UpdateEndpointResult& WithState(const EndpointState& value) { SetState(value); return *this;}
151 inline UpdateEndpointResult& WithState(EndpointState&& value) { SetState(std::move(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline UpdateEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline UpdateEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline UpdateEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::String m_name;
167
168 Aws::String m_arn;
169
170 RoutingConfig m_routingConfig;
171
172 ReplicationConfig m_replicationConfig;
173
175
176 Aws::String m_roleArn;
177
178 Aws::String m_endpointId;
179
180 Aws::String m_endpointUrl;
181
182 EndpointState m_state;
183
184 Aws::String m_requestId;
185 };
186
187} // namespace Model
188} // namespace EventBridge
189} // namespace Aws
void SetReplicationConfig(const ReplicationConfig &value)
UpdateEndpointResult & WithRequestId(Aws::String &&value)
const ReplicationConfig & GetReplicationConfig() const
UpdateEndpointResult & WithEndpointUrl(const char *value)
void SetEventBuses(Aws::Vector< EndpointEventBus > &&value)
UpdateEndpointResult & WithName(const Aws::String &value)
UpdateEndpointResult & AddEventBuses(EndpointEventBus &&value)
UpdateEndpointResult & WithRoleArn(const char *value)
UpdateEndpointResult & WithEventBuses(Aws::Vector< EndpointEventBus > &&value)
UpdateEndpointResult & WithReplicationConfig(ReplicationConfig &&value)
UpdateEndpointResult & WithEndpointId(const char *value)
UpdateEndpointResult & WithEndpointUrl(Aws::String &&value)
void SetReplicationConfig(ReplicationConfig &&value)
UpdateEndpointResult & WithName(Aws::String &&value)
UpdateEndpointResult & WithArn(const char *value)
UpdateEndpointResult & WithRoutingConfig(RoutingConfig &&value)
UpdateEndpointResult & WithEndpointId(const Aws::String &value)
UpdateEndpointResult & WithArn(Aws::String &&value)
void SetRoutingConfig(const RoutingConfig &value)
UpdateEndpointResult & WithRequestId(const char *value)
UpdateEndpointResult & WithEndpointId(Aws::String &&value)
UpdateEndpointResult & WithReplicationConfig(const ReplicationConfig &value)
UpdateEndpointResult & AddEventBuses(const EndpointEventBus &value)
UpdateEndpointResult & WithArn(const Aws::String &value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
UpdateEndpointResult & WithRoutingConfig(const RoutingConfig &value)
UpdateEndpointResult & WithEndpointUrl(const Aws::String &value)
AWS_EVENTBRIDGE_API UpdateEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEndpointResult & WithRoleArn(Aws::String &&value)
UpdateEndpointResult & WithState(const EndpointState &value)
UpdateEndpointResult & WithName(const char *value)
UpdateEndpointResult & WithEventBuses(const Aws::Vector< EndpointEventBus > &value)
UpdateEndpointResult & WithRequestId(const Aws::String &value)
AWS_EVENTBRIDGE_API UpdateEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEndpointResult & WithState(EndpointState &&value)
UpdateEndpointResult & WithRoleArn(const Aws::String &value)
void SetEventBuses(const Aws::Vector< EndpointEventBus > &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