AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDeliveryStreamRequest.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/FirehoseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Firehose
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_FIREHOSE_API DeleteDeliveryStreamRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteDeliveryStream"; }
31
32 AWS_FIREHOSE_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
42 inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
43 inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
44 inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
45 inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
47 inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
48 inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
50
52
62 inline bool GetAllowForceDelete() const{ return m_allowForceDelete; }
63 inline bool AllowForceDeleteHasBeenSet() const { return m_allowForceDeleteHasBeenSet; }
64 inline void SetAllowForceDelete(bool value) { m_allowForceDeleteHasBeenSet = true; m_allowForceDelete = value; }
65 inline DeleteDeliveryStreamRequest& WithAllowForceDelete(bool value) { SetAllowForceDelete(value); return *this;}
67 private:
68
69 Aws::String m_deliveryStreamName;
70 bool m_deliveryStreamNameHasBeenSet = false;
71
72 bool m_allowForceDelete;
73 bool m_allowForceDeleteHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Firehose
78} // namespace Aws
DeleteDeliveryStreamRequest & WithDeliveryStreamName(const char *value)
DeleteDeliveryStreamRequest & WithAllowForceDelete(bool value)
AWS_FIREHOSE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FIREHOSE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteDeliveryStreamRequest & WithDeliveryStreamName(Aws::String &&value)
DeleteDeliveryStreamRequest & WithDeliveryStreamName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String