AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeOrganizationalUnitResult.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 OrganizationalUnit& GetOrganizationalUnit() const{ return m_organizationalUnit; }
39 
43  inline void SetOrganizationalUnit(const OrganizationalUnit& value) { m_organizationalUnit = value; }
44 
48  inline void SetOrganizationalUnit(OrganizationalUnit&& value) { m_organizationalUnit = std::move(value); }
49 
53  inline DescribeOrganizationalUnitResult& WithOrganizationalUnit(const OrganizationalUnit& value) { SetOrganizationalUnit(value); return *this;}
54 
58  inline DescribeOrganizationalUnitResult& WithOrganizationalUnit(OrganizationalUnit&& value) { SetOrganizationalUnit(std::move(value)); return *this;}
59 
60  private:
61 
62  OrganizationalUnit m_organizationalUnit;
63  };
64 
65 } // namespace Model
66 } // namespace Organizations
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Organizations::Model::DescribeOrganizationalUnitResult::SetOrganizationalUnit
void SetOrganizationalUnit(OrganizationalUnit &&value)
Definition: DescribeOrganizationalUnitResult.h:48
Aws::Organizations::Model::DescribeOrganizationalUnitResult::GetOrganizationalUnit
const OrganizationalUnit & GetOrganizationalUnit() const
Definition: DescribeOrganizationalUnitResult.h:38
Aws::Organizations::Model::DescribeOrganizationalUnitResult::SetOrganizationalUnit
void SetOrganizationalUnit(const OrganizationalUnit &value)
Definition: DescribeOrganizationalUnitResult.h:43
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::Model::DescribeOrganizationalUnitResult::DescribeOrganizationalUnitResult
DescribeOrganizationalUnitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::DescribeOrganizationalUnitResult
Definition: DescribeOrganizationalUnitResult.h:28
Aws::Organizations::Model::DescribeOrganizationalUnitResult::WithOrganizationalUnit
DescribeOrganizationalUnitResult & WithOrganizationalUnit(OrganizationalUnit &&value)
Definition: DescribeOrganizationalUnitResult.h:58
Aws::Organizations::Model::OrganizationalUnit
Definition: OrganizationalUnit.h:35
Aws::Organizations::Model::DescribeOrganizationalUnitResult::DescribeOrganizationalUnitResult
DescribeOrganizationalUnitResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Organizations::Model::DescribeOrganizationalUnitResult::operator=
DescribeOrganizationalUnitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Organizations::Model::DescribeOrganizationalUnitResult::WithOrganizationalUnit
DescribeOrganizationalUnitResult & WithOrganizationalUnit(const OrganizationalUnit &value)
Definition: DescribeOrganizationalUnitResult.h:53
OrganizationalUnit.h
Organizations_EXPORTS.h