AWS SDK for C++  1.9.108
AWS SDK for C++
EnablePolicyTypeResult.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 
39  inline const Root& GetRoot() const{ return m_root; }
40 
45  inline void SetRoot(const Root& value) { m_root = value; }
46 
51  inline void SetRoot(Root&& value) { m_root = std::move(value); }
52 
57  inline EnablePolicyTypeResult& WithRoot(const Root& value) { SetRoot(value); return *this;}
58 
63  inline EnablePolicyTypeResult& WithRoot(Root&& value) { SetRoot(std::move(value)); return *this;}
64 
65  private:
66 
67  Root m_root;
68  };
69 
70 } // namespace Model
71 } // namespace Organizations
72 } // namespace Aws
Aws::Organizations::Model::EnablePolicyTypeResult::SetRoot
void SetRoot(Root &&value)
Definition: EnablePolicyTypeResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::EnablePolicyTypeResult::EnablePolicyTypeResult
EnablePolicyTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::EnablePolicyTypeResult::GetRoot
const Root & GetRoot() const
Definition: EnablePolicyTypeResult.h:39
Aws::Organizations::Model::EnablePolicyTypeResult::operator=
EnablePolicyTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::EnablePolicyTypeResult::WithRoot
EnablePolicyTypeResult & WithRoot(Root &&value)
Definition: EnablePolicyTypeResult.h:63
Aws::Organizations::Model::Root
Definition: Root.h:37
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Root.h
Aws::Organizations::Model::EnablePolicyTypeResult::WithRoot
EnablePolicyTypeResult & WithRoot(const Root &value)
Definition: EnablePolicyTypeResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::EnablePolicyTypeResult
Definition: EnablePolicyTypeResult.h:28
Aws::Organizations::Model::EnablePolicyTypeResult::EnablePolicyTypeResult
EnablePolicyTypeResult()
Organizations_EXPORTS.h
Aws::Organizations::Model::EnablePolicyTypeResult::SetRoot
void SetRoot(const Root &value)
Definition: EnablePolicyTypeResult.h:45