7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/model/SubscribeToShardEvent.h>
9#include <aws/kinesis/model/ResourceNotFoundException.h>
10#include <aws/kinesis/model/ResourceInUseException.h>
11#include <aws/kinesis/model/KMSDisabledException.h>
12#include <aws/kinesis/model/KMSInvalidStateException.h>
13#include <aws/kinesis/model/KMSAccessDeniedException.h>
14#include <aws/kinesis/model/KMSNotFoundException.h>
15#include <aws/kinesis/model/KMSOptInRequired.h>
16#include <aws/kinesis/model/KMSThrottlingException.h>
17#include <aws/kinesis/model/InternalFailureException.h>
70 inline void SetResourceNotFoundException(
const ResourceNotFoundException& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = value; }
71 inline void SetResourceNotFoundException(ResourceNotFoundException&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::move(value); }
80 inline void SetResourceInUseException(
const ResourceInUseException& value) { m_resourceInUseExceptionHasBeenSet =
true; m_resourceInUseException = value; }
81 inline void SetResourceInUseException(ResourceInUseException&& value) { m_resourceInUseExceptionHasBeenSet =
true; m_resourceInUseException = std::move(value); }
90 inline void SetKMSDisabledException(
const KMSDisabledException& value) { m_kMSDisabledExceptionHasBeenSet =
true; m_kMSDisabledException = value; }
91 inline void SetKMSDisabledException(KMSDisabledException&& value) { m_kMSDisabledExceptionHasBeenSet =
true; m_kMSDisabledException = std::move(value); }
100 inline void SetKMSInvalidStateException(
const KMSInvalidStateException& value) { m_kMSInvalidStateExceptionHasBeenSet =
true; m_kMSInvalidStateException = value; }
101 inline void SetKMSInvalidStateException(KMSInvalidStateException&& value) { m_kMSInvalidStateExceptionHasBeenSet =
true; m_kMSInvalidStateException = std::move(value); }
110 inline void SetKMSAccessDeniedException(
const KMSAccessDeniedException& value) { m_kMSAccessDeniedExceptionHasBeenSet =
true; m_kMSAccessDeniedException = value; }
111 inline void SetKMSAccessDeniedException(KMSAccessDeniedException&& value) { m_kMSAccessDeniedExceptionHasBeenSet =
true; m_kMSAccessDeniedException = std::move(value); }
120 inline void SetKMSNotFoundException(
const KMSNotFoundException& value) { m_kMSNotFoundExceptionHasBeenSet =
true; m_kMSNotFoundException = value; }
121 inline void SetKMSNotFoundException(KMSNotFoundException&& value) { m_kMSNotFoundExceptionHasBeenSet =
true; m_kMSNotFoundException = std::move(value); }
130 inline void SetKMSOptInRequired(
const KMSOptInRequired& value) { m_kMSOptInRequiredHasBeenSet =
true; m_kMSOptInRequired = value; }
131 inline void SetKMSOptInRequired(KMSOptInRequired&& value) { m_kMSOptInRequiredHasBeenSet =
true; m_kMSOptInRequired = std::move(value); }
140 inline void SetKMSThrottlingException(
const KMSThrottlingException& value) { m_kMSThrottlingExceptionHasBeenSet =
true; m_kMSThrottlingException = value; }
141 inline void SetKMSThrottlingException(KMSThrottlingException&& value) { m_kMSThrottlingExceptionHasBeenSet =
true; m_kMSThrottlingException = std::move(value); }
153 inline void SetInternalFailureException(
const InternalFailureException& value) { m_internalFailureExceptionHasBeenSet =
true; m_internalFailureException = value; }
154 inline void SetInternalFailureException(InternalFailureException&& value) { m_internalFailureExceptionHasBeenSet =
true; m_internalFailureException = std::move(value); }
161 bool m_subscribeToShardEventHasBeenSet =
false;
163 ResourceNotFoundException m_resourceNotFoundException;
164 bool m_resourceNotFoundExceptionHasBeenSet =
false;
166 ResourceInUseException m_resourceInUseException;
167 bool m_resourceInUseExceptionHasBeenSet =
false;
169 KMSDisabledException m_kMSDisabledException;
170 bool m_kMSDisabledExceptionHasBeenSet =
false;
172 KMSInvalidStateException m_kMSInvalidStateException;
173 bool m_kMSInvalidStateExceptionHasBeenSet =
false;
175 KMSAccessDeniedException m_kMSAccessDeniedException;
176 bool m_kMSAccessDeniedExceptionHasBeenSet =
false;
178 KMSNotFoundException m_kMSNotFoundException;
179 bool m_kMSNotFoundExceptionHasBeenSet =
false;
181 KMSOptInRequired m_kMSOptInRequired;
182 bool m_kMSOptInRequiredHasBeenSet =
false;
184 KMSThrottlingException m_kMSThrottlingException;
185 bool m_kMSThrottlingExceptionHasBeenSet =
false;
187 InternalFailureException m_internalFailureException;
188 bool m_internalFailureExceptionHasBeenSet =
false;
SubscribeToShardEventStream & WithKMSInvalidStateException(const KMSInvalidStateException &value)
SubscribeToShardEventStream & WithKMSAccessDeniedException(const KMSAccessDeniedException &value)
void SetResourceNotFoundException(ResourceNotFoundException &&value)
AWS_KINESIS_API SubscribeToShardEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKMSInvalidStateException(KMSInvalidStateException &&value)
SubscribeToShardEventStream & WithSubscribeToShardEvent(const SubscribeToShardEvent &value)
SubscribeToShardEventStream & WithKMSThrottlingException(KMSThrottlingException &&value)
void SetSubscribeToShardEvent(const SubscribeToShardEvent &value)
AWS_KINESIS_API SubscribeToShardEventStream()
SubscribeToShardEventStream & WithResourceNotFoundException(ResourceNotFoundException &&value)
bool KMSThrottlingExceptionHasBeenSet() const
void SetInternalFailureException(InternalFailureException &&value)
SubscribeToShardEventStream & WithInternalFailureException(const InternalFailureException &value)
void SetResourceNotFoundException(const ResourceNotFoundException &value)
void SetKMSThrottlingException(const KMSThrottlingException &value)
SubscribeToShardEventStream & WithInternalFailureException(InternalFailureException &&value)
const KMSThrottlingException & GetKMSThrottlingException() const
const KMSOptInRequired & GetKMSOptInRequired() const
bool ResourceInUseExceptionHasBeenSet() const
void SetResourceInUseException(ResourceInUseException &&value)
SubscribeToShardEventStream & WithKMSNotFoundException(KMSNotFoundException &&value)
SubscribeToShardEventStream & WithKMSAccessDeniedException(KMSAccessDeniedException &&value)
SubscribeToShardEventStream & WithResourceInUseException(ResourceInUseException &&value)
void SetKMSNotFoundException(const KMSNotFoundException &value)
bool KMSOptInRequiredHasBeenSet() const
SubscribeToShardEventStream & WithKMSDisabledException(KMSDisabledException &&value)
void SetInternalFailureException(const InternalFailureException &value)
SubscribeToShardEventStream & WithResourceNotFoundException(const ResourceNotFoundException &value)
SubscribeToShardEventStream & WithSubscribeToShardEvent(SubscribeToShardEvent &&value)
const KMSNotFoundException & GetKMSNotFoundException() const
bool KMSDisabledExceptionHasBeenSet() const
void SetKMSThrottlingException(KMSThrottlingException &&value)
const ResourceInUseException & GetResourceInUseException() const
void SetKMSAccessDeniedException(const KMSAccessDeniedException &value)
bool InternalFailureExceptionHasBeenSet() const
SubscribeToShardEventStream & WithKMSThrottlingException(const KMSThrottlingException &value)
bool ResourceNotFoundExceptionHasBeenSet() const
bool KMSNotFoundExceptionHasBeenSet() const
void SetKMSAccessDeniedException(KMSAccessDeniedException &&value)
void SetKMSNotFoundException(KMSNotFoundException &&value)
void SetKMSDisabledException(KMSDisabledException &&value)
void SetResourceInUseException(const ResourceInUseException &value)
const ResourceNotFoundException & GetResourceNotFoundException() const
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubscribeToShardEventHasBeenSet() const
const InternalFailureException & GetInternalFailureException() const
AWS_KINESIS_API SubscribeToShardEventStream(Aws::Utils::Json::JsonView jsonValue)
const KMSAccessDeniedException & GetKMSAccessDeniedException() const
SubscribeToShardEventStream & WithKMSOptInRequired(const KMSOptInRequired &value)
void SetSubscribeToShardEvent(SubscribeToShardEvent &&value)
bool KMSInvalidStateExceptionHasBeenSet() const
void SetKMSDisabledException(const KMSDisabledException &value)
const SubscribeToShardEvent & GetSubscribeToShardEvent() const
void SetKMSInvalidStateException(const KMSInvalidStateException &value)
const KMSInvalidStateException & GetKMSInvalidStateException() const
SubscribeToShardEventStream & WithKMSInvalidStateException(KMSInvalidStateException &&value)
bool KMSAccessDeniedExceptionHasBeenSet() const
SubscribeToShardEventStream & WithResourceInUseException(const ResourceInUseException &value)
void SetKMSOptInRequired(const KMSOptInRequired &value)
SubscribeToShardEventStream & WithKMSOptInRequired(KMSOptInRequired &&value)
const KMSDisabledException & GetKMSDisabledException() const
SubscribeToShardEventStream & WithKMSDisabledException(const KMSDisabledException &value)
SubscribeToShardEventStream & WithKMSNotFoundException(const KMSNotFoundException &value)
void SetKMSOptInRequired(KMSOptInRequired &&value)
Aws::Utils::Json::JsonValue JsonValue