AWS SDK for C++  1.9.157
AWS SDK for C++
GetMobileDeviceAccessOverrideResult.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::String& GetUserId() const{ return m_userId; }
41 
45  inline void SetUserId(const Aws::String& value) { m_userId = value; }
46 
50  inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
51 
55  inline void SetUserId(const char* value) { m_userId.assign(value); }
56 
60  inline GetMobileDeviceAccessOverrideResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
61 
65  inline GetMobileDeviceAccessOverrideResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
66 
70  inline GetMobileDeviceAccessOverrideResult& WithUserId(const char* value) { SetUserId(value); return *this;}
71 
72 
76  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
77 
81  inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
82 
86  inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
87 
91  inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
92 
96  inline GetMobileDeviceAccessOverrideResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
97 
101  inline GetMobileDeviceAccessOverrideResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
102 
106  inline GetMobileDeviceAccessOverrideResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
107 
108 
112  inline const MobileDeviceAccessRuleEffect& GetEffect() const{ return m_effect; }
113 
117  inline void SetEffect(const MobileDeviceAccessRuleEffect& value) { m_effect = value; }
118 
122  inline void SetEffect(MobileDeviceAccessRuleEffect&& value) { m_effect = std::move(value); }
123 
127  inline GetMobileDeviceAccessOverrideResult& WithEffect(const MobileDeviceAccessRuleEffect& value) { SetEffect(value); return *this;}
128 
132  inline GetMobileDeviceAccessOverrideResult& WithEffect(MobileDeviceAccessRuleEffect&& value) { SetEffect(std::move(value)); return *this;}
133 
134 
138  inline const Aws::String& GetDescription() const{ return m_description; }
139 
143  inline void SetDescription(const Aws::String& value) { m_description = value; }
144 
148  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
149 
153  inline void SetDescription(const char* value) { m_description.assign(value); }
154 
158  inline GetMobileDeviceAccessOverrideResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
159 
163  inline GetMobileDeviceAccessOverrideResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
164 
168  inline GetMobileDeviceAccessOverrideResult& WithDescription(const char* value) { SetDescription(value); return *this;}
169 
170 
174  inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
175 
179  inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreated = value; }
180 
184  inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreated = std::move(value); }
185 
189  inline GetMobileDeviceAccessOverrideResult& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
190 
194  inline GetMobileDeviceAccessOverrideResult& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetDateModified() const{ return m_dateModified; }
201 
205  inline void SetDateModified(const Aws::Utils::DateTime& value) { m_dateModified = value; }
206 
210  inline void SetDateModified(Aws::Utils::DateTime&& value) { m_dateModified = std::move(value); }
211 
215  inline GetMobileDeviceAccessOverrideResult& WithDateModified(const Aws::Utils::DateTime& value) { SetDateModified(value); return *this;}
216 
220  inline GetMobileDeviceAccessOverrideResult& WithDateModified(Aws::Utils::DateTime&& value) { SetDateModified(std::move(value)); return *this;}
221 
222  private:
223 
224  Aws::String m_userId;
225 
226  Aws::String m_deviceId;
227 
229 
230  Aws::String m_description;
231 
232  Aws::Utils::DateTime m_dateCreated;
233 
234  Aws::Utils::DateTime m_dateModified;
235  };
236 
237 } // namespace Model
238 } // namespace WorkMail
239 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:143
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDescription
GetMobileDeviceAccessOverrideResult & WithDescription(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:158
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDateModified
void SetDateModified(Aws::Utils::DateTime &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:210
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetDateModified
const Aws::Utils::DateTime & GetDateModified() const
Definition: GetMobileDeviceAccessOverrideResult.h:200
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithEffect
GetMobileDeviceAccessOverrideResult & WithEffect(const MobileDeviceAccessRuleEffect &value)
Definition: GetMobileDeviceAccessOverrideResult.h:127
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetDateCreated
const Aws::Utils::DateTime & GetDateCreated() const
Definition: GetMobileDeviceAccessOverrideResult.h:174
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithEffect
GetMobileDeviceAccessOverrideResult & WithEffect(MobileDeviceAccessRuleEffect &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:132
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithUserId
GetMobileDeviceAccessOverrideResult & WithUserId(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:60
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDateModified
void SetDateModified(const Aws::Utils::DateTime &value)
Definition: GetMobileDeviceAccessOverrideResult.h:205
DateTime.h
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDateCreated
GetMobileDeviceAccessOverrideResult & WithDateCreated(const Aws::Utils::DateTime &value)
Definition: GetMobileDeviceAccessOverrideResult.h:189
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:148
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetMobileDeviceAccessOverrideResult.h:138
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetMobileDeviceAccessOverrideResult
GetMobileDeviceAccessOverrideResult()
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDateModified
GetMobileDeviceAccessOverrideResult & WithDateModified(Aws::Utils::DateTime &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:220
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetUserId
const Aws::String & GetUserId() const
Definition: GetMobileDeviceAccessOverrideResult.h:40
WorkMail_EXPORTS.h
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithUserId
GetMobileDeviceAccessOverrideResult & WithUserId(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:70
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDateCreated
void SetDateCreated(const Aws::Utils::DateTime &value)
Definition: GetMobileDeviceAccessOverrideResult.h:179
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetUserId
void SetUserId(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:45
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDescription
void SetDescription(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:153
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDescription
GetMobileDeviceAccessOverrideResult & WithDescription(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:168
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetEffect
void SetEffect(const MobileDeviceAccessRuleEffect &value)
Definition: GetMobileDeviceAccessOverrideResult.h:117
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDateCreated
void SetDateCreated(Aws::Utils::DateTime &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:184
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: GetMobileDeviceAccessOverrideResult.h:76
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetUserId
void SetUserId(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:55
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDeviceId
GetMobileDeviceAccessOverrideResult & WithDeviceId(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:106
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDescription
GetMobileDeviceAccessOverrideResult & WithDescription(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:163
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDeviceId
GetMobileDeviceAccessOverrideResult & WithDeviceId(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:96
AWSString.h
MobileDeviceAccessRuleEffect.h
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult
Definition: GetMobileDeviceAccessOverrideResult.h:30
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:86
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: GetMobileDeviceAccessOverrideResult.h:81
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithUserId
GetMobileDeviceAccessOverrideResult & WithUserId(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:65
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetMobileDeviceAccessOverrideResult
GetMobileDeviceAccessOverrideResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::GetEffect
const MobileDeviceAccessRuleEffect & GetEffect() const
Definition: GetMobileDeviceAccessOverrideResult.h:112
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetDeviceId
void SetDeviceId(const char *value)
Definition: GetMobileDeviceAccessOverrideResult.h:91
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::operator=
GetMobileDeviceAccessOverrideResult & 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::GetMobileDeviceAccessOverrideResult::WithDateModified
GetMobileDeviceAccessOverrideResult & WithDateModified(const Aws::Utils::DateTime &value)
Definition: GetMobileDeviceAccessOverrideResult.h:215
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDateCreated
GetMobileDeviceAccessOverrideResult & WithDateCreated(Aws::Utils::DateTime &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:194
Aws::WorkMail::Model::MobileDeviceAccessRuleEffect
MobileDeviceAccessRuleEffect
Definition: MobileDeviceAccessRuleEffect.h:17
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetEffect
void SetEffect(MobileDeviceAccessRuleEffect &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:122
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::SetUserId
void SetUserId(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:50
Aws::WorkMail::Model::GetMobileDeviceAccessOverrideResult::WithDeviceId
GetMobileDeviceAccessOverrideResult & WithDeviceId(Aws::String &&value)
Definition: GetMobileDeviceAccessOverrideResult.h:101