AWS SDK for C++  1.9.104
AWS SDK for C++
ListPlaybackConfigurationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace MediaTailor
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::Vector<PlaybackConfiguration>& GetItems() const{ return m_items; }
43 
49  inline void SetItems(const Aws::Vector<PlaybackConfiguration>& value) { m_items = value; }
50 
56  inline void SetItems(Aws::Vector<PlaybackConfiguration>&& value) { m_items = std::move(value); }
57 
63  inline ListPlaybackConfigurationsResult& WithItems(const Aws::Vector<PlaybackConfiguration>& value) { SetItems(value); return *this;}
64 
70  inline ListPlaybackConfigurationsResult& WithItems(Aws::Vector<PlaybackConfiguration>&& value) { SetItems(std::move(value)); return *this;}
71 
77  inline ListPlaybackConfigurationsResult& AddItems(const PlaybackConfiguration& value) { m_items.push_back(value); return *this; }
78 
84  inline ListPlaybackConfigurationsResult& AddItems(PlaybackConfiguration&& value) { m_items.push_back(std::move(value)); return *this; }
85 
86 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
97  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
98 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 
109  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
110 
115  inline ListPlaybackConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 
121  inline ListPlaybackConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
122 
127  inline ListPlaybackConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace MediaTailor
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::WithItems
ListPlaybackConfigurationsResult & WithItems(const Aws::Vector< PlaybackConfiguration > &value)
Definition: ListPlaybackConfigurationsResult.h:63
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPlaybackConfigurationsResult.h:91
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPlaybackConfigurationsResult.h:97
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::SetItems
void SetItems(const Aws::Vector< PlaybackConfiguration > &value)
Definition: ListPlaybackConfigurationsResult.h:49
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::WithItems
ListPlaybackConfigurationsResult & WithItems(Aws::Vector< PlaybackConfiguration > &&value)
Definition: ListPlaybackConfigurationsResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::GetItems
const Aws::Vector< PlaybackConfiguration > & GetItems() const
Definition: ListPlaybackConfigurationsResult.h:42
AWSVector.h
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult
Definition: ListPlaybackConfigurationsResult.h:30
Aws::MediaTailor::Model::PlaybackConfiguration
Definition: PlaybackConfiguration.h:44
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::WithNextToken
ListPlaybackConfigurationsResult & WithNextToken(Aws::String &&value)
Definition: ListPlaybackConfigurationsResult.h:121
PlaybackConfiguration.h
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::operator=
ListPlaybackConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::WithNextToken
ListPlaybackConfigurationsResult & WithNextToken(const char *value)
Definition: ListPlaybackConfigurationsResult.h:127
AWSString.h
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::SetItems
void SetItems(Aws::Vector< PlaybackConfiguration > &&value)
Definition: ListPlaybackConfigurationsResult.h:56
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPlaybackConfigurationsResult.h:103
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::ListPlaybackConfigurationsResult
ListPlaybackConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::WithNextToken
ListPlaybackConfigurationsResult & WithNextToken(const Aws::String &value)
Definition: ListPlaybackConfigurationsResult.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPlaybackConfigurationsResult.h:109
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::AddItems
ListPlaybackConfigurationsResult & AddItems(PlaybackConfiguration &&value)
Definition: ListPlaybackConfigurationsResult.h:84
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::AddItems
ListPlaybackConfigurationsResult & AddItems(const PlaybackConfiguration &value)
Definition: ListPlaybackConfigurationsResult.h:77
Aws::MediaTailor::Model::ListPlaybackConfigurationsResult::ListPlaybackConfigurationsResult
ListPlaybackConfigurationsResult()