AWS SDK for C++  1.9.159
AWS SDK for C++
DeleteMobileDeviceAccessOverrideRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkMail
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteMobileDeviceAccessOverride"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
42 
47  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
48 
53  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
54 
59  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 
65  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
66 
71  inline DeleteMobileDeviceAccessOverrideRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
72 
77  inline DeleteMobileDeviceAccessOverrideRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
78 
83  inline DeleteMobileDeviceAccessOverrideRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
84 
85 
94  inline const Aws::String& GetUserId() const{ return m_userId; }
95 
104  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
105 
114  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
115 
124  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
125 
134  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
135 
144  inline DeleteMobileDeviceAccessOverrideRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
145 
154  inline DeleteMobileDeviceAccessOverrideRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
155 
164  inline DeleteMobileDeviceAccessOverrideRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
165 
166 
171  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
172 
177  inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
178 
183  inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
184 
189  inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
190 
195  inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
196 
201  inline DeleteMobileDeviceAccessOverrideRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
202 
207  inline DeleteMobileDeviceAccessOverrideRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
208 
213  inline DeleteMobileDeviceAccessOverrideRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
214 
215  private:
216 
217  Aws::String m_organizationId;
218  bool m_organizationIdHasBeenSet;
219 
220  Aws::String m_userId;
221  bool m_userIdHasBeenSet;
222 
223  Aws::String m_deviceId;
224  bool m_deviceIdHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace WorkMail
229 } // namespace Aws
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:104
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:65
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:59
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetDeviceId
void SetDeviceId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:195
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteMobileDeviceAccessOverrideRequest.h:30
WorkMail_EXPORTS.h
WorkMailRequest.h
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:171
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithDeviceId
DeleteMobileDeviceAccessOverrideRequest & WithDeviceId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:213
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::GetUserId
const Aws::String & GetUserId() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:94
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithUserId
DeleteMobileDeviceAccessOverrideRequest & WithUserId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:164
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:41
AWSString.h
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithUserId
DeleteMobileDeviceAccessOverrideRequest & WithUserId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:144
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:124
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:47
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithDeviceId
DeleteMobileDeviceAccessOverrideRequest & WithDeviceId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:207
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithDeviceId
DeleteMobileDeviceAccessOverrideRequest & WithDeviceId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:201
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:53
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::DeleteMobileDeviceAccessOverrideRequest
DeleteMobileDeviceAccessOverrideRequest()
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithOrganizationId
DeleteMobileDeviceAccessOverrideRequest & WithOrganizationId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:77
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithUserId
DeleteMobileDeviceAccessOverrideRequest & WithUserId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:154
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithOrganizationId
DeleteMobileDeviceAccessOverrideRequest & WithOrganizationId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:189
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:114
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest
Definition: DeleteMobileDeviceAccessOverrideRequest.h:22
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetUserId
void SetUserId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:134
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::WithOrganizationId
DeleteMobileDeviceAccessOverrideRequest & WithOrganizationId(const char *value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:83
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::DeviceIdHasBeenSet
bool DeviceIdHasBeenSet() const
Definition: DeleteMobileDeviceAccessOverrideRequest.h:177
Aws::WorkMail::Model::DeleteMobileDeviceAccessOverrideRequest::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: DeleteMobileDeviceAccessOverrideRequest.h:183