AWS SDK for C++  1.9.108
AWS SDK for C++
StartMailboxExportJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace WorkMail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetJobId() const{ return m_jobId; }
39 
43  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
44 
48  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
49 
53  inline void SetJobId(const char* value) { m_jobId.assign(value); }
54 
58  inline StartMailboxExportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
59 
63  inline StartMailboxExportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
64 
68  inline StartMailboxExportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_jobId;
73  };
74 
75 } // namespace Model
76 } // namespace WorkMail
77 } // namespace Aws
Aws::WorkMail::Model::StartMailboxExportJobResult::operator=
StartMailboxExportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::StartMailboxExportJobResult::WithJobId
StartMailboxExportJobResult & WithJobId(const Aws::String &value)
Definition: StartMailboxExportJobResult.h:58
Aws::WorkMail::Model::StartMailboxExportJobResult::StartMailboxExportJobResult
StartMailboxExportJobResult()
WorkMail_EXPORTS.h
Aws::WorkMail::Model::StartMailboxExportJobResult::WithJobId
StartMailboxExportJobResult & WithJobId(const char *value)
Definition: StartMailboxExportJobResult.h:68
Aws::WorkMail::Model::StartMailboxExportJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartMailboxExportJobResult.h:43
Aws::WorkMail::Model::StartMailboxExportJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartMailboxExportJobResult.h:48
AWSString.h
Aws::WorkMail::Model::StartMailboxExportJobResult::WithJobId
StartMailboxExportJobResult & WithJobId(Aws::String &&value)
Definition: StartMailboxExportJobResult.h:63
Aws::WorkMail::Model::StartMailboxExportJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartMailboxExportJobResult.h:38
Aws::WorkMail::Model::StartMailboxExportJobResult
Definition: StartMailboxExportJobResult.h:28
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::StartMailboxExportJobResult::SetJobId
void SetJobId(const char *value)
Definition: StartMailboxExportJobResult.h:53
Aws::WorkMail::Model::StartMailboxExportJobResult::StartMailboxExportJobResult
StartMailboxExportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)