AWS SDK for C++  1.9.103
AWS SDK for C++
ListTagsForStreamRequest.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 "ListTagsForStream"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetStreamName() const{ return m_streamName; }
45 
49  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
50 
54  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
55 
59  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
60 
64  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
65 
69  inline ListTagsForStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
70 
74  inline ListTagsForStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
75 
79  inline ListTagsForStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
80 
81 
87  inline const Aws::String& GetExclusiveStartTagKey() const{ return m_exclusiveStartTagKey; }
88 
94  inline bool ExclusiveStartTagKeyHasBeenSet() const { return m_exclusiveStartTagKeyHasBeenSet; }
95 
101  inline void SetExclusiveStartTagKey(const Aws::String& value) { m_exclusiveStartTagKeyHasBeenSet = true; m_exclusiveStartTagKey = value; }
102 
108  inline void SetExclusiveStartTagKey(Aws::String&& value) { m_exclusiveStartTagKeyHasBeenSet = true; m_exclusiveStartTagKey = std::move(value); }
109 
115  inline void SetExclusiveStartTagKey(const char* value) { m_exclusiveStartTagKeyHasBeenSet = true; m_exclusiveStartTagKey.assign(value); }
116 
122  inline ListTagsForStreamRequest& WithExclusiveStartTagKey(const Aws::String& value) { SetExclusiveStartTagKey(value); return *this;}
123 
129  inline ListTagsForStreamRequest& WithExclusiveStartTagKey(Aws::String&& value) { SetExclusiveStartTagKey(std::move(value)); return *this;}
130 
136  inline ListTagsForStreamRequest& WithExclusiveStartTagKey(const char* value) { SetExclusiveStartTagKey(value); return *this;}
137 
138 
145  inline int GetLimit() const{ return m_limit; }
146 
153  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
154 
161  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
162 
169  inline ListTagsForStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
170 
171  private:
172 
173  Aws::String m_streamName;
174  bool m_streamNameHasBeenSet;
175 
176  Aws::String m_exclusiveStartTagKey;
177  bool m_exclusiveStartTagKeyHasBeenSet;
178 
179  int m_limit;
180  bool m_limitHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace Kinesis
185 } // namespace Aws
Aws::Kinesis::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:74
Aws::Kinesis::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:54
Aws::Kinesis::Model::ListTagsForStreamRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: ListTagsForStreamRequest.h:44
Aws::Kinesis::Model::ListTagsForStreamRequest::SetLimit
void SetLimit(int value)
Definition: ListTagsForStreamRequest.h:161
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::ListTagsForStreamRequest::SetExclusiveStartTagKey
void SetExclusiveStartTagKey(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:108
Aws::Kinesis::Model::ListTagsForStreamRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListTagsForStreamRequest.h:153
Aws::Kinesis::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(const char *value)
Definition: ListTagsForStreamRequest.h:79
Aws::Kinesis::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(const char *value)
Definition: ListTagsForStreamRequest.h:64
Aws::Kinesis::Model::ListTagsForStreamRequest::WithExclusiveStartTagKey
ListTagsForStreamRequest & WithExclusiveStartTagKey(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:129
Aws::Kinesis::Model::ListTagsForStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForStreamRequest.h:34
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ListTagsForStreamRequest::GetLimit
int GetLimit() const
Definition: ListTagsForStreamRequest.h:145
KinesisRequest.h
Aws::Kinesis::Model::ListTagsForStreamRequest
Definition: ListTagsForStreamRequest.h:26
Aws::Kinesis::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:59
AWSString.h
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Aws::Kinesis::Model::ListTagsForStreamRequest::SetExclusiveStartTagKey
void SetExclusiveStartTagKey(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:101
Aws::Kinesis::Model::ListTagsForStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Kinesis_EXPORTS.h
Aws::Kinesis::Model::ListTagsForStreamRequest::WithExclusiveStartTagKey
ListTagsForStreamRequest & WithExclusiveStartTagKey(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:122
Aws::Kinesis::Model::ListTagsForStreamRequest::SetExclusiveStartTagKey
void SetExclusiveStartTagKey(const char *value)
Definition: ListTagsForStreamRequest.h:115
Aws::Kinesis::Model::ListTagsForStreamRequest::WithExclusiveStartTagKey
ListTagsForStreamRequest & WithExclusiveStartTagKey(const char *value)
Definition: ListTagsForStreamRequest.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::ListTagsForStreamRequest::WithLimit
ListTagsForStreamRequest & WithLimit(int value)
Definition: ListTagsForStreamRequest.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::ListTagsForStreamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Kinesis::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:69
Aws::Kinesis::Model::ListTagsForStreamRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: ListTagsForStreamRequest.h:49
Aws::Kinesis::Model::ListTagsForStreamRequest::ListTagsForStreamRequest
ListTagsForStreamRequest()
Aws::Kinesis::Model::ListTagsForStreamRequest::GetExclusiveStartTagKey
const Aws::String & GetExclusiveStartTagKey() const
Definition: ListTagsForStreamRequest.h:87
Aws::Kinesis::Model::ListTagsForStreamRequest::ExclusiveStartTagKeyHasBeenSet
bool ExclusiveStartTagKeyHasBeenSet() const
Definition: ListTagsForStreamRequest.h:94