AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeOrganizationResult.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 
43  inline const Organization& GetOrganization() const{ return m_organization; }
44 
53  inline void SetOrganization(const Organization& value) { m_organization = value; }
54 
63  inline void SetOrganization(Organization&& value) { m_organization = std::move(value); }
64 
73  inline DescribeOrganizationResult& WithOrganization(const Organization& value) { SetOrganization(value); return *this;}
74 
83  inline DescribeOrganizationResult& WithOrganization(Organization&& value) { SetOrganization(std::move(value)); return *this;}
84 
85  private:
86 
87  Organization m_organization;
88  };
89 
90 } // namespace Model
91 } // namespace Organizations
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::DescribeOrganizationResult
Definition: DescribeOrganizationResult.h:28
Aws::Organizations::Model::DescribeOrganizationResult::operator=
DescribeOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::Organization
Definition: Organization.h:38
Aws::Organizations::Model::DescribeOrganizationResult::WithOrganization
DescribeOrganizationResult & WithOrganization(const Organization &value)
Definition: DescribeOrganizationResult.h:73
Aws::Organizations::Model::DescribeOrganizationResult::DescribeOrganizationResult
DescribeOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::DescribeOrganizationResult::SetOrganization
void SetOrganization(const Organization &value)
Definition: DescribeOrganizationResult.h:53
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::DescribeOrganizationResult::DescribeOrganizationResult
DescribeOrganizationResult()
Organization.h
Aws::Organizations::Model::DescribeOrganizationResult::GetOrganization
const Organization & GetOrganization() const
Definition: DescribeOrganizationResult.h:43
Aws::Organizations::Model::DescribeOrganizationResult::WithOrganization
DescribeOrganizationResult & WithOrganization(Organization &&value)
Definition: DescribeOrganizationResult.h:83
Aws
Definition: AccessManagementClient.h:15
Organizations_EXPORTS.h
Aws::Organizations::Model::DescribeOrganizationResult::SetOrganization
void SetOrganization(Organization &&value)
Definition: DescribeOrganizationResult.h:63