/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace NetworkManager { namespace Model { class StartOrganizationServiceAccessUpdateResult { public: AWS_NETWORKMANAGER_API StartOrganizationServiceAccessUpdateResult(); AWS_NETWORKMANAGER_API StartOrganizationServiceAccessUpdateResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKMANAGER_API StartOrganizationServiceAccessUpdateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the service access update request for an Amazon Web Services * Organization.

*/ inline const OrganizationStatus& GetOrganizationStatus() const{ return m_organizationStatus; } /** *

The status of the service access update request for an Amazon Web Services * Organization.

*/ inline void SetOrganizationStatus(const OrganizationStatus& value) { m_organizationStatus = value; } /** *

The status of the service access update request for an Amazon Web Services * Organization.

*/ inline void SetOrganizationStatus(OrganizationStatus&& value) { m_organizationStatus = std::move(value); } /** *

The status of the service access update request for an Amazon Web Services * Organization.

*/ inline StartOrganizationServiceAccessUpdateResult& WithOrganizationStatus(const OrganizationStatus& value) { SetOrganizationStatus(value); return *this;} /** *

The status of the service access update request for an Amazon Web Services * Organization.

*/ inline StartOrganizationServiceAccessUpdateResult& WithOrganizationStatus(OrganizationStatus&& value) { SetOrganizationStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartOrganizationServiceAccessUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartOrganizationServiceAccessUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartOrganizationServiceAccessUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: OrganizationStatus m_organizationStatus; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkManager } // namespace Aws