AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 UpdateEndpointResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 UpdateEndpointResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline const RoutingConfig& GetRoutingConfig() const { return m_routingConfig; }
67 template<typename RoutingConfigT = RoutingConfig>
68 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet = true; m_routingConfig = std::forward<RoutingConfigT>(value); }
69 template<typename RoutingConfigT = RoutingConfig>
70 UpdateEndpointResult& WithRoutingConfig(RoutingConfigT&& value) { SetRoutingConfig(std::forward<RoutingConfigT>(value)); return *this;}
72
74
78 inline const ReplicationConfig& GetReplicationConfig() const { return m_replicationConfig; }
79 template<typename ReplicationConfigT = ReplicationConfig>
80 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet = true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
81 template<typename ReplicationConfigT = ReplicationConfig>
82 UpdateEndpointResult& WithReplicationConfig(ReplicationConfigT&& value) { SetReplicationConfig(std::forward<ReplicationConfigT>(value)); return *this;}
84
86
90 inline const Aws::Vector<EndpointEventBus>& GetEventBuses() const { return m_eventBuses; }
91 template<typename EventBusesT = Aws::Vector<EndpointEventBus>>
92 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet = true; m_eventBuses = std::forward<EventBusesT>(value); }
93 template<typename EventBusesT = Aws::Vector<EndpointEventBus>>
94 UpdateEndpointResult& WithEventBuses(EventBusesT&& value) { SetEventBuses(std::forward<EventBusesT>(value)); return *this;}
95 template<typename EventBusesT = EndpointEventBus>
96 UpdateEndpointResult& AddEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet = true; m_eventBuses.emplace_back(std::forward<EventBusesT>(value)); return *this; }
98
100
104 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
105 template<typename RoleArnT = Aws::String>
106 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
107 template<typename RoleArnT = Aws::String>
108 UpdateEndpointResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
110
112
115 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
116 template<typename EndpointIdT = Aws::String>
117 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::forward<EndpointIdT>(value); }
118 template<typename EndpointIdT = Aws::String>
119 UpdateEndpointResult& WithEndpointId(EndpointIdT&& value) { SetEndpointId(std::forward<EndpointIdT>(value)); return *this;}
121
123
126 inline const Aws::String& GetEndpointUrl() const { return m_endpointUrl; }
127 template<typename EndpointUrlT = Aws::String>
128 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
129 template<typename EndpointUrlT = Aws::String>
130 UpdateEndpointResult& WithEndpointUrl(EndpointUrlT&& value) { SetEndpointUrl(std::forward<EndpointUrlT>(value)); return *this;}
132
134
137 inline EndpointState GetState() const { return m_state; }
138 inline void SetState(EndpointState value) { m_stateHasBeenSet = true; m_state = value; }
139 inline UpdateEndpointResult& WithState(EndpointState value) { SetState(value); return *this;}
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template<typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
147 template<typename RequestIdT = Aws::String>
148 UpdateEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
150 private:
151
152 Aws::String m_name;
153 bool m_nameHasBeenSet = false;
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 RoutingConfig m_routingConfig;
159 bool m_routingConfigHasBeenSet = false;
160
161 ReplicationConfig m_replicationConfig;
162 bool m_replicationConfigHasBeenSet = false;
163
165 bool m_eventBusesHasBeenSet = false;
166
167 Aws::String m_roleArn;
168 bool m_roleArnHasBeenSet = false;
169
170 Aws::String m_endpointId;
171 bool m_endpointIdHasBeenSet = false;
172
173 Aws::String m_endpointUrl;
174 bool m_endpointUrlHasBeenSet = false;
175
177 bool m_stateHasBeenSet = false;
178
179 Aws::String m_requestId;
180 bool m_requestIdHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace EventBridge
185} // namespace Aws
const ReplicationConfig & GetReplicationConfig() const
UpdateEndpointResult & WithState(EndpointState value)
AWS_EVENTBRIDGE_API UpdateEndpointResult()=default
UpdateEndpointResult & WithEndpointId(EndpointIdT &&value)
UpdateEndpointResult & WithRequestId(RequestIdT &&value)
UpdateEndpointResult & WithArn(ArnT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
UpdateEndpointResult & WithReplicationConfig(ReplicationConfigT &&value)
UpdateEndpointResult & WithRoleArn(RoleArnT &&value)
UpdateEndpointResult & WithEndpointUrl(EndpointUrlT &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
UpdateEndpointResult & WithName(NameT &&value)
AWS_EVENTBRIDGE_API UpdateEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API UpdateEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEndpointResult & WithRoutingConfig(RoutingConfigT &&value)
UpdateEndpointResult & AddEventBuses(EventBusesT &&value)
UpdateEndpointResult & WithEventBuses(EventBusesT &&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