7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/OrderingType.h>
13#include <aws/eventbridgev2/model/PointInTimeConfiguration.h>
14#include <aws/eventbridgev2/model/StartingPosition.h>
15#include <aws/eventbridgev2/model/SubscriberState.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace EventBridgeV2 {
38 template <
typename SubscriberArnT = Aws::String>
40 m_subscriberArnHasBeenSet =
true;
41 m_subscriberArn = std::forward<SubscriberArnT>(value);
43 template <
typename SubscriberArnT = Aws::String>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
68 template <
typename EventBusArnT = Aws::String>
70 m_eventBusArnHasBeenSet =
true;
71 m_eventBusArn = std::forward<EventBusArnT>(value);
73 template <
typename EventBusArnT = Aws::String>
84 m_typeHasBeenSet =
true;
97 m_startingPositionHasBeenSet =
true;
98 m_startingPosition = value;
109 template <
typename Po
intInTimeConfigurationT = Po
intInTimeConfiguration>
111 m_pointInTimeConfigurationHasBeenSet =
true;
112 m_pointInTimeConfiguration = std::forward<PointInTimeConfigurationT>(value);
114 template <
typename Po
intInTimeConfigurationT = Po
intInTimeConfiguration>
125 m_stateHasBeenSet =
true;
139 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
141 m_lastModifiedTimeHasBeenSet =
true;
142 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
144 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
178 PointInTimeConfiguration m_pointInTimeConfiguration;
186 bool m_subscriberArnHasBeenSet =
false;
187 bool m_nameHasBeenSet =
false;
188 bool m_eventBusArnHasBeenSet =
false;
189 bool m_typeHasBeenSet =
false;
190 bool m_startingPositionHasBeenSet =
false;
191 bool m_pointInTimeConfigurationHasBeenSet =
false;
192 bool m_stateHasBeenSet =
false;
193 bool m_lastModifiedTimeHasBeenSet =
false;
194 bool m_requestIdHasBeenSet =
false;
void SetStartingPosition(StartingPosition value)
AWS_EVENTBRIDGEV2_API UpdateSubscriberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
UpdateSubscriberResult & WithType(OrderingType value)
UpdateSubscriberResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_EVENTBRIDGEV2_API UpdateSubscriberResult()=default
StartingPosition GetStartingPosition() const
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
UpdateSubscriberResult & WithSubscriberArn(SubscriberArnT &&value)
UpdateSubscriberResult & WithRequestId(RequestIdT &&value)
void SetEventBusArn(EventBusArnT &&value)
void SetType(OrderingType value)
void SetSubscriberArn(SubscriberArnT &&value)
const Aws::String & GetName() const
const Aws::String & GetSubscriberArn() const
UpdateSubscriberResult & WithPointInTimeConfiguration(PointInTimeConfigurationT &&value)
SubscriberState GetState() const
const Aws::String & GetEventBusArn() const
void SetRequestId(RequestIdT &&value)
UpdateSubscriberResult & WithStartingPosition(StartingPosition value)
OrderingType GetType() const
AWS_EVENTBRIDGEV2_API UpdateSubscriberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetPointInTimeConfiguration(PointInTimeConfigurationT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
UpdateSubscriberResult & WithEventBusArn(EventBusArnT &&value)
UpdateSubscriberResult & WithState(SubscriberState value)
void SetState(SubscriberState value)
const PointInTimeConfiguration & GetPointInTimeConfiguration() const
UpdateSubscriberResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String