AWS SDK for C++  1.9.104
AWS SDK for C++
ListPlaybackConfigurationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace MediaTailor
19 {
20 namespace Model
21 {
22 
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 "ListPlaybackConfigurations"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline int GetMaxResults() const{ return m_maxResults; }
45 
49  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
50 
54  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
55 
59  inline ListPlaybackConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60 
61 
66  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
78  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 
84  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
85 
90  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 
96  inline ListPlaybackConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
102  inline ListPlaybackConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 
108  inline ListPlaybackConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 
110  private:
111 
112  int m_maxResults;
113  bool m_maxResultsHasBeenSet;
114 
115  Aws::String m_nextToken;
116  bool m_nextTokenHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace MediaTailor
121 } // namespace Aws
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::WithNextToken
ListPlaybackConfigurationsRequest & WithNextToken(Aws::String &&value)
Definition: ListPlaybackConfigurationsRequest.h:102
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPlaybackConfigurationsRequest.h:72
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::WithNextToken
ListPlaybackConfigurationsRequest & WithNextToken(const Aws::String &value)
Definition: ListPlaybackConfigurationsRequest.h:96
Aws::Http::URI
Definition: URI.h:32
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest
Definition: ListPlaybackConfigurationsRequest.h:26
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPlaybackConfigurationsRequest.h:66
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::WithMaxResults
ListPlaybackConfigurationsRequest & WithMaxResults(int value)
Definition: ListPlaybackConfigurationsRequest.h:59
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPlaybackConfigurationsRequest.h:34
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPlaybackConfigurationsRequest.h:44
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPlaybackConfigurationsRequest.h:90
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
AWSString.h
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPlaybackConfigurationsRequest.h:78
MediaTailorRequest.h
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPlaybackConfigurationsRequest.h:84
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::WithNextToken
ListPlaybackConfigurationsRequest & WithNextToken(const char *value)
Definition: ListPlaybackConfigurationsRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPlaybackConfigurationsRequest.h:54
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::ListPlaybackConfigurationsRequest
ListPlaybackConfigurationsRequest()
Aws::MediaTailor::Model::ListPlaybackConfigurationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPlaybackConfigurationsRequest.h:49