AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscribeToShardEventStream.h
1
6#pragma once
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>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Kinesis
31{
32namespace Model
33{
34
43 {
44 public:
45 AWS_KINESIS_API SubscribeToShardEventStream();
48 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
58 inline const SubscribeToShardEvent& GetSubscribeToShardEvent() const{ return m_subscribeToShardEvent; }
59 inline bool SubscribeToShardEventHasBeenSet() const { return m_subscribeToShardEventHasBeenSet; }
60 inline void SetSubscribeToShardEvent(const SubscribeToShardEvent& value) { m_subscribeToShardEventHasBeenSet = true; m_subscribeToShardEvent = value; }
61 inline void SetSubscribeToShardEvent(SubscribeToShardEvent&& value) { m_subscribeToShardEventHasBeenSet = true; m_subscribeToShardEvent = std::move(value); }
65
67
68 inline const ResourceNotFoundException& GetResourceNotFoundException() const{ return m_resourceNotFoundException; }
69 inline bool ResourceNotFoundExceptionHasBeenSet() const { return m_resourceNotFoundExceptionHasBeenSet; }
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); }
72 inline SubscribeToShardEventStream& WithResourceNotFoundException(const ResourceNotFoundException& value) { SetResourceNotFoundException(value); return *this;}
73 inline SubscribeToShardEventStream& WithResourceNotFoundException(ResourceNotFoundException&& value) { SetResourceNotFoundException(std::move(value)); return *this;}
75
77
78 inline const ResourceInUseException& GetResourceInUseException() const{ return m_resourceInUseException; }
79 inline bool ResourceInUseExceptionHasBeenSet() const { return m_resourceInUseExceptionHasBeenSet; }
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); }
82 inline SubscribeToShardEventStream& WithResourceInUseException(const ResourceInUseException& value) { SetResourceInUseException(value); return *this;}
83 inline SubscribeToShardEventStream& WithResourceInUseException(ResourceInUseException&& value) { SetResourceInUseException(std::move(value)); return *this;}
85
87
88 inline const KMSDisabledException& GetKMSDisabledException() const{ return m_kMSDisabledException; }
89 inline bool KMSDisabledExceptionHasBeenSet() const { return m_kMSDisabledExceptionHasBeenSet; }
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); }
92 inline SubscribeToShardEventStream& WithKMSDisabledException(const KMSDisabledException& value) { SetKMSDisabledException(value); return *this;}
93 inline SubscribeToShardEventStream& WithKMSDisabledException(KMSDisabledException&& value) { SetKMSDisabledException(std::move(value)); return *this;}
95
97
98 inline const KMSInvalidStateException& GetKMSInvalidStateException() const{ return m_kMSInvalidStateException; }
99 inline bool KMSInvalidStateExceptionHasBeenSet() const { return m_kMSInvalidStateExceptionHasBeenSet; }
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); }
102 inline SubscribeToShardEventStream& WithKMSInvalidStateException(const KMSInvalidStateException& value) { SetKMSInvalidStateException(value); return *this;}
103 inline SubscribeToShardEventStream& WithKMSInvalidStateException(KMSInvalidStateException&& value) { SetKMSInvalidStateException(std::move(value)); return *this;}
105
107
108 inline const KMSAccessDeniedException& GetKMSAccessDeniedException() const{ return m_kMSAccessDeniedException; }
109 inline bool KMSAccessDeniedExceptionHasBeenSet() const { return m_kMSAccessDeniedExceptionHasBeenSet; }
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); }
112 inline SubscribeToShardEventStream& WithKMSAccessDeniedException(const KMSAccessDeniedException& value) { SetKMSAccessDeniedException(value); return *this;}
113 inline SubscribeToShardEventStream& WithKMSAccessDeniedException(KMSAccessDeniedException&& value) { SetKMSAccessDeniedException(std::move(value)); return *this;}
115
117
118 inline const KMSNotFoundException& GetKMSNotFoundException() const{ return m_kMSNotFoundException; }
119 inline bool KMSNotFoundExceptionHasBeenSet() const { return m_kMSNotFoundExceptionHasBeenSet; }
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); }
122 inline SubscribeToShardEventStream& WithKMSNotFoundException(const KMSNotFoundException& value) { SetKMSNotFoundException(value); return *this;}
123 inline SubscribeToShardEventStream& WithKMSNotFoundException(KMSNotFoundException&& value) { SetKMSNotFoundException(std::move(value)); return *this;}
125
127
128 inline const KMSOptInRequired& GetKMSOptInRequired() const{ return m_kMSOptInRequired; }
129 inline bool KMSOptInRequiredHasBeenSet() const { return m_kMSOptInRequiredHasBeenSet; }
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); }
132 inline SubscribeToShardEventStream& WithKMSOptInRequired(const KMSOptInRequired& value) { SetKMSOptInRequired(value); return *this;}
133 inline SubscribeToShardEventStream& WithKMSOptInRequired(KMSOptInRequired&& value) { SetKMSOptInRequired(std::move(value)); return *this;}
135
137
138 inline const KMSThrottlingException& GetKMSThrottlingException() const{ return m_kMSThrottlingException; }
139 inline bool KMSThrottlingExceptionHasBeenSet() const { return m_kMSThrottlingExceptionHasBeenSet; }
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); }
142 inline SubscribeToShardEventStream& WithKMSThrottlingException(const KMSThrottlingException& value) { SetKMSThrottlingException(value); return *this;}
143 inline SubscribeToShardEventStream& WithKMSThrottlingException(KMSThrottlingException&& value) { SetKMSThrottlingException(std::move(value)); return *this;}
145
147
151 inline const InternalFailureException& GetInternalFailureException() const{ return m_internalFailureException; }
152 inline bool InternalFailureExceptionHasBeenSet() const { return m_internalFailureExceptionHasBeenSet; }
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); }
155 inline SubscribeToShardEventStream& WithInternalFailureException(const InternalFailureException& value) { SetInternalFailureException(value); return *this;}
156 inline SubscribeToShardEventStream& WithInternalFailureException(InternalFailureException&& value) { SetInternalFailureException(std::move(value)); return *this;}
158 private:
159
160 SubscribeToShardEvent m_subscribeToShardEvent;
161 bool m_subscribeToShardEventHasBeenSet = false;
162
163 ResourceNotFoundException m_resourceNotFoundException;
164 bool m_resourceNotFoundExceptionHasBeenSet = false;
165
166 ResourceInUseException m_resourceInUseException;
167 bool m_resourceInUseExceptionHasBeenSet = false;
168
169 KMSDisabledException m_kMSDisabledException;
170 bool m_kMSDisabledExceptionHasBeenSet = false;
171
172 KMSInvalidStateException m_kMSInvalidStateException;
173 bool m_kMSInvalidStateExceptionHasBeenSet = false;
174
175 KMSAccessDeniedException m_kMSAccessDeniedException;
176 bool m_kMSAccessDeniedExceptionHasBeenSet = false;
177
178 KMSNotFoundException m_kMSNotFoundException;
179 bool m_kMSNotFoundExceptionHasBeenSet = false;
180
181 KMSOptInRequired m_kMSOptInRequired;
182 bool m_kMSOptInRequiredHasBeenSet = false;
183
184 KMSThrottlingException m_kMSThrottlingException;
185 bool m_kMSThrottlingExceptionHasBeenSet = false;
186
187 InternalFailureException m_internalFailureException;
188 bool m_internalFailureExceptionHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Kinesis
193} // namespace Aws
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)
SubscribeToShardEventStream & WithResourceNotFoundException(ResourceNotFoundException &&value)
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
void SetResourceInUseException(ResourceInUseException &&value)
SubscribeToShardEventStream & WithKMSNotFoundException(KMSNotFoundException &&value)
SubscribeToShardEventStream & WithKMSAccessDeniedException(KMSAccessDeniedException &&value)
SubscribeToShardEventStream & WithResourceInUseException(ResourceInUseException &&value)
void SetKMSNotFoundException(const KMSNotFoundException &value)
SubscribeToShardEventStream & WithKMSDisabledException(KMSDisabledException &&value)
void SetInternalFailureException(const InternalFailureException &value)
SubscribeToShardEventStream & WithResourceNotFoundException(const ResourceNotFoundException &value)
SubscribeToShardEventStream & WithSubscribeToShardEvent(SubscribeToShardEvent &&value)
const KMSNotFoundException & GetKMSNotFoundException() const
void SetKMSThrottlingException(KMSThrottlingException &&value)
const ResourceInUseException & GetResourceInUseException() const
void SetKMSAccessDeniedException(const KMSAccessDeniedException &value)
SubscribeToShardEventStream & WithKMSThrottlingException(const KMSThrottlingException &value)
void SetKMSAccessDeniedException(KMSAccessDeniedException &&value)
void SetResourceInUseException(const ResourceInUseException &value)
const ResourceNotFoundException & GetResourceNotFoundException() const
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() 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)
void SetKMSDisabledException(const KMSDisabledException &value)
const SubscribeToShardEvent & GetSubscribeToShardEvent() const
void SetKMSInvalidStateException(const KMSInvalidStateException &value)
const KMSInvalidStateException & GetKMSInvalidStateException() const
SubscribeToShardEventStream & WithKMSInvalidStateException(KMSInvalidStateException &&value)
SubscribeToShardEventStream & WithResourceInUseException(const ResourceInUseException &value)
SubscribeToShardEventStream & WithKMSOptInRequired(KMSOptInRequired &&value)
const KMSDisabledException & GetKMSDisabledException() const
SubscribeToShardEventStream & WithKMSDisabledException(const KMSDisabledException &value)
SubscribeToShardEventStream & WithKMSNotFoundException(const KMSNotFoundException &value)
Aws::Utils::Json::JsonValue JsonValue