AWS SDK for C++  1.9.45
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 KinesisVideo
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 "ListTagsForStream"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
47  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 
54  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
55 
61  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 
68  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 
75  inline ListTagsForStreamRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 
82  inline ListTagsForStreamRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 
89  inline ListTagsForStreamRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90 
91 
96  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
97 
102  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
103 
108  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
109 
114  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
115 
120  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
121 
126  inline ListTagsForStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
127 
132  inline ListTagsForStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
133 
138  inline ListTagsForStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
139 
140 
144  inline const Aws::String& GetStreamName() const{ return m_streamName; }
145 
149  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
150 
154  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
155 
159  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
160 
164  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
165 
169  inline ListTagsForStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
170 
174  inline ListTagsForStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
175 
179  inline ListTagsForStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
180 
181  private:
182 
183  Aws::String m_nextToken;
184  bool m_nextTokenHasBeenSet;
185 
186  Aws::String m_streamARN;
187  bool m_streamARNHasBeenSet;
188 
189  Aws::String m_streamName;
190  bool m_streamNameHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace KinesisVideo
195 } // namespace Aws
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:169
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamARN
ListTagsForStreamRequest & WithStreamARN(const char *value)
Definition: ListTagsForStreamRequest.h:138
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: ListTagsForStreamRequest.h:120
Aws::KinesisVideo::Model::ListTagsForStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForStreamRequest.h:30
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:108
KinesisVideo_EXPORTS.h
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithNextToken
ListTagsForStreamRequest & WithNextToken(const char *value)
Definition: ListTagsForStreamRequest.h:89
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithNextToken
ListTagsForStreamRequest & WithNextToken(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:75
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(const char *value)
Definition: ListTagsForStreamRequest.h:179
Aws::KinesisVideo::KinesisVideoRequest
Definition: KinesisVideoRequest.h:17
Aws::KinesisVideo::Model::ListTagsForStreamRequest
Definition: ListTagsForStreamRequest.h:22
Aws::KinesisVideo::Model::ListTagsForStreamRequest::ListTagsForStreamRequest
ListTagsForStreamRequest()
KinesisVideoRequest.h
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTagsForStreamRequest.h:68
Aws::KinesisVideo::Model::ListTagsForStreamRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTagsForStreamRequest.h:40
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithNextToken
ListTagsForStreamRequest & WithNextToken(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:82
AWSString.h
Aws::KinesisVideo::Model::ListTagsForStreamRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: ListTagsForStreamRequest.h:102
Aws::KinesisVideo::Model::ListTagsForStreamRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: ListTagsForStreamRequest.h:149
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:54
Aws::KinesisVideo::Model::ListTagsForStreamRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: ListTagsForStreamRequest.h:144
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamARN
ListTagsForStreamRequest & WithStreamARN(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:126
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamARN
ListTagsForStreamRequest & WithStreamARN(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:132
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:114
Aws::KinesisVideo::Model::ListTagsForStreamRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: ListTagsForStreamRequest.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:61
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: ListTagsForStreamRequest.h:154
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(const char *value)
Definition: ListTagsForStreamRequest.h:164
Aws::KinesisVideo::Model::ListTagsForStreamRequest::WithStreamName
ListTagsForStreamRequest & WithStreamName(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:174
AWS_KINESISVIDEO_API
#define AWS_KINESISVIDEO_API
Definition: KinesisVideo_EXPORTS.h:28
Aws::KinesisVideo::Model::ListTagsForStreamRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTagsForStreamRequest.h:47
Aws::KinesisVideo::Model::ListTagsForStreamRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: ListTagsForStreamRequest.h:159