AWS SDK for C++  1.9.104
AWS SDK for C++
GetMobileDeviceAccessEffectRequest.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 "GetMobileDeviceAccessEffect"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
41 
45  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 
50  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
51 
55  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
56 
60  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 
65  inline GetMobileDeviceAccessEffectRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
66 
70  inline GetMobileDeviceAccessEffectRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
71 
75  inline GetMobileDeviceAccessEffectRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
82 
86  inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
87 
91  inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
92 
96  inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
97 
101  inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
102 
106  inline GetMobileDeviceAccessEffectRequest& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
107 
111  inline GetMobileDeviceAccessEffectRequest& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
112 
116  inline GetMobileDeviceAccessEffectRequest& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
117 
118 
122  inline const Aws::String& GetDeviceModel() const{ return m_deviceModel; }
123 
127  inline bool DeviceModelHasBeenSet() const { return m_deviceModelHasBeenSet; }
128 
132  inline void SetDeviceModel(const Aws::String& value) { m_deviceModelHasBeenSet = true; m_deviceModel = value; }
133 
137  inline void SetDeviceModel(Aws::String&& value) { m_deviceModelHasBeenSet = true; m_deviceModel = std::move(value); }
138 
142  inline void SetDeviceModel(const char* value) { m_deviceModelHasBeenSet = true; m_deviceModel.assign(value); }
143 
147  inline GetMobileDeviceAccessEffectRequest& WithDeviceModel(const Aws::String& value) { SetDeviceModel(value); return *this;}
148 
152  inline GetMobileDeviceAccessEffectRequest& WithDeviceModel(Aws::String&& value) { SetDeviceModel(std::move(value)); return *this;}
153 
157  inline GetMobileDeviceAccessEffectRequest& WithDeviceModel(const char* value) { SetDeviceModel(value); return *this;}
158 
159 
163  inline const Aws::String& GetDeviceOperatingSystem() const{ return m_deviceOperatingSystem; }
164 
168  inline bool DeviceOperatingSystemHasBeenSet() const { return m_deviceOperatingSystemHasBeenSet; }
169 
173  inline void SetDeviceOperatingSystem(const Aws::String& value) { m_deviceOperatingSystemHasBeenSet = true; m_deviceOperatingSystem = value; }
174 
178  inline void SetDeviceOperatingSystem(Aws::String&& value) { m_deviceOperatingSystemHasBeenSet = true; m_deviceOperatingSystem = std::move(value); }
179 
183  inline void SetDeviceOperatingSystem(const char* value) { m_deviceOperatingSystemHasBeenSet = true; m_deviceOperatingSystem.assign(value); }
184 
188  inline GetMobileDeviceAccessEffectRequest& WithDeviceOperatingSystem(const Aws::String& value) { SetDeviceOperatingSystem(value); return *this;}
189 
193  inline GetMobileDeviceAccessEffectRequest& WithDeviceOperatingSystem(Aws::String&& value) { SetDeviceOperatingSystem(std::move(value)); return *this;}
194 
198  inline GetMobileDeviceAccessEffectRequest& WithDeviceOperatingSystem(const char* value) { SetDeviceOperatingSystem(value); return *this;}
199 
200 
204  inline const Aws::String& GetDeviceUserAgent() const{ return m_deviceUserAgent; }
205 
209  inline bool DeviceUserAgentHasBeenSet() const { return m_deviceUserAgentHasBeenSet; }
210 
214  inline void SetDeviceUserAgent(const Aws::String& value) { m_deviceUserAgentHasBeenSet = true; m_deviceUserAgent = value; }
215 
219  inline void SetDeviceUserAgent(Aws::String&& value) { m_deviceUserAgentHasBeenSet = true; m_deviceUserAgent = std::move(value); }
220 
224  inline void SetDeviceUserAgent(const char* value) { m_deviceUserAgentHasBeenSet = true; m_deviceUserAgent.assign(value); }
225 
229  inline GetMobileDeviceAccessEffectRequest& WithDeviceUserAgent(const Aws::String& value) { SetDeviceUserAgent(value); return *this;}
230 
234  inline GetMobileDeviceAccessEffectRequest& WithDeviceUserAgent(Aws::String&& value) { SetDeviceUserAgent(std::move(value)); return *this;}
235 
239  inline GetMobileDeviceAccessEffectRequest& WithDeviceUserAgent(const char* value) { SetDeviceUserAgent(value); return *this;}
240 
241  private:
242 
243  Aws::String m_organizationId;
244  bool m_organizationIdHasBeenSet;
245 
246  Aws::String m_deviceType;
247  bool m_deviceTypeHasBeenSet;
248 
249  Aws::String m_deviceModel;
250  bool m_deviceModelHasBeenSet;
251 
252  Aws::String m_deviceOperatingSystem;
253  bool m_deviceOperatingSystemHasBeenSet;
254 
255  Aws::String m_deviceUserAgent;
256  bool m_deviceUserAgentHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace WorkMail
261 } // namespace Aws
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceModel
void SetDeviceModel(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:142
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetDeviceUserAgent
const Aws::String & GetDeviceUserAgent() const
Definition: GetMobileDeviceAccessEffectRequest.h:204
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceModel
GetMobileDeviceAccessEffectRequest & WithDeviceModel(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:147
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceOperatingSystem
void SetDeviceOperatingSystem(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:178
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: GetMobileDeviceAccessEffectRequest.h:45
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMobileDeviceAccessEffectRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceType
void SetDeviceType(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:101
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: GetMobileDeviceAccessEffectRequest.h:40
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceModel
void SetDeviceModel(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:132
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetMobileDeviceAccessEffectRequest
GetMobileDeviceAccessEffectRequest()
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::DeviceModelHasBeenSet
bool DeviceModelHasBeenSet() const
Definition: GetMobileDeviceAccessEffectRequest.h:127
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceModel
GetMobileDeviceAccessEffectRequest & WithDeviceModel(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:157
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceType
void SetDeviceType(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:96
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceType
GetMobileDeviceAccessEffectRequest & WithDeviceType(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:111
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceUserAgent
void SetDeviceUserAgent(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:224
WorkMail_EXPORTS.h
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest
Definition: GetMobileDeviceAccessEffectRequest.h:22
WorkMailRequest.h
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::DeviceOperatingSystemHasBeenSet
bool DeviceOperatingSystemHasBeenSet() const
Definition: GetMobileDeviceAccessEffectRequest.h:168
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:60
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetDeviceModel
const Aws::String & GetDeviceModel() const
Definition: GetMobileDeviceAccessEffectRequest.h:122
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceType
GetMobileDeviceAccessEffectRequest & WithDeviceType(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:106
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceType
GetMobileDeviceAccessEffectRequest & WithDeviceType(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:116
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetDeviceOperatingSystem
const Aws::String & GetDeviceOperatingSystem() const
Definition: GetMobileDeviceAccessEffectRequest.h:163
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::DeviceUserAgentHasBeenSet
bool DeviceUserAgentHasBeenSet() const
Definition: GetMobileDeviceAccessEffectRequest.h:209
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceType
void SetDeviceType(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:91
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::GetDeviceType
const Aws::String & GetDeviceType() const
Definition: GetMobileDeviceAccessEffectRequest.h:81
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceModel
GetMobileDeviceAccessEffectRequest & WithDeviceModel(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:152
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceUserAgent
void SetDeviceUserAgent(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:219
AWSString.h
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceUserAgent
GetMobileDeviceAccessEffectRequest & WithDeviceUserAgent(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:234
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:55
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceOperatingSystem
GetMobileDeviceAccessEffectRequest & WithDeviceOperatingSystem(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:188
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceOperatingSystem
void SetDeviceOperatingSystem(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:173
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceModel
void SetDeviceModel(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:137
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceUserAgent
void SetDeviceUserAgent(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:214
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetDeviceOperatingSystem
void SetDeviceOperatingSystem(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:183
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:50
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceOperatingSystem
GetMobileDeviceAccessEffectRequest & WithDeviceOperatingSystem(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceOperatingSystem
GetMobileDeviceAccessEffectRequest & WithDeviceOperatingSystem(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:198
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceUserAgent
GetMobileDeviceAccessEffectRequest & WithDeviceUserAgent(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:229
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::DeviceTypeHasBeenSet
bool DeviceTypeHasBeenSet() const
Definition: GetMobileDeviceAccessEffectRequest.h:86
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithOrganizationId
GetMobileDeviceAccessEffectRequest & WithOrganizationId(const Aws::String &value)
Definition: GetMobileDeviceAccessEffectRequest.h:65
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithOrganizationId
GetMobileDeviceAccessEffectRequest & WithOrganizationId(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:75
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithOrganizationId
GetMobileDeviceAccessEffectRequest & WithOrganizationId(Aws::String &&value)
Definition: GetMobileDeviceAccessEffectRequest.h:70
Aws::WorkMail::Model::GetMobileDeviceAccessEffectRequest::WithDeviceUserAgent
GetMobileDeviceAccessEffectRequest & WithDeviceUserAgent(const char *value)
Definition: GetMobileDeviceAccessEffectRequest.h:239