AWS SDK for C++  1.9.44
AWS SDK for C++
ListStreamsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Kinesis
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline int GetLimit() const{ return m_limit; }
45 
49  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
50 
54  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
55 
59  inline ListStreamsRequest& WithLimit(int value) { SetLimit(value); return *this;}
60 
61 
65  inline const Aws::String& GetExclusiveStartStreamName() const{ return m_exclusiveStartStreamName; }
66 
70  inline bool ExclusiveStartStreamNameHasBeenSet() const { return m_exclusiveStartStreamNameHasBeenSet; }
71 
75  inline void SetExclusiveStartStreamName(const Aws::String& value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName = value; }
76 
80  inline void SetExclusiveStartStreamName(Aws::String&& value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName = std::move(value); }
81 
85  inline void SetExclusiveStartStreamName(const char* value) { m_exclusiveStartStreamNameHasBeenSet = true; m_exclusiveStartStreamName.assign(value); }
86 
90  inline ListStreamsRequest& WithExclusiveStartStreamName(const Aws::String& value) { SetExclusiveStartStreamName(value); return *this;}
91 
95  inline ListStreamsRequest& WithExclusiveStartStreamName(Aws::String&& value) { SetExclusiveStartStreamName(std::move(value)); return *this;}
96 
100  inline ListStreamsRequest& WithExclusiveStartStreamName(const char* value) { SetExclusiveStartStreamName(value); return *this;}
101 
102  private:
103 
104  int m_limit;
105  bool m_limitHasBeenSet;
106 
107  Aws::String m_exclusiveStartStreamName;
108  bool m_exclusiveStartStreamNameHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace Kinesis
113 } // namespace Aws
Aws::Kinesis::Model::ListStreamsRequest::WithExclusiveStartStreamName
ListStreamsRequest & WithExclusiveStartStreamName(Aws::String &&value)
Definition: ListStreamsRequest.h:95
Aws::Kinesis::Model::ListStreamsRequest::SetExclusiveStartStreamName
void SetExclusiveStartStreamName(Aws::String &&value)
Definition: ListStreamsRequest.h:80
Aws::Kinesis::Model::ListStreamsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListStreamsRequest.h:34
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::ListStreamsRequest::GetLimit
int GetLimit() const
Definition: ListStreamsRequest.h:44
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ListStreamsRequest
Definition: ListStreamsRequest.h:26
Aws::Kinesis::Model::ListStreamsRequest::SetExclusiveStartStreamName
void SetExclusiveStartStreamName(const char *value)
Definition: ListStreamsRequest.h:85
Aws::Kinesis::Model::ListStreamsRequest::WithExclusiveStartStreamName
ListStreamsRequest & WithExclusiveStartStreamName(const char *value)
Definition: ListStreamsRequest.h:100
KinesisRequest.h
Aws::Kinesis::Model::ListStreamsRequest::GetExclusiveStartStreamName
const Aws::String & GetExclusiveStartStreamName() const
Definition: ListStreamsRequest.h:65
Aws::Kinesis::Model::ListStreamsRequest::SetLimit
void SetLimit(int value)
Definition: ListStreamsRequest.h:54
AWSString.h
Aws::Kinesis::Model::ListStreamsRequest::SetExclusiveStartStreamName
void SetExclusiveStartStreamName(const Aws::String &value)
Definition: ListStreamsRequest.h:75
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Aws::Kinesis::Model::ListStreamsRequest::ListStreamsRequest
ListStreamsRequest()
Kinesis_EXPORTS.h
Aws::Kinesis::Model::ListStreamsRequest::ExclusiveStartStreamNameHasBeenSet
bool ExclusiveStartStreamNameHasBeenSet() const
Definition: ListStreamsRequest.h:70
Aws::Kinesis::Model::ListStreamsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListStreamsRequest.h:49
Aws::Kinesis::Model::ListStreamsRequest::WithLimit
ListStreamsRequest & WithLimit(int value)
Definition: ListStreamsRequest.h:59
Aws::Kinesis::Model::ListStreamsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::ListStreamsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::ListStreamsRequest::WithExclusiveStartStreamName
ListStreamsRequest & WithExclusiveStartStreamName(const Aws::String &value)
Definition: ListStreamsRequest.h:90