AWS SDK for C++  1.9.109
AWS SDK for C++
CancelMailboxExportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace WorkMail
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CancelMailboxExportJob"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
42 
46  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 
51  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
52 
56  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
57 
61  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
62 
66  inline CancelMailboxExportJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
67 
71  inline CancelMailboxExportJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
72 
76  inline CancelMailboxExportJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
77 
78 
82  inline const Aws::String& GetJobId() const{ return m_jobId; }
83 
87  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
88 
92  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
93 
97  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
98 
102  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
103 
107  inline CancelMailboxExportJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
108 
112  inline CancelMailboxExportJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
113 
117  inline CancelMailboxExportJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
118 
119 
123  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
124 
128  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
129 
133  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
134 
138  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
139 
143  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
144 
148  inline CancelMailboxExportJobRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
149 
153  inline CancelMailboxExportJobRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
154 
158  inline CancelMailboxExportJobRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
159 
160  private:
161 
162  Aws::String m_clientToken;
163  bool m_clientTokenHasBeenSet;
164 
165  Aws::String m_jobId;
166  bool m_jobIdHasBeenSet;
167 
168  Aws::String m_organizationId;
169  bool m_organizationIdHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace WorkMail
174 } // namespace Aws
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithClientToken
CancelMailboxExportJobRequest & WithClientToken(const char *value)
Definition: CancelMailboxExportJobRequest.h:76
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithJobId
CancelMailboxExportJobRequest & WithJobId(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:107
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithClientToken
CancelMailboxExportJobRequest & WithClientToken(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:66
Aws::WorkMail::Model::CancelMailboxExportJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: CancelMailboxExportJobRequest.h:82
Aws::WorkMail::Model::CancelMailboxExportJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: CancelMailboxExportJobRequest.h:143
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithClientToken
CancelMailboxExportJobRequest & WithClientToken(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:71
Aws::WorkMail::Model::CancelMailboxExportJobRequest
Definition: CancelMailboxExportJobRequest.h:23
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:138
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:56
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithOrganizationId
CancelMailboxExportJobRequest & WithOrganizationId(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:148
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:133
WorkMail_EXPORTS.h
WorkMailRequest.h
Aws::WorkMail::Model::CancelMailboxExportJobRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CancelMailboxExportJobRequest.h:41
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:92
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithJobId
CancelMailboxExportJobRequest & WithJobId(const char *value)
Definition: CancelMailboxExportJobRequest.h:117
Aws::WorkMail::Model::CancelMailboxExportJobRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CancelMailboxExportJobRequest.h:46
Aws::WorkMail::Model::CancelMailboxExportJobRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: CancelMailboxExportJobRequest.h:123
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetJobId
void SetJobId(const char *value)
Definition: CancelMailboxExportJobRequest.h:102
AWSString.h
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithJobId
CancelMailboxExportJobRequest & WithJobId(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:112
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CancelMailboxExportJobRequest.h:61
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithOrganizationId
CancelMailboxExportJobRequest & WithOrganizationId(const char *value)
Definition: CancelMailboxExportJobRequest.h:158
Aws::WorkMail::Model::CancelMailboxExportJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: CancelMailboxExportJobRequest.h:87
Aws::WorkMail::Model::CancelMailboxExportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelMailboxExportJobRequest.h:31
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:97
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CancelMailboxExportJobRequest.h:51
Aws::WorkMail::Model::CancelMailboxExportJobRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: CancelMailboxExportJobRequest.h:128
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::CancelMailboxExportJobRequest::WithOrganizationId
CancelMailboxExportJobRequest & WithOrganizationId(Aws::String &&value)
Definition: CancelMailboxExportJobRequest.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::CancelMailboxExportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::CancelMailboxExportJobRequest::CancelMailboxExportJobRequest
CancelMailboxExportJobRequest()
UUID.h