AWS SDK for C++  1.9.156
AWS SDK for C++
DeleteDeliveryStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Firehose
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
41 
45  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
46 
50  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
51 
55  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
56 
60  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
61 
65  inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
66 
70  inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
71 
75  inline DeleteDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
76 
77 
89  inline bool GetAllowForceDelete() const{ return m_allowForceDelete; }
90 
102  inline bool AllowForceDeleteHasBeenSet() const { return m_allowForceDeleteHasBeenSet; }
103 
115  inline void SetAllowForceDelete(bool value) { m_allowForceDeleteHasBeenSet = true; m_allowForceDelete = value; }
116 
128  inline DeleteDeliveryStreamRequest& WithAllowForceDelete(bool value) { SetAllowForceDelete(value); return *this;}
129 
130  private:
131 
132  Aws::String m_deliveryStreamName;
133  bool m_deliveryStreamNameHasBeenSet;
134 
135  bool m_allowForceDelete;
136  bool m_allowForceDeleteHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace Firehose
141 } // namespace Aws
Aws::Firehose::Model::DeleteDeliveryStreamRequest
Definition: DeleteDeliveryStreamRequest.h:22
Aws::Firehose::FirehoseRequest
Definition: FirehoseRequest.h:17
Aws::Firehose::Model::DeleteDeliveryStreamRequest::DeliveryStreamNameHasBeenSet
bool DeliveryStreamNameHasBeenSet() const
Definition: DeleteDeliveryStreamRequest.h:45
Aws::Firehose::Model::DeleteDeliveryStreamRequest::WithDeliveryStreamName
DeleteDeliveryStreamRequest & WithDeliveryStreamName(Aws::String &&value)
Definition: DeleteDeliveryStreamRequest.h:70
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Firehose::Model::DeleteDeliveryStreamRequest::WithDeliveryStreamName
DeleteDeliveryStreamRequest & WithDeliveryStreamName(const char *value)
Definition: DeleteDeliveryStreamRequest.h:75
Aws::Firehose::Model::DeleteDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const char *value)
Definition: DeleteDeliveryStreamRequest.h:60
Aws::Firehose::Model::DeleteDeliveryStreamRequest::GetDeliveryStreamName
const Aws::String & GetDeliveryStreamName() const
Definition: DeleteDeliveryStreamRequest.h:40
Aws::Firehose::Model::DeleteDeliveryStreamRequest::SetAllowForceDelete
void SetAllowForceDelete(bool value)
Definition: DeleteDeliveryStreamRequest.h:115
Aws::Firehose::Model::DeleteDeliveryStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDeliveryStreamRequest.h:30
Aws::Firehose::Model::DeleteDeliveryStreamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Firehose::Model::DeleteDeliveryStreamRequest::WithAllowForceDelete
DeleteDeliveryStreamRequest & WithAllowForceDelete(bool value)
Definition: DeleteDeliveryStreamRequest.h:128
Aws::Firehose::Model::DeleteDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(Aws::String &&value)
Definition: DeleteDeliveryStreamRequest.h:55
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
AWSString.h
Firehose_EXPORTS.h
Aws::Firehose::Model::DeleteDeliveryStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Firehose::Model::DeleteDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const Aws::String &value)
Definition: DeleteDeliveryStreamRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::DeleteDeliveryStreamRequest::WithDeliveryStreamName
DeleteDeliveryStreamRequest & WithDeliveryStreamName(const Aws::String &value)
Definition: DeleteDeliveryStreamRequest.h:65
Aws::Firehose::Model::DeleteDeliveryStreamRequest::AllowForceDeleteHasBeenSet
bool AllowForceDeleteHasBeenSet() const
Definition: DeleteDeliveryStreamRequest.h:102
FirehoseRequest.h
Aws::Firehose::Model::DeleteDeliveryStreamRequest::DeleteDeliveryStreamRequest
DeleteDeliveryStreamRequest()
Aws::Firehose::Model::DeleteDeliveryStreamRequest::GetAllowForceDelete
bool GetAllowForceDelete() const
Definition: DeleteDeliveryStreamRequest.h:89