AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeEffectivePolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Organizations
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const EffectivePolicy& GetEffectivePolicy() const{ return m_effectivePolicy; }
39 
43  inline void SetEffectivePolicy(const EffectivePolicy& value) { m_effectivePolicy = value; }
44 
48  inline void SetEffectivePolicy(EffectivePolicy&& value) { m_effectivePolicy = std::move(value); }
49 
53  inline DescribeEffectivePolicyResult& WithEffectivePolicy(const EffectivePolicy& value) { SetEffectivePolicy(value); return *this;}
54 
58  inline DescribeEffectivePolicyResult& WithEffectivePolicy(EffectivePolicy&& value) { SetEffectivePolicy(std::move(value)); return *this;}
59 
60  private:
61 
62  EffectivePolicy m_effectivePolicy;
63  };
64 
65 } // namespace Model
66 } // namespace Organizations
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::DescribeEffectivePolicyResult::SetEffectivePolicy
void SetEffectivePolicy(const EffectivePolicy &value)
Definition: DescribeEffectivePolicyResult.h:43
Aws::Organizations::Model::DescribeEffectivePolicyResult::operator=
DescribeEffectivePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::DescribeEffectivePolicyResult::WithEffectivePolicy
DescribeEffectivePolicyResult & WithEffectivePolicy(const EffectivePolicy &value)
Definition: DescribeEffectivePolicyResult.h:53
Aws::Organizations::Model::DescribeEffectivePolicyResult::WithEffectivePolicy
DescribeEffectivePolicyResult & WithEffectivePolicy(EffectivePolicy &&value)
Definition: DescribeEffectivePolicyResult.h:58
Aws::Organizations::Model::DescribeEffectivePolicyResult::GetEffectivePolicy
const EffectivePolicy & GetEffectivePolicy() const
Definition: DescribeEffectivePolicyResult.h:38
Aws::Organizations::Model::DescribeEffectivePolicyResult::DescribeEffectivePolicyResult
DescribeEffectivePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
EffectivePolicy.h
Organizations_EXPORTS.h
Aws::Organizations::Model::DescribeEffectivePolicyResult::SetEffectivePolicy
void SetEffectivePolicy(EffectivePolicy &&value)
Definition: DescribeEffectivePolicyResult.h:48
Aws::Organizations::Model::DescribeEffectivePolicyResult::DescribeEffectivePolicyResult
DescribeEffectivePolicyResult()
Aws::Organizations::Model::DescribeEffectivePolicyResult
Definition: DescribeEffectivePolicyResult.h:28
Aws::Organizations::Model::EffectivePolicy
Definition: EffectivePolicy.h:36