AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEndpointResult.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 CreateEndpointResult();
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 CreateEndpointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateEndpointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateEndpointResult& 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 CreateEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline CreateEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline CreateEndpointResult& 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 CreateEndpointResult& WithRoutingConfig(const RoutingConfig& value) { SetRoutingConfig(value); return *this;}
74 inline CreateEndpointResult& WithRoutingConfig(RoutingConfig&& value) { SetRoutingConfig(std::move(value)); return *this;}
76
78
81 inline const ReplicationConfig& GetReplicationConfig() const{ return m_replicationConfig; }
82 inline void SetReplicationConfig(const ReplicationConfig& value) { m_replicationConfig = value; }
83 inline void SetReplicationConfig(ReplicationConfig&& value) { m_replicationConfig = std::move(value); }
85 inline CreateEndpointResult& WithReplicationConfig(ReplicationConfig&& value) { SetReplicationConfig(std::move(value)); return *this;}
87
89
92 inline const Aws::Vector<EndpointEventBus>& GetEventBuses() const{ return m_eventBuses; }
93 inline void SetEventBuses(const Aws::Vector<EndpointEventBus>& value) { m_eventBuses = value; }
94 inline void SetEventBuses(Aws::Vector<EndpointEventBus>&& value) { m_eventBuses = std::move(value); }
96 inline CreateEndpointResult& WithEventBuses(Aws::Vector<EndpointEventBus>&& value) { SetEventBuses(std::move(value)); return *this;}
97 inline CreateEndpointResult& AddEventBuses(const EndpointEventBus& value) { m_eventBuses.push_back(value); return *this; }
98 inline CreateEndpointResult& AddEventBuses(EndpointEventBus&& value) { m_eventBuses.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
106 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
107 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
108 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
109 inline CreateEndpointResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
110 inline CreateEndpointResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
111 inline CreateEndpointResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
113
115
118 inline const EndpointState& GetState() const{ return m_state; }
119 inline void SetState(const EndpointState& value) { m_state = value; }
120 inline void SetState(EndpointState&& value) { m_state = std::move(value); }
121 inline CreateEndpointResult& WithState(const EndpointState& value) { SetState(value); return *this;}
122 inline CreateEndpointResult& WithState(EndpointState&& value) { SetState(std::move(value)); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
129 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline CreateEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
132 inline CreateEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
133 inline CreateEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
135 private:
136
137 Aws::String m_name;
138
139 Aws::String m_arn;
140
141 RoutingConfig m_routingConfig;
142
143 ReplicationConfig m_replicationConfig;
144
146
147 Aws::String m_roleArn;
148
149 EndpointState m_state;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace EventBridge
156} // namespace Aws
void SetReplicationConfig(ReplicationConfig &&value)
CreateEndpointResult & WithRoutingConfig(RoutingConfig &&value)
CreateEndpointResult & WithRoleArn(Aws::String &&value)
void SetReplicationConfig(const ReplicationConfig &value)
CreateEndpointResult & WithRoleArn(const Aws::String &value)
CreateEndpointResult & WithArn(const Aws::String &value)
const ReplicationConfig & GetReplicationConfig() const
CreateEndpointResult & WithReplicationConfig(ReplicationConfig &&value)
CreateEndpointResult & WithName(const Aws::String &value)
CreateEndpointResult & WithState(EndpointState &&value)
CreateEndpointResult & WithName(Aws::String &&value)
CreateEndpointResult & WithRequestId(Aws::String &&value)
CreateEndpointResult & WithArn(Aws::String &&value)
CreateEndpointResult & WithRoutingConfig(const RoutingConfig &value)
CreateEndpointResult & WithEventBuses(Aws::Vector< EndpointEventBus > &&value)
CreateEndpointResult & WithArn(const char *value)
CreateEndpointResult & WithRoleArn(const char *value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
void SetEventBuses(Aws::Vector< EndpointEventBus > &&value)
AWS_EVENTBRIDGE_API CreateEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutingConfig(const RoutingConfig &value)
CreateEndpointResult & WithState(const EndpointState &value)
CreateEndpointResult & AddEventBuses(const EndpointEventBus &value)
AWS_EVENTBRIDGE_API CreateEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEndpointResult & AddEventBuses(EndpointEventBus &&value)
CreateEndpointResult & WithReplicationConfig(const ReplicationConfig &value)
CreateEndpointResult & WithName(const char *value)
CreateEndpointResult & WithRequestId(const Aws::String &value)
CreateEndpointResult & WithRequestId(const char *value)
void SetEventBuses(const Aws::Vector< EndpointEventBus > &value)
CreateEndpointResult & WithEventBuses(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