AWS SDK for C++  1.9.157
AWS SDK for C++
ListMobileDeviceAccessOverridesResult.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 
41  inline const Aws::Vector<MobileDeviceAccessOverride>& GetOverrides() const{ return m_overrides; }
42 
47  inline void SetOverrides(const Aws::Vector<MobileDeviceAccessOverride>& value) { m_overrides = value; }
48 
53  inline void SetOverrides(Aws::Vector<MobileDeviceAccessOverride>&& value) { m_overrides = std::move(value); }
54 
59  inline ListMobileDeviceAccessOverridesResult& WithOverrides(const Aws::Vector<MobileDeviceAccessOverride>& value) { SetOverrides(value); return *this;}
60 
65  inline ListMobileDeviceAccessOverridesResult& WithOverrides(Aws::Vector<MobileDeviceAccessOverride>&& value) { SetOverrides(std::move(value)); return *this;}
66 
71  inline ListMobileDeviceAccessOverridesResult& AddOverrides(const MobileDeviceAccessOverride& value) { m_overrides.push_back(value); return *this; }
72 
77  inline ListMobileDeviceAccessOverridesResult& AddOverrides(MobileDeviceAccessOverride&& value) { m_overrides.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListMobileDeviceAccessOverridesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListMobileDeviceAccessOverridesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListMobileDeviceAccessOverridesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace WorkMail
131 } // namespace Aws
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::AddOverrides
ListMobileDeviceAccessOverridesResult & AddOverrides(const MobileDeviceAccessOverride &value)
Definition: ListMobileDeviceAccessOverridesResult.h:71
Aws::WorkMail::Model::MobileDeviceAccessOverride
Definition: MobileDeviceAccessOverride.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::SetOverrides
void SetOverrides(const Aws::Vector< MobileDeviceAccessOverride > &value)
Definition: ListMobileDeviceAccessOverridesResult.h:47
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMobileDeviceAccessOverridesResult.h:84
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::SetOverrides
void SetOverrides(Aws::Vector< MobileDeviceAccessOverride > &&value)
Definition: ListMobileDeviceAccessOverridesResult.h:53
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::WithOverrides
ListMobileDeviceAccessOverridesResult & WithOverrides(const Aws::Vector< MobileDeviceAccessOverride > &value)
Definition: ListMobileDeviceAccessOverridesResult.h:59
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesResult.h:96
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::GetOverrides
const Aws::Vector< MobileDeviceAccessOverride > & GetOverrides() const
Definition: ListMobileDeviceAccessOverridesResult.h:41
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::ListMobileDeviceAccessOverridesResult
ListMobileDeviceAccessOverridesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
WorkMail_EXPORTS.h
AWSVector.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListMobileDeviceAccessOverridesResult.h:102
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::WithNextToken
ListMobileDeviceAccessOverridesResult & WithNextToken(Aws::String &&value)
Definition: ListMobileDeviceAccessOverridesResult.h:114
MobileDeviceAccessOverride.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult
Definition: ListMobileDeviceAccessOverridesResult.h:30
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::ListMobileDeviceAccessOverridesResult
ListMobileDeviceAccessOverridesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::WithNextToken
ListMobileDeviceAccessOverridesResult & WithNextToken(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesResult.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::operator=
ListMobileDeviceAccessOverridesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::ListMobileDeviceAccessOverridesResult::AddOverrides
ListMobileDeviceAccessOverridesResult & AddOverrides(MobileDeviceAccessOverride &&value)
Definition: ListMobileDeviceAccessOverridesResult.h:77
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::WithNextToken
ListMobileDeviceAccessOverridesResult & WithNextToken(const char *value)
Definition: ListMobileDeviceAccessOverridesResult.h:120
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMobileDeviceAccessOverridesResult.h:90
Aws::WorkMail::Model::ListMobileDeviceAccessOverridesResult::WithOverrides
ListMobileDeviceAccessOverridesResult & WithOverrides(Aws::Vector< MobileDeviceAccessOverride > &&value)
Definition: ListMobileDeviceAccessOverridesResult.h:65