AWS SDK for C++  1.9.109
AWS SDK for C++
GetAWSOrganizationsAccessStatusResult.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 ServiceCatalog
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const AccessStatus& GetAccessStatus() const{ return m_accessStatus; }
39 
43  inline void SetAccessStatus(const AccessStatus& value) { m_accessStatus = value; }
44 
48  inline void SetAccessStatus(AccessStatus&& value) { m_accessStatus = std::move(value); }
49 
53  inline GetAWSOrganizationsAccessStatusResult& WithAccessStatus(const AccessStatus& value) { SetAccessStatus(value); return *this;}
54 
58  inline GetAWSOrganizationsAccessStatusResult& WithAccessStatus(AccessStatus&& value) { SetAccessStatus(std::move(value)); return *this;}
59 
60  private:
61 
62  AccessStatus m_accessStatus;
63  };
64 
65 } // namespace Model
66 } // namespace ServiceCatalog
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult
Definition: GetAWSOrganizationsAccessStatusResult.h:28
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::GetAWSOrganizationsAccessStatusResult
GetAWSOrganizationsAccessStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::WithAccessStatus
GetAWSOrganizationsAccessStatusResult & WithAccessStatus(AccessStatus &&value)
Definition: GetAWSOrganizationsAccessStatusResult.h:58
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::operator=
GetAWSOrganizationsAccessStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::SetAccessStatus
void SetAccessStatus(const AccessStatus &value)
Definition: GetAWSOrganizationsAccessStatusResult.h:43
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::SetAccessStatus
void SetAccessStatus(AccessStatus &&value)
Definition: GetAWSOrganizationsAccessStatusResult.h:48
AccessStatus.h
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::GetAccessStatus
const AccessStatus & GetAccessStatus() const
Definition: GetAWSOrganizationsAccessStatusResult.h:38
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::GetAWSOrganizationsAccessStatusResult
GetAWSOrganizationsAccessStatusResult()
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::AccessStatus
AccessStatus
Definition: AccessStatus.h:17
Aws::ServiceCatalog::Model::GetAWSOrganizationsAccessStatusResult::WithAccessStatus
GetAWSOrganizationsAccessStatusResult & WithAccessStatus(const AccessStatus &value)
Definition: GetAWSOrganizationsAccessStatusResult.h:53
ServiceCatalog_EXPORTS.h