7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/model/SubscribeToShardEvent.h>
45 template <
typename SubscribeToShardEventT = SubscribeToShardEvent>
47 m_subscribeToShardEventHasBeenSet =
true;
48 m_subscribeToShardEvent = std::forward<SubscribeToShardEventT>(value);
50 template <
typename SubscribeToShardEventT = SubscribeToShardEvent>
61 template <
typename ResourceNotFoundExceptionT = KinesisError>
63 m_resourceNotFoundExceptionHasBeenSet =
true;
64 m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value);
66 template <
typename ResourceNotFoundExceptionT = KinesisError>
77 template <
typename ResourceInUseExceptionT = KinesisError>
79 m_resourceInUseExceptionHasBeenSet =
true;
80 m_resourceInUseException = std::forward<ResourceInUseExceptionT>(value);
82 template <
typename ResourceInUseExceptionT = KinesisError>
93 template <
typename KMSDisabledExceptionT = KinesisError>
95 m_kMSDisabledExceptionHasBeenSet =
true;
96 m_kMSDisabledException = std::forward<KMSDisabledExceptionT>(value);
98 template <
typename KMSDisabledExceptionT = KinesisError>
109 template <
typename KMSInval
idStateExceptionT = KinesisError>
111 m_kMSInvalidStateExceptionHasBeenSet =
true;
112 m_kMSInvalidStateException = std::forward<KMSInvalidStateExceptionT>(value);
114 template <
typename KMSInval
idStateExceptionT = KinesisError>
125 template <
typename KMSAccessDeniedExceptionT = KinesisError>
127 m_kMSAccessDeniedExceptionHasBeenSet =
true;
128 m_kMSAccessDeniedException = std::forward<KMSAccessDeniedExceptionT>(value);
130 template <
typename KMSAccessDeniedExceptionT = KinesisError>
141 template <
typename KMSNotFoundExceptionT = KinesisError>
143 m_kMSNotFoundExceptionHasBeenSet =
true;
144 m_kMSNotFoundException = std::forward<KMSNotFoundExceptionT>(value);
146 template <
typename KMSNotFoundExceptionT = KinesisError>
157 template <
typename KMSOptInRequiredT = KinesisError>
159 m_kMSOptInRequiredHasBeenSet =
true;
160 m_kMSOptInRequired = std::forward<KMSOptInRequiredT>(value);
162 template <
typename KMSOptInRequiredT = KinesisError>
173 template <
typename KMSThrottlingExceptionT = KinesisError>
175 m_kMSThrottlingExceptionHasBeenSet =
true;
176 m_kMSThrottlingException = std::forward<KMSThrottlingExceptionT>(value);
178 template <
typename KMSThrottlingExceptionT = KinesisError>
192 template <
typename InternalFailureExceptionT = KinesisError>
194 m_internalFailureExceptionHasBeenSet =
true;
195 m_internalFailureException = std::forward<InternalFailureExceptionT>(value);
197 template <
typename InternalFailureExceptionT = KinesisError>
223 bool m_subscribeToShardEventHasBeenSet =
false;
224 bool m_resourceNotFoundExceptionHasBeenSet =
false;
225 bool m_resourceInUseExceptionHasBeenSet =
false;
226 bool m_kMSDisabledExceptionHasBeenSet =
false;
227 bool m_kMSInvalidStateExceptionHasBeenSet =
false;
228 bool m_kMSAccessDeniedExceptionHasBeenSet =
false;
229 bool m_kMSNotFoundExceptionHasBeenSet =
false;
230 bool m_kMSOptInRequiredHasBeenSet =
false;
231 bool m_kMSThrottlingExceptionHasBeenSet =
false;
232 bool m_internalFailureExceptionHasBeenSet =
false;
void SetKMSNotFoundException(KMSNotFoundExceptionT &&value)
void SetKMSOptInRequired(KMSOptInRequiredT &&value)
AWS_KINESIS_API SubscribeToShardEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubscribeToShardEvent(SubscribeToShardEventT &&value)
AWS_KINESIS_API SubscribeToShardEventStream()=default
const KinesisError & GetInternalFailureException() const
bool KMSThrottlingExceptionHasBeenSet() const
void SetResourceInUseException(ResourceInUseExceptionT &&value)
void SetKMSDisabledException(KMSDisabledExceptionT &&value)
bool ResourceInUseExceptionHasBeenSet() const
bool KMSOptInRequiredHasBeenSet() const
SubscribeToShardEventStream & WithKMSDisabledException(KMSDisabledExceptionT &&value)
const KinesisError & GetKMSNotFoundException() const
SubscribeToShardEventStream & WithKMSInvalidStateException(KMSInvalidStateExceptionT &&value)
SubscribeToShardEventStream & WithKMSOptInRequired(KMSOptInRequiredT &&value)
SubscribeToShardEventStream & WithSubscribeToShardEvent(SubscribeToShardEventT &&value)
bool KMSDisabledExceptionHasBeenSet() const
const KinesisError & GetKMSInvalidStateException() const
const KinesisError & GetKMSOptInRequired() const
SubscribeToShardEventStream & WithResourceNotFoundException(ResourceNotFoundExceptionT &&value)
SubscribeToShardEventStream & WithKMSThrottlingException(KMSThrottlingExceptionT &&value)
void SetKMSInvalidStateException(KMSInvalidStateExceptionT &&value)
bool InternalFailureExceptionHasBeenSet() const
bool ResourceNotFoundExceptionHasBeenSet() const
bool KMSNotFoundExceptionHasBeenSet() const
const KinesisError & GetResourceInUseException() const
const KinesisError & GetKMSDisabledException() const
void SetResourceNotFoundException(ResourceNotFoundExceptionT &&value)
SubscribeToShardEventStream & WithKMSNotFoundException(KMSNotFoundExceptionT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubscribeToShardEventHasBeenSet() const
AWS_KINESIS_API SubscribeToShardEventStream(Aws::Utils::Json::JsonView jsonValue)
SubscribeToShardEventStream & WithKMSAccessDeniedException(KMSAccessDeniedExceptionT &&value)
bool KMSInvalidStateExceptionHasBeenSet() const
void SetKMSAccessDeniedException(KMSAccessDeniedExceptionT &&value)
const SubscribeToShardEvent & GetSubscribeToShardEvent() const
bool KMSAccessDeniedExceptionHasBeenSet() const
void SetKMSThrottlingException(KMSThrottlingExceptionT &&value)
void SetInternalFailureException(InternalFailureExceptionT &&value)
const KinesisError & GetResourceNotFoundException() const
const KinesisError & GetKMSThrottlingException() const
SubscribeToShardEventStream & WithInternalFailureException(InternalFailureExceptionT &&value)
const KinesisError & GetKMSAccessDeniedException() const
SubscribeToShardEventStream & WithResourceInUseException(ResourceInUseExceptionT &&value)
Aws::Utils::Json::JsonValue JsonValue