AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Firehose
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateDestination"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
41 
45  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
46 
50  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
51 
55  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
56 
60  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
61 
65  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
66 
70  inline UpdateDestinationRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
71 
75  inline UpdateDestinationRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
76 
80  inline UpdateDestinationRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
81 
82 
91  inline const Aws::String& GetCurrentDeliveryStreamVersionId() const{ return m_currentDeliveryStreamVersionId; }
92 
101  inline bool CurrentDeliveryStreamVersionIdHasBeenSet() const { return m_currentDeliveryStreamVersionIdHasBeenSet; }
102 
111  inline void SetCurrentDeliveryStreamVersionId(const Aws::String& value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId = value; }
112 
121  inline void SetCurrentDeliveryStreamVersionId(Aws::String&& value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId = std::move(value); }
122 
131  inline void SetCurrentDeliveryStreamVersionId(const char* value) { m_currentDeliveryStreamVersionIdHasBeenSet = true; m_currentDeliveryStreamVersionId.assign(value); }
132 
141  inline UpdateDestinationRequest& WithCurrentDeliveryStreamVersionId(const Aws::String& value) { SetCurrentDeliveryStreamVersionId(value); return *this;}
142 
151  inline UpdateDestinationRequest& WithCurrentDeliveryStreamVersionId(Aws::String&& value) { SetCurrentDeliveryStreamVersionId(std::move(value)); return *this;}
152 
161  inline UpdateDestinationRequest& WithCurrentDeliveryStreamVersionId(const char* value) { SetCurrentDeliveryStreamVersionId(value); return *this;}
162 
163 
167  inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
168 
172  inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
173 
177  inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
178 
182  inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
183 
187  inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
188 
192  inline UpdateDestinationRequest& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
193 
197  inline UpdateDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
198 
202  inline UpdateDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
203 
204 
208  inline const ExtendedS3DestinationUpdate& GetExtendedS3DestinationUpdate() const{ return m_extendedS3DestinationUpdate; }
209 
213  inline bool ExtendedS3DestinationUpdateHasBeenSet() const { return m_extendedS3DestinationUpdateHasBeenSet; }
214 
218  inline void SetExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate& value) { m_extendedS3DestinationUpdateHasBeenSet = true; m_extendedS3DestinationUpdate = value; }
219 
223  inline void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate&& value) { m_extendedS3DestinationUpdateHasBeenSet = true; m_extendedS3DestinationUpdate = std::move(value); }
224 
228  inline UpdateDestinationRequest& WithExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate& value) { SetExtendedS3DestinationUpdate(value); return *this;}
229 
233  inline UpdateDestinationRequest& WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate&& value) { SetExtendedS3DestinationUpdate(std::move(value)); return *this;}
234 
235 
239  inline const RedshiftDestinationUpdate& GetRedshiftDestinationUpdate() const{ return m_redshiftDestinationUpdate; }
240 
244  inline bool RedshiftDestinationUpdateHasBeenSet() const { return m_redshiftDestinationUpdateHasBeenSet; }
245 
249  inline void SetRedshiftDestinationUpdate(const RedshiftDestinationUpdate& value) { m_redshiftDestinationUpdateHasBeenSet = true; m_redshiftDestinationUpdate = value; }
250 
254  inline void SetRedshiftDestinationUpdate(RedshiftDestinationUpdate&& value) { m_redshiftDestinationUpdateHasBeenSet = true; m_redshiftDestinationUpdate = std::move(value); }
255 
259  inline UpdateDestinationRequest& WithRedshiftDestinationUpdate(const RedshiftDestinationUpdate& value) { SetRedshiftDestinationUpdate(value); return *this;}
260 
264  inline UpdateDestinationRequest& WithRedshiftDestinationUpdate(RedshiftDestinationUpdate&& value) { SetRedshiftDestinationUpdate(std::move(value)); return *this;}
265 
266 
270  inline const ElasticsearchDestinationUpdate& GetElasticsearchDestinationUpdate() const{ return m_elasticsearchDestinationUpdate; }
271 
275  inline bool ElasticsearchDestinationUpdateHasBeenSet() const { return m_elasticsearchDestinationUpdateHasBeenSet; }
276 
280  inline void SetElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate& value) { m_elasticsearchDestinationUpdateHasBeenSet = true; m_elasticsearchDestinationUpdate = value; }
281 
285  inline void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate&& value) { m_elasticsearchDestinationUpdateHasBeenSet = true; m_elasticsearchDestinationUpdate = std::move(value); }
286 
290  inline UpdateDestinationRequest& WithElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate& value) { SetElasticsearchDestinationUpdate(value); return *this;}
291 
295  inline UpdateDestinationRequest& WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate&& value) { SetElasticsearchDestinationUpdate(std::move(value)); return *this;}
296 
297 
301  inline const SplunkDestinationUpdate& GetSplunkDestinationUpdate() const{ return m_splunkDestinationUpdate; }
302 
306  inline bool SplunkDestinationUpdateHasBeenSet() const { return m_splunkDestinationUpdateHasBeenSet; }
307 
311  inline void SetSplunkDestinationUpdate(const SplunkDestinationUpdate& value) { m_splunkDestinationUpdateHasBeenSet = true; m_splunkDestinationUpdate = value; }
312 
316  inline void SetSplunkDestinationUpdate(SplunkDestinationUpdate&& value) { m_splunkDestinationUpdateHasBeenSet = true; m_splunkDestinationUpdate = std::move(value); }
317 
321  inline UpdateDestinationRequest& WithSplunkDestinationUpdate(const SplunkDestinationUpdate& value) { SetSplunkDestinationUpdate(value); return *this;}
322 
326  inline UpdateDestinationRequest& WithSplunkDestinationUpdate(SplunkDestinationUpdate&& value) { SetSplunkDestinationUpdate(std::move(value)); return *this;}
327 
328 
332  inline const HttpEndpointDestinationUpdate& GetHttpEndpointDestinationUpdate() const{ return m_httpEndpointDestinationUpdate; }
333 
337  inline bool HttpEndpointDestinationUpdateHasBeenSet() const { return m_httpEndpointDestinationUpdateHasBeenSet; }
338 
342  inline void SetHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate& value) { m_httpEndpointDestinationUpdateHasBeenSet = true; m_httpEndpointDestinationUpdate = value; }
343 
347  inline void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate&& value) { m_httpEndpointDestinationUpdateHasBeenSet = true; m_httpEndpointDestinationUpdate = std::move(value); }
348 
352  inline UpdateDestinationRequest& WithHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate& value) { SetHttpEndpointDestinationUpdate(value); return *this;}
353 
357  inline UpdateDestinationRequest& WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate&& value) { SetHttpEndpointDestinationUpdate(std::move(value)); return *this;}
358 
359  private:
360 
361  Aws::String m_deliveryStreamName;
362  bool m_deliveryStreamNameHasBeenSet;
363 
364  Aws::String m_currentDeliveryStreamVersionId;
365  bool m_currentDeliveryStreamVersionIdHasBeenSet;
366 
367  Aws::String m_destinationId;
368  bool m_destinationIdHasBeenSet;
369 
370  ExtendedS3DestinationUpdate m_extendedS3DestinationUpdate;
371  bool m_extendedS3DestinationUpdateHasBeenSet;
372 
373  RedshiftDestinationUpdate m_redshiftDestinationUpdate;
374  bool m_redshiftDestinationUpdateHasBeenSet;
375 
376  ElasticsearchDestinationUpdate m_elasticsearchDestinationUpdate;
377  bool m_elasticsearchDestinationUpdateHasBeenSet;
378 
379  SplunkDestinationUpdate m_splunkDestinationUpdate;
380  bool m_splunkDestinationUpdateHasBeenSet;
381 
382  HttpEndpointDestinationUpdate m_httpEndpointDestinationUpdate;
383  bool m_httpEndpointDestinationUpdateHasBeenSet;
384  };
385 
386 } // namespace Model
387 } // namespace Firehose
388 } // namespace Aws
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(const Aws::String &value)
UpdateDestinationRequest & WithDeliveryStreamName(const Aws::String &value)
UpdateDestinationRequest & WithSplunkDestinationUpdate(const SplunkDestinationUpdate &value)
void SetCurrentDeliveryStreamVersionId(const Aws::String &value)
#define AWS_FIREHOSE_API
UpdateDestinationRequest & WithHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
const ExtendedS3DestinationUpdate & GetExtendedS3DestinationUpdate() const
const RedshiftDestinationUpdate & GetRedshiftDestinationUpdate() const
void SetSplunkDestinationUpdate(const SplunkDestinationUpdate &value)
UpdateDestinationRequest & WithDestinationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDestinationRequest & WithDestinationId(const Aws::String &value)
void SetHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate &&value)
const ElasticsearchDestinationUpdate & GetElasticsearchDestinationUpdate() const
void SetExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate &&value)
UpdateDestinationRequest & WithRedshiftDestinationUpdate(RedshiftDestinationUpdate &&value)
void SetElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate &&value)
UpdateDestinationRequest & WithRedshiftDestinationUpdate(const RedshiftDestinationUpdate &value)
const SplunkDestinationUpdate & GetSplunkDestinationUpdate() const
UpdateDestinationRequest & WithExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate &&value)
UpdateDestinationRequest & WithElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate &&value)
UpdateDestinationRequest & WithElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate &value)
void SetHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate &value)
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(const char *value)
UpdateDestinationRequest & WithDestinationId(const char *value)
void SetRedshiftDestinationUpdate(RedshiftDestinationUpdate &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate &value)
const HttpEndpointDestinationUpdate & GetHttpEndpointDestinationUpdate() const
UpdateDestinationRequest & WithDeliveryStreamName(const char *value)
UpdateDestinationRequest & WithDeliveryStreamName(Aws::String &&value)
UpdateDestinationRequest & WithExtendedS3DestinationUpdate(const ExtendedS3DestinationUpdate &value)
void SetSplunkDestinationUpdate(SplunkDestinationUpdate &&value)
void SetElasticsearchDestinationUpdate(const ElasticsearchDestinationUpdate &value)
UpdateDestinationRequest & WithHttpEndpointDestinationUpdate(const HttpEndpointDestinationUpdate &value)
UpdateDestinationRequest & WithCurrentDeliveryStreamVersionId(Aws::String &&value)
UpdateDestinationRequest & WithSplunkDestinationUpdate(SplunkDestinationUpdate &&value)
void SetRedshiftDestinationUpdate(const RedshiftDestinationUpdate &value)