AWS SDK for C++  1.9.125
AWS SDK for C++
GetEffectivePoliciesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<EffectivePolicy>& GetEffectivePolicies() const{ return m_effectivePolicies; }
40 
44  inline void SetEffectivePolicies(const Aws::Vector<EffectivePolicy>& value) { m_effectivePolicies = value; }
45 
49  inline void SetEffectivePolicies(Aws::Vector<EffectivePolicy>&& value) { m_effectivePolicies = std::move(value); }
50 
54  inline GetEffectivePoliciesResult& WithEffectivePolicies(const Aws::Vector<EffectivePolicy>& value) { SetEffectivePolicies(value); return *this;}
55 
59  inline GetEffectivePoliciesResult& WithEffectivePolicies(Aws::Vector<EffectivePolicy>&& value) { SetEffectivePolicies(std::move(value)); return *this;}
60 
64  inline GetEffectivePoliciesResult& AddEffectivePolicies(const EffectivePolicy& value) { m_effectivePolicies.push_back(value); return *this; }
65 
69  inline GetEffectivePoliciesResult& AddEffectivePolicies(EffectivePolicy&& value) { m_effectivePolicies.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<EffectivePolicy> m_effectivePolicies;
74  };
75 
76 } // namespace Model
77 } // namespace IoT
78 } // namespace Aws
Aws::IoT::Model::GetEffectivePoliciesResult::AddEffectivePolicies
GetEffectivePoliciesResult & AddEffectivePolicies(const EffectivePolicy &value)
Definition: GetEffectivePoliciesResult.h:64
EffectivePolicy.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetEffectivePoliciesResult::SetEffectivePolicies
void SetEffectivePolicies(Aws::Vector< EffectivePolicy > &&value)
Definition: GetEffectivePoliciesResult.h:49
Aws::IoT::Model::GetEffectivePoliciesResult::SetEffectivePolicies
void SetEffectivePolicies(const Aws::Vector< EffectivePolicy > &value)
Definition: GetEffectivePoliciesResult.h:44
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::GetEffectivePoliciesResult::GetEffectivePoliciesResult
GetEffectivePoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::IoT::Model::GetEffectivePoliciesResult::operator=
GetEffectivePoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetEffectivePoliciesResult::WithEffectivePolicies
GetEffectivePoliciesResult & WithEffectivePolicies(Aws::Vector< EffectivePolicy > &&value)
Definition: GetEffectivePoliciesResult.h:59
Aws::IoT::Model::EffectivePolicy
Definition: EffectivePolicy.h:33
Aws::IoT::Model::GetEffectivePoliciesResult
Definition: GetEffectivePoliciesResult.h:29
Aws::IoT::Model::GetEffectivePoliciesResult::WithEffectivePolicies
GetEffectivePoliciesResult & WithEffectivePolicies(const Aws::Vector< EffectivePolicy > &value)
Definition: GetEffectivePoliciesResult.h:54
Aws::IoT::Model::GetEffectivePoliciesResult::GetEffectivePoliciesResult
GetEffectivePoliciesResult()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::GetEffectivePoliciesResult::AddEffectivePolicies
GetEffectivePoliciesResult & AddEffectivePolicies(EffectivePolicy &&value)
Definition: GetEffectivePoliciesResult.h:69
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
IoT_EXPORTS.h
Aws::IoT::Model::GetEffectivePoliciesResult::GetEffectivePolicies
const Aws::Vector< EffectivePolicy > & GetEffectivePolicies() const
Definition: GetEffectivePoliciesResult.h:39