AWS SDK for C++  1.9.160
AWS SDK for C++
ListImportJobsResult.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 SESV2
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<ImportJobSummary>& GetImportJobs() const{ return m_importJobs; }
47 
51  inline void SetImportJobs(const Aws::Vector<ImportJobSummary>& value) { m_importJobs = value; }
52 
56  inline void SetImportJobs(Aws::Vector<ImportJobSummary>&& value) { m_importJobs = std::move(value); }
57 
61  inline ListImportJobsResult& WithImportJobs(const Aws::Vector<ImportJobSummary>& value) { SetImportJobs(value); return *this;}
62 
66  inline ListImportJobsResult& WithImportJobs(Aws::Vector<ImportJobSummary>&& value) { SetImportJobs(std::move(value)); return *this;}
67 
71  inline ListImportJobsResult& AddImportJobs(const ImportJobSummary& value) { m_importJobs.push_back(value); return *this; }
72 
76  inline ListImportJobsResult& AddImportJobs(ImportJobSummary&& value) { m_importJobs.push_back(std::move(value)); return *this; }
77 
78 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
93  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
94 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
109  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
110 
117  inline ListImportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
118 
125  inline ListImportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
133  inline ListImportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 
135  private:
136 
137  Aws::Vector<ImportJobSummary> m_importJobs;
138 
139  Aws::String m_nextToken;
140  };
141 
142 } // namespace Model
143 } // namespace SESV2
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SESV2::Model::ListImportJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListImportJobsResult.h:85
Aws::SESV2::Model::ListImportJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListImportJobsResult.h:93
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListImportJobsResult::operator=
ListImportJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListImportJobsResult::AddImportJobs
ListImportJobsResult & AddImportJobs(ImportJobSummary &&value)
Definition: ListImportJobsResult.h:76
Aws::SESV2::Model::ListImportJobsResult::ListImportJobsResult
ListImportJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListImportJobsResult::GetImportJobs
const Aws::Vector< ImportJobSummary > & GetImportJobs() const
Definition: ListImportJobsResult.h:46
Aws::SESV2::Model::ListImportJobsResult::ListImportJobsResult
ListImportJobsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SESV2::Model::ListImportJobsResult::WithNextToken
ListImportJobsResult & WithNextToken(Aws::String &&value)
Definition: ListImportJobsResult.h:125
AWSVector.h
ImportJobSummary.h
Aws::SESV2::Model::ListImportJobsResult::WithImportJobs
ListImportJobsResult & WithImportJobs(Aws::Vector< ImportJobSummary > &&value)
Definition: ListImportJobsResult.h:66
Aws::SESV2::Model::ListImportJobsResult::WithNextToken
ListImportJobsResult & WithNextToken(const Aws::String &value)
Definition: ListImportJobsResult.h:117
Aws::SESV2::Model::ListImportJobsResult::WithNextToken
ListImportJobsResult & WithNextToken(const char *value)
Definition: ListImportJobsResult.h:133
Aws::SESV2::Model::ListImportJobsResult::AddImportJobs
ListImportJobsResult & AddImportJobs(const ImportJobSummary &value)
Definition: ListImportJobsResult.h:71
AWSString.h
Aws::SESV2::Model::ListImportJobsResult::WithImportJobs
ListImportJobsResult & WithImportJobs(const Aws::Vector< ImportJobSummary > &value)
Definition: ListImportJobsResult.h:61
SESV2_EXPORTS.h
Aws::SESV2::Model::ListImportJobsResult
Definition: ListImportJobsResult.h:36
Aws::SESV2::Model::ListImportJobsResult::SetImportJobs
void SetImportJobs(Aws::Vector< ImportJobSummary > &&value)
Definition: ListImportJobsResult.h:56
Aws::SESV2::Model::ImportJobSummary
Definition: ImportJobSummary.h:35
Aws::SESV2::Model::ListImportJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListImportJobsResult.h:109
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::SESV2::Model::ListImportJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListImportJobsResult.h:101
Aws::SESV2::Model::ListImportJobsResult::SetImportJobs
void SetImportJobs(const Aws::Vector< ImportJobSummary > &value)
Definition: ListImportJobsResult.h:51