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