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/BatchConfiguration.h>
13#include <aws/eventbridgev2/model/FilterConfiguration.h>
14#include <aws/eventbridgev2/model/InvokeConfiguration.h>
15#include <aws/eventbridgev2/model/LogConfiguration.h>
16#include <aws/eventbridgev2/model/OnFailureConfiguration.h>
17#include <aws/eventbridgev2/model/OrderingType.h>
18#include <aws/eventbridgev2/model/PointInTimeConfiguration.h>
19#include <aws/eventbridgev2/model/RetryPolicy.h>
20#include <aws/eventbridgev2/model/StartingPosition.h>
21#include <aws/eventbridgev2/model/SubscriberState.h>
22#include <aws/eventbridgev2/model/Transformer.h>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
34namespace EventBridgeV2 {
45 template <
typename SubscriberArnT = Aws::String>
47 m_subscriberArnHasBeenSet =
true;
48 m_subscriberArn = std::forward<SubscriberArnT>(value);
50 template <
typename SubscriberArnT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
75 template <
typename EventBusArnT = Aws::String>
77 m_eventBusArnHasBeenSet =
true;
78 m_eventBusArn = std::forward<EventBusArnT>(value);
80 template <
typename EventBusArnT = Aws::String>
90 template <
typename InvokeConfigurationT = InvokeConfiguration>
92 m_invokeConfigurationHasBeenSet =
true;
93 m_invokeConfiguration = std::forward<InvokeConfigurationT>(value);
95 template <
typename InvokeConfigurationT = InvokeConfiguration>
105 template <
typename DescriptionT = Aws::String>
107 m_descriptionHasBeenSet =
true;
108 m_description = std::forward<DescriptionT>(value);
110 template <
typename DescriptionT = Aws::String>
120 template <
typename FilterConfigurationT = FilterConfiguration>
122 m_filterConfigurationHasBeenSet =
true;
123 m_filterConfiguration = std::forward<FilterConfigurationT>(value);
125 template <
typename FilterConfigurationT = FilterConfiguration>
136 m_typeHasBeenSet =
true;
149 m_startingPositionHasBeenSet =
true;
150 m_startingPosition = value;
161 template <
typename Po
intInTimeConfigurationT = Po
intInTimeConfiguration>
163 m_pointInTimeConfigurationHasBeenSet =
true;
164 m_pointInTimeConfiguration = std::forward<PointInTimeConfigurationT>(value);
166 template <
typename Po
intInTimeConfigurationT = Po
intInTimeConfiguration>
176 template <
typename BatchConfigurationT = BatchConfiguration>
178 m_batchConfigurationHasBeenSet =
true;
179 m_batchConfiguration = std::forward<BatchConfigurationT>(value);
181 template <
typename BatchConfigurationT = BatchConfiguration>
194 template <
typename TransformerT = Transformer>
196 m_transformerHasBeenSet =
true;
197 m_transformer = std::forward<TransformerT>(value);
199 template <
typename TransformerT = Transformer>
209 template <
typename RetryPolicyT = RetryPolicy>
211 m_retryPolicyHasBeenSet =
true;
212 m_retryPolicy = std::forward<RetryPolicyT>(value);
214 template <
typename RetryPolicyT = RetryPolicy>
224 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
226 m_onFailureConfigurationHasBeenSet =
true;
227 m_onFailureConfiguration = std::forward<OnFailureConfigurationT>(value);
229 template <
typename OnFailureConfigurationT = OnFailureConfiguration>
239 template <
typename LogConfigurationT = LogConfiguration>
241 m_logConfigurationHasBeenSet =
true;
242 m_logConfiguration = std::forward<LogConfigurationT>(value);
244 template <
typename LogConfigurationT = LogConfiguration>
255 m_stateHasBeenSet =
true;
274 m_revokedHasBeenSet =
true;
288 template <
typename CreationTimeT = Aws::Utils::DateTime>
290 m_creationTimeHasBeenSet =
true;
291 m_creationTime = std::forward<CreationTimeT>(value);
293 template <
typename CreationTimeT = Aws::Utils::DateTime>
305 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
307 m_lastModifiedTimeHasBeenSet =
true;
308 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
310 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
320 template <
typename RequestIdT = Aws::String>
322 m_requestIdHasBeenSet =
true;
323 m_requestId = std::forward<RequestIdT>(value);
325 template <
typename RequestIdT = Aws::String>
350 PointInTimeConfiguration m_pointInTimeConfiguration;
352 BatchConfiguration m_batchConfiguration;
354 Transformer m_transformer;
356 RetryPolicy m_retryPolicy;
358 OnFailureConfiguration m_onFailureConfiguration;
360 LogConfiguration m_logConfiguration;
364 bool m_revoked{
false};
372 bool m_subscriberArnHasBeenSet =
false;
373 bool m_nameHasBeenSet =
false;
374 bool m_eventBusArnHasBeenSet =
false;
375 bool m_invokeConfigurationHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
377 bool m_filterConfigurationHasBeenSet =
false;
378 bool m_typeHasBeenSet =
false;
379 bool m_startingPositionHasBeenSet =
false;
380 bool m_pointInTimeConfigurationHasBeenSet =
false;
381 bool m_batchConfigurationHasBeenSet =
false;
382 bool m_transformerHasBeenSet =
false;
383 bool m_retryPolicyHasBeenSet =
false;
384 bool m_onFailureConfigurationHasBeenSet =
false;
385 bool m_logConfigurationHasBeenSet =
false;
386 bool m_stateHasBeenSet =
false;
387 bool m_revokedHasBeenSet =
false;
388 bool m_creationTimeHasBeenSet =
false;
389 bool m_lastModifiedTimeHasBeenSet =
false;
390 bool m_requestIdHasBeenSet =
false;
DescribeSubscriberResult & WithSubscriberArn(SubscriberArnT &&value)
void SetFilterConfiguration(FilterConfigurationT &&value)
DescribeSubscriberResult & WithInvokeConfiguration(InvokeConfigurationT &&value)
void SetRetryPolicy(RetryPolicyT &&value)
DescribeSubscriberResult & WithType(OrderingType value)
void SetRevoked(bool value)
const FilterConfiguration & GetFilterConfiguration() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
StartingPosition GetStartingPosition() const
const OnFailureConfiguration & GetOnFailureConfiguration() const
DescribeSubscriberResult & WithDescription(DescriptionT &&value)
const Aws::String & GetEventBusArn() const
DescribeSubscriberResult & WithStartingPosition(StartingPosition value)
void SetBatchConfiguration(BatchConfigurationT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_EVENTBRIDGEV2_API DescribeSubscriberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetCreationTime(CreationTimeT &&value)
void SetName(NameT &&value)
DescribeSubscriberResult & WithFilterConfiguration(FilterConfigurationT &&value)
const RetryPolicy & GetRetryPolicy() const
void SetType(OrderingType value)
DescribeSubscriberResult & WithOnFailureConfiguration(OnFailureConfigurationT &&value)
AWS_EVENTBRIDGEV2_API DescribeSubscriberResult()=default
DescribeSubscriberResult & WithTransformer(TransformerT &&value)
const PointInTimeConfiguration & GetPointInTimeConfiguration() const
const Aws::String & GetSubscriberArn() const
void SetLogConfiguration(LogConfigurationT &&value)
void SetState(SubscriberState value)
OrderingType GetType() const
DescribeSubscriberResult & WithLogConfiguration(LogConfigurationT &&value)
const Aws::String & GetName() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const LogConfiguration & GetLogConfiguration() const
void SetStartingPosition(StartingPosition value)
const BatchConfiguration & GetBatchConfiguration() const
const Aws::String & GetDescription() const
DescribeSubscriberResult & WithName(NameT &&value)
void SetPointInTimeConfiguration(PointInTimeConfigurationT &&value)
void SetRequestId(RequestIdT &&value)
DescribeSubscriberResult & WithRevoked(bool value)
AWS_EVENTBRIDGEV2_API DescribeSubscriberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeSubscriberResult & WithCreationTime(CreationTimeT &&value)
DescribeSubscriberResult & WithEventBusArn(EventBusArnT &&value)
DescribeSubscriberResult & WithState(SubscriberState value)
DescribeSubscriberResult & WithRetryPolicy(RetryPolicyT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
SubscriberState GetState() const
void SetInvokeConfiguration(InvokeConfigurationT &&value)
DescribeSubscriberResult & WithBatchConfiguration(BatchConfigurationT &&value)
void SetSubscriberArn(SubscriberArnT &&value)
DescribeSubscriberResult & WithPointInTimeConfiguration(PointInTimeConfigurationT &&value)
const InvokeConfiguration & GetInvokeConfiguration() const
void SetEventBusArn(EventBusArnT &&value)
const Transformer & GetTransformer() const
void SetOnFailureConfiguration(OnFailureConfigurationT &&value)
DescribeSubscriberResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetTransformer(TransformerT &&value)
DescribeSubscriberResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String