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