AWS SDK for C++  1.9.104
AWS SDK for C++
ListMailboxExportJobsResult.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 WorkMail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<MailboxExportJob>& GetJobs() const{ return m_jobs; }
41 
45  inline void SetJobs(const Aws::Vector<MailboxExportJob>& value) { m_jobs = value; }
46 
50  inline void SetJobs(Aws::Vector<MailboxExportJob>&& value) { m_jobs = std::move(value); }
51 
55  inline ListMailboxExportJobsResult& WithJobs(const Aws::Vector<MailboxExportJob>& value) { SetJobs(value); return *this;}
56 
60  inline ListMailboxExportJobsResult& WithJobs(Aws::Vector<MailboxExportJob>&& value) { SetJobs(std::move(value)); return *this;}
61 
65  inline ListMailboxExportJobsResult& AddJobs(const MailboxExportJob& value) { m_jobs.push_back(value); return *this; }
66 
70  inline ListMailboxExportJobsResult& AddJobs(MailboxExportJob&& value) { m_jobs.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 ListMailboxExportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListMailboxExportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListMailboxExportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace WorkMail
117 } // namespace Aws
Aws::WorkMail::Model::ListMailboxExportJobsResult::SetJobs
void SetJobs(const Aws::Vector< MailboxExportJob > &value)
Definition: ListMailboxExportJobsResult.h:45
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::ListMailboxExportJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListMailboxExportJobsResult.h:91
Aws::WorkMail::Model::ListMailboxExportJobsResult::ListMailboxExportJobsResult
ListMailboxExportJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
WorkMail_EXPORTS.h
Aws::WorkMail::Model::ListMailboxExportJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMailboxExportJobsResult.h:81
AWSVector.h
Aws::WorkMail::Model::ListMailboxExportJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMailboxExportJobsResult.h:76
Aws::WorkMail::Model::ListMailboxExportJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMailboxExportJobsResult.h:86
Aws::WorkMail::Model::ListMailboxExportJobsResult::WithNextToken
ListMailboxExportJobsResult & WithNextToken(const char *value)
Definition: ListMailboxExportJobsResult.h:106
MailboxExportJob.h
AWSString.h
Aws::WorkMail::Model::ListMailboxExportJobsResult::WithJobs
ListMailboxExportJobsResult & WithJobs(Aws::Vector< MailboxExportJob > &&value)
Definition: ListMailboxExportJobsResult.h:60
Aws::WorkMail::Model::ListMailboxExportJobsResult::WithNextToken
ListMailboxExportJobsResult & WithNextToken(Aws::String &&value)
Definition: ListMailboxExportJobsResult.h:101
Aws::WorkMail::Model::ListMailboxExportJobsResult::WithJobs
ListMailboxExportJobsResult & WithJobs(const Aws::Vector< MailboxExportJob > &value)
Definition: ListMailboxExportJobsResult.h:55
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::ListMailboxExportJobsResult::operator=
ListMailboxExportJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListMailboxExportJobsResult::GetJobs
const Aws::Vector< MailboxExportJob > & GetJobs() const
Definition: ListMailboxExportJobsResult.h:40
Aws::WorkMail::Model::ListMailboxExportJobsResult::AddJobs
ListMailboxExportJobsResult & AddJobs(MailboxExportJob &&value)
Definition: ListMailboxExportJobsResult.h:70
Aws::WorkMail::Model::ListMailboxExportJobsResult
Definition: ListMailboxExportJobsResult.h:30
Aws::WorkMail::Model::MailboxExportJob
Definition: MailboxExportJob.h:36
Aws::WorkMail::Model::ListMailboxExportJobsResult::ListMailboxExportJobsResult
ListMailboxExportJobsResult()
Aws::WorkMail::Model::ListMailboxExportJobsResult::SetJobs
void SetJobs(Aws::Vector< MailboxExportJob > &&value)
Definition: ListMailboxExportJobsResult.h:50
Aws::WorkMail::Model::ListMailboxExportJobsResult::WithNextToken
ListMailboxExportJobsResult & WithNextToken(const Aws::String &value)
Definition: ListMailboxExportJobsResult.h:96
Aws::WorkMail::Model::ListMailboxExportJobsResult::AddJobs
ListMailboxExportJobsResult & AddJobs(const MailboxExportJob &value)
Definition: ListMailboxExportJobsResult.h:65