AWS SDK for C++  1.9.133
AWS SDK for C++
ListDeliveryStreamsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Firehose
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListDeliveryStreams"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline int GetLimit() const{ return m_limit; }
42 
46  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
47 
51  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
52 
56  inline ListDeliveryStreamsRequest& WithLimit(int value) { SetLimit(value); return *this;}
57 
58 
67  inline const DeliveryStreamType& GetDeliveryStreamType() const{ return m_deliveryStreamType; }
68 
77  inline bool DeliveryStreamTypeHasBeenSet() const { return m_deliveryStreamTypeHasBeenSet; }
78 
87  inline void SetDeliveryStreamType(const DeliveryStreamType& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = value; }
88 
97  inline void SetDeliveryStreamType(DeliveryStreamType&& value) { m_deliveryStreamTypeHasBeenSet = true; m_deliveryStreamType = std::move(value); }
98 
107  inline ListDeliveryStreamsRequest& WithDeliveryStreamType(const DeliveryStreamType& value) { SetDeliveryStreamType(value); return *this;}
108 
117  inline ListDeliveryStreamsRequest& WithDeliveryStreamType(DeliveryStreamType&& value) { SetDeliveryStreamType(std::move(value)); return *this;}
118 
119 
126  inline const Aws::String& GetExclusiveStartDeliveryStreamName() const{ return m_exclusiveStartDeliveryStreamName; }
127 
134  inline bool ExclusiveStartDeliveryStreamNameHasBeenSet() const { return m_exclusiveStartDeliveryStreamNameHasBeenSet; }
135 
142  inline void SetExclusiveStartDeliveryStreamName(const Aws::String& value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName = value; }
143 
150  inline void SetExclusiveStartDeliveryStreamName(Aws::String&& value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName = std::move(value); }
151 
158  inline void SetExclusiveStartDeliveryStreamName(const char* value) { m_exclusiveStartDeliveryStreamNameHasBeenSet = true; m_exclusiveStartDeliveryStreamName.assign(value); }
159 
166  inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(const Aws::String& value) { SetExclusiveStartDeliveryStreamName(value); return *this;}
167 
174  inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(Aws::String&& value) { SetExclusiveStartDeliveryStreamName(std::move(value)); return *this;}
175 
182  inline ListDeliveryStreamsRequest& WithExclusiveStartDeliveryStreamName(const char* value) { SetExclusiveStartDeliveryStreamName(value); return *this;}
183 
184  private:
185 
186  int m_limit;
187  bool m_limitHasBeenSet;
188 
189  DeliveryStreamType m_deliveryStreamType;
190  bool m_deliveryStreamTypeHasBeenSet;
191 
192  Aws::String m_exclusiveStartDeliveryStreamName;
193  bool m_exclusiveStartDeliveryStreamNameHasBeenSet;
194  };
195 
196 } // namespace Model
197 } // namespace Firehose
198 } // namespace Aws
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetExclusiveStartDeliveryStreamName
void SetExclusiveStartDeliveryStreamName(const char *value)
Definition: ListDeliveryStreamsRequest.h:158
Aws::Firehose::Model::ListDeliveryStreamsRequest::ListDeliveryStreamsRequest
ListDeliveryStreamsRequest()
Aws::Firehose::FirehoseRequest
Definition: FirehoseRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Firehose::Model::ListDeliveryStreamsRequest::GetDeliveryStreamType
const DeliveryStreamType & GetDeliveryStreamType() const
Definition: ListDeliveryStreamsRequest.h:67
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetExclusiveStartDeliveryStreamName
void SetExclusiveStartDeliveryStreamName(Aws::String &&value)
Definition: ListDeliveryStreamsRequest.h:150
Aws::Firehose::Model::DeliveryStreamType
DeliveryStreamType
Definition: DeliveryStreamType.h:17
DeliveryStreamType.h
Aws::Firehose::Model::ListDeliveryStreamsRequest::GetExclusiveStartDeliveryStreamName
const Aws::String & GetExclusiveStartDeliveryStreamName() const
Definition: ListDeliveryStreamsRequest.h:126
Aws::Firehose::Model::ListDeliveryStreamsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithDeliveryStreamType
ListDeliveryStreamsRequest & WithDeliveryStreamType(const DeliveryStreamType &value)
Definition: ListDeliveryStreamsRequest.h:107
Aws::Firehose::Model::ListDeliveryStreamsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDeliveryStreamsRequest.h:31
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetLimit
void SetLimit(int value)
Definition: ListDeliveryStreamsRequest.h:51
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithExclusiveStartDeliveryStreamName
ListDeliveryStreamsRequest & WithExclusiveStartDeliveryStreamName(const Aws::String &value)
Definition: ListDeliveryStreamsRequest.h:166
AWSString.h
Firehose_EXPORTS.h
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithDeliveryStreamType
ListDeliveryStreamsRequest & WithDeliveryStreamType(DeliveryStreamType &&value)
Definition: ListDeliveryStreamsRequest.h:117
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithExclusiveStartDeliveryStreamName
ListDeliveryStreamsRequest & WithExclusiveStartDeliveryStreamName(const char *value)
Definition: ListDeliveryStreamsRequest.h:182
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetDeliveryStreamType
void SetDeliveryStreamType(const DeliveryStreamType &value)
Definition: ListDeliveryStreamsRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::ListDeliveryStreamsRequest::ExclusiveStartDeliveryStreamNameHasBeenSet
bool ExclusiveStartDeliveryStreamNameHasBeenSet() const
Definition: ListDeliveryStreamsRequest.h:134
Aws::Firehose::Model::ListDeliveryStreamsRequest
Definition: ListDeliveryStreamsRequest.h:23
Aws::Firehose::Model::ListDeliveryStreamsRequest::GetLimit
int GetLimit() const
Definition: ListDeliveryStreamsRequest.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::ListDeliveryStreamsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListDeliveryStreamsRequest.h:46
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetDeliveryStreamType
void SetDeliveryStreamType(DeliveryStreamType &&value)
Definition: ListDeliveryStreamsRequest.h:97
Aws::Firehose::Model::ListDeliveryStreamsRequest::DeliveryStreamTypeHasBeenSet
bool DeliveryStreamTypeHasBeenSet() const
Definition: ListDeliveryStreamsRequest.h:77
FirehoseRequest.h
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithExclusiveStartDeliveryStreamName
ListDeliveryStreamsRequest & WithExclusiveStartDeliveryStreamName(Aws::String &&value)
Definition: ListDeliveryStreamsRequest.h:174
Aws::Firehose::Model::ListDeliveryStreamsRequest::SetExclusiveStartDeliveryStreamName
void SetExclusiveStartDeliveryStreamName(const Aws::String &value)
Definition: ListDeliveryStreamsRequest.h:142
Aws::Firehose::Model::ListDeliveryStreamsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Firehose::Model::ListDeliveryStreamsRequest::WithLimit
ListDeliveryStreamsRequest & WithLimit(int value)
Definition: ListDeliveryStreamsRequest.h:56