AWS SDK for C++  1.9.158
AWS SDK for C++
ListPresetsResult.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 MediaConvert
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
46 
50  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
51 
55  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
56 
60  inline ListPresetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 
65  inline ListPresetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 
70  inline ListPresetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71 
72 
76  inline const Aws::Vector<Preset>& GetPresets() const{ return m_presets; }
77 
81  inline void SetPresets(const Aws::Vector<Preset>& value) { m_presets = value; }
82 
86  inline void SetPresets(Aws::Vector<Preset>&& value) { m_presets = std::move(value); }
87 
91  inline ListPresetsResult& WithPresets(const Aws::Vector<Preset>& value) { SetPresets(value); return *this;}
92 
96  inline ListPresetsResult& WithPresets(Aws::Vector<Preset>&& value) { SetPresets(std::move(value)); return *this;}
97 
101  inline ListPresetsResult& AddPresets(const Preset& value) { m_presets.push_back(value); return *this; }
102 
106  inline ListPresetsResult& AddPresets(Preset&& value) { m_presets.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::String m_nextToken;
111 
112  Aws::Vector<Preset> m_presets;
113  };
114 
115 } // namespace Model
116 } // namespace MediaConvert
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::ListPresetsResult::WithPresets
ListPresetsResult & WithPresets(Aws::Vector< Preset > &&value)
Definition: ListPresetsResult.h:96
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::ListPresetsResult::WithNextToken
ListPresetsResult & WithNextToken(const Aws::String &value)
Definition: ListPresetsResult.h:60
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListPresetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPresetsResult.h:45
Aws::MediaConvert::Model::ListPresetsResult::operator=
ListPresetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::ListPresetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListPresetsResult.h:55
Aws::MediaConvert::Model::ListPresetsResult
Definition: ListPresetsResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConvert::Model::ListPresetsResult::WithNextToken
ListPresetsResult & WithNextToken(Aws::String &&value)
Definition: ListPresetsResult.h:65
AWSVector.h
Aws::MediaConvert::Model::ListPresetsResult::AddPresets
ListPresetsResult & AddPresets(Preset &&value)
Definition: ListPresetsResult.h:106
Aws::MediaConvert::Model::ListPresetsResult::ListPresetsResult
ListPresetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::Preset
Definition: Preset.h:37
Aws::MediaConvert::Model::ListPresetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPresetsResult.h:50
Aws::MediaConvert::Model::ListPresetsResult::WithNextToken
ListPresetsResult & WithNextToken(const char *value)
Definition: ListPresetsResult.h:70
AWSString.h
Aws::MediaConvert::Model::ListPresetsResult::ListPresetsResult
ListPresetsResult()
Preset.h
Aws::MediaConvert::Model::ListPresetsResult::GetPresets
const Aws::Vector< Preset > & GetPresets() const
Definition: ListPresetsResult.h:76
Aws::MediaConvert::Model::ListPresetsResult::SetPresets
void SetPresets(Aws::Vector< Preset > &&value)
Definition: ListPresetsResult.h:86
Aws::MediaConvert::Model::ListPresetsResult::AddPresets
ListPresetsResult & AddPresets(const Preset &value)
Definition: ListPresetsResult.h:101
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListPresetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPresetsResult.h:40
Aws::MediaConvert::Model::ListPresetsResult::SetPresets
void SetPresets(const Aws::Vector< Preset > &value)
Definition: ListPresetsResult.h:81
Aws::MediaConvert::Model::ListPresetsResult::WithPresets
ListPresetsResult & WithPresets(const Aws::Vector< Preset > &value)
Definition: ListPresetsResult.h:91