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

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline const Aws::String& GetOperationIdentifier() const{ return m_operationIdentifier; } /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline void SetOperationIdentifier(const Aws::String& value) { m_operationIdentifier = value; } /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline void SetOperationIdentifier(Aws::String&& value) { m_operationIdentifier = std::move(value); } /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline void SetOperationIdentifier(const char* value) { m_operationIdentifier.assign(value); } /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline EnableControlResult& WithOperationIdentifier(const Aws::String& value) { SetOperationIdentifier(value); return *this;} /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline EnableControlResult& WithOperationIdentifier(Aws::String&& value) { SetOperationIdentifier(std::move(value)); return *this;} /** *

The ID of the asynchronous operation, which is used to track status. The * operation is available for 90 days.

*/ inline EnableControlResult& WithOperationIdentifier(const char* value) { SetOperationIdentifier(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 EnableControlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline EnableControlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline EnableControlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_operationIdentifier; Aws::String m_requestId; }; } // namespace Model } // namespace ControlTower } // namespace Aws