7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/model/SubscribeToShardEvent.h>
51 template<
typename SubscribeToShardEventT = SubscribeToShardEvent>
52 void SetSubscribeToShardEvent(SubscribeToShardEventT&& value) { m_subscribeToShardEventHasBeenSet =
true; m_subscribeToShardEvent = std::forward<SubscribeToShardEventT>(value); }
53 template<
typename SubscribeToShardEventT = SubscribeToShardEvent>
61 template<
typename ResourceNotFoundExceptionT = KinesisError>
62 void SetResourceNotFoundException(ResourceNotFoundExceptionT&& value) { m_resourceNotFoundExceptionHasBeenSet =
true; m_resourceNotFoundException = std::forward<ResourceNotFoundExceptionT>(value); }
63 template<
typename ResourceNotFoundExceptionT = KinesisError>
71 template<
typename ResourceInUseExceptionT = KinesisError>
72 void SetResourceInUseException(ResourceInUseExceptionT&& value) { m_resourceInUseExceptionHasBeenSet =
true; m_resourceInUseException = std::forward<ResourceInUseExceptionT>(value); }
73 template<
typename ResourceInUseExceptionT = KinesisError>
81 template<
typename KMSDisabledExceptionT = KinesisError>
82 void SetKMSDisabledException(KMSDisabledExceptionT&& value) { m_kMSDisabledExceptionHasBeenSet =
true; m_kMSDisabledException = std::forward<KMSDisabledExceptionT>(value); }
83 template<
typename KMSDisabledExceptionT = KinesisError>
91 template<
typename KMSInval
idStateExceptionT = KinesisError>
92 void SetKMSInvalidStateException(KMSInvalidStateExceptionT&& value) { m_kMSInvalidStateExceptionHasBeenSet =
true; m_kMSInvalidStateException = std::forward<KMSInvalidStateExceptionT>(value); }
93 template<
typename KMSInval
idStateExceptionT = KinesisError>
101 template<
typename KMSAccessDeniedExceptionT = KinesisError>
102 void SetKMSAccessDeniedException(KMSAccessDeniedExceptionT&& value) { m_kMSAccessDeniedExceptionHasBeenSet =
true; m_kMSAccessDeniedException = std::forward<KMSAccessDeniedExceptionT>(value); }
103 template<
typename KMSAccessDeniedExceptionT = KinesisError>
111 template<
typename KMSNotFoundExceptionT = KinesisError>
112 void SetKMSNotFoundException(KMSNotFoundExceptionT&& value) { m_kMSNotFoundExceptionHasBeenSet =
true; m_kMSNotFoundException = std::forward<KMSNotFoundExceptionT>(value); }
113 template<
typename KMSNotFoundExceptionT = KinesisError>
121 template<
typename KMSOptInRequiredT = KinesisError>
122 void SetKMSOptInRequired(KMSOptInRequiredT&& value) { m_kMSOptInRequiredHasBeenSet =
true; m_kMSOptInRequired = std::forward<KMSOptInRequiredT>(value); }
123 template<
typename KMSOptInRequiredT = KinesisError>
131 template<
typename KMSThrottlingExceptionT = KinesisError>
132 void SetKMSThrottlingException(KMSThrottlingExceptionT&& value) { m_kMSThrottlingExceptionHasBeenSet =
true; m_kMSThrottlingException = std::forward<KMSThrottlingExceptionT>(value); }
133 template<
typename KMSThrottlingExceptionT = KinesisError>
144 template<
typename InternalFailureExceptionT = KinesisError>
145 void SetInternalFailureException(InternalFailureExceptionT&& value) { m_internalFailureExceptionHasBeenSet =
true; m_internalFailureException = std::forward<InternalFailureExceptionT>(value); }
146 template<
typename InternalFailureExceptionT = KinesisError>
152 bool m_subscribeToShardEventHasBeenSet =
false;
155 bool m_resourceNotFoundExceptionHasBeenSet =
false;
158 bool m_resourceInUseExceptionHasBeenSet =
false;
161 bool m_kMSDisabledExceptionHasBeenSet =
false;
164 bool m_kMSInvalidStateExceptionHasBeenSet =
false;
167 bool m_kMSAccessDeniedExceptionHasBeenSet =
false;
170 bool m_kMSNotFoundExceptionHasBeenSet =
false;
173 bool m_kMSOptInRequiredHasBeenSet =
false;
176 bool m_kMSThrottlingExceptionHasBeenSet =
false;
179 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