AWS SDK for C++  1.9.105
AWS SDK for C++
GetMobileDeviceAccessEffectResult.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 
42  inline const MobileDeviceAccessRuleEffect& GetEffect() const{ return m_effect; }
43 
49  inline void SetEffect(const MobileDeviceAccessRuleEffect& value) { m_effect = value; }
50 
56  inline void SetEffect(MobileDeviceAccessRuleEffect&& value) { m_effect = std::move(value); }
57 
63  inline GetMobileDeviceAccessEffectResult& WithEffect(const MobileDeviceAccessRuleEffect& value) { SetEffect(value); return *this;}
64 
70  inline GetMobileDeviceAccessEffectResult& WithEffect(MobileDeviceAccessRuleEffect&& value) { SetEffect(std::move(value)); return *this;}
71 
72 
77  inline const Aws::Vector<MobileDeviceAccessMatchedRule>& GetMatchedRules() const{ return m_matchedRules; }
78 
83  inline void SetMatchedRules(const Aws::Vector<MobileDeviceAccessMatchedRule>& value) { m_matchedRules = value; }
84 
89  inline void SetMatchedRules(Aws::Vector<MobileDeviceAccessMatchedRule>&& value) { m_matchedRules = std::move(value); }
90 
95  inline GetMobileDeviceAccessEffectResult& WithMatchedRules(const Aws::Vector<MobileDeviceAccessMatchedRule>& value) { SetMatchedRules(value); return *this;}
96 
101  inline GetMobileDeviceAccessEffectResult& WithMatchedRules(Aws::Vector<MobileDeviceAccessMatchedRule>&& value) { SetMatchedRules(std::move(value)); return *this;}
102 
107  inline GetMobileDeviceAccessEffectResult& AddMatchedRules(const MobileDeviceAccessMatchedRule& value) { m_matchedRules.push_back(value); return *this; }
108 
113  inline GetMobileDeviceAccessEffectResult& AddMatchedRules(MobileDeviceAccessMatchedRule&& value) { m_matchedRules.push_back(std::move(value)); return *this; }
114 
115  private:
116 
118 
120  };
121 
122 } // namespace Model
123 } // namespace WorkMail
124 } // namespace Aws
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::SetMatchedRules
void SetMatchedRules(const Aws::Vector< MobileDeviceAccessMatchedRule > &value)
Definition: GetMobileDeviceAccessEffectResult.h:83
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::GetMatchedRules
const Aws::Vector< MobileDeviceAccessMatchedRule > & GetMatchedRules() const
Definition: GetMobileDeviceAccessEffectResult.h:77
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::operator=
GetMobileDeviceAccessEffectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::WithMatchedRules
GetMobileDeviceAccessEffectResult & WithMatchedRules(const Aws::Vector< MobileDeviceAccessMatchedRule > &value)
Definition: GetMobileDeviceAccessEffectResult.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::WithEffect
GetMobileDeviceAccessEffectResult & WithEffect(MobileDeviceAccessRuleEffect &&value)
Definition: GetMobileDeviceAccessEffectResult.h:70
WorkMail_EXPORTS.h
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::GetMobileDeviceAccessEffectResult
GetMobileDeviceAccessEffectResult()
AWSVector.h
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::SetMatchedRules
void SetMatchedRules(Aws::Vector< MobileDeviceAccessMatchedRule > &&value)
Definition: GetMobileDeviceAccessEffectResult.h:89
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult
Definition: GetMobileDeviceAccessEffectResult.h:30
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::AddMatchedRules
GetMobileDeviceAccessEffectResult & AddMatchedRules(const MobileDeviceAccessMatchedRule &value)
Definition: GetMobileDeviceAccessEffectResult.h:107
MobileDeviceAccessMatchedRule.h
Aws::WorkMail::Model::MobileDeviceAccessMatchedRule
Definition: MobileDeviceAccessMatchedRule.h:32
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::GetMobileDeviceAccessEffectResult
GetMobileDeviceAccessEffectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::SetEffect
void SetEffect(MobileDeviceAccessRuleEffect &&value)
Definition: GetMobileDeviceAccessEffectResult.h:56
MobileDeviceAccessRuleEffect.h
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::SetEffect
void SetEffect(const MobileDeviceAccessRuleEffect &value)
Definition: GetMobileDeviceAccessEffectResult.h:49
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::WithEffect
GetMobileDeviceAccessEffectResult & WithEffect(const MobileDeviceAccessRuleEffect &value)
Definition: GetMobileDeviceAccessEffectResult.h:63
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::MobileDeviceAccessRuleEffect
MobileDeviceAccessRuleEffect
Definition: MobileDeviceAccessRuleEffect.h:17
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::WithMatchedRules
GetMobileDeviceAccessEffectResult & WithMatchedRules(Aws::Vector< MobileDeviceAccessMatchedRule > &&value)
Definition: GetMobileDeviceAccessEffectResult.h:101
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::GetEffect
const MobileDeviceAccessRuleEffect & GetEffect() const
Definition: GetMobileDeviceAccessEffectResult.h:42
Aws::WorkMail::Model::GetMobileDeviceAccessEffectResult::AddMatchedRules
GetMobileDeviceAccessEffectResult & AddMatchedRules(MobileDeviceAccessMatchedRule &&value)
Definition: GetMobileDeviceAccessEffectResult.h:113