AWS SDK for C++  1.8.95
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
ListTagsForStreamRequest & WithNextToken(Aws::String &&value)
ListTagsForStreamRequest & WithStreamARN(const Aws::String &value)
ListTagsForStreamRequest & WithNextToken(const char *value)
ListTagsForStreamRequest & WithStreamARN(Aws::String &&value)
ListTagsForStreamRequest & WithStreamName(Aws::String &&value)
#define AWS_KINESISVIDEO_API
ListTagsForStreamRequest & WithStreamName(const Aws::String &value)
ListTagsForStreamRequest & WithStreamARN(const char *value)
ListTagsForStreamRequest & WithStreamName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListTagsForStreamRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override