/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class DescribeMultiRegionAccessPointOperationResult { public: AWS_S3CONTROL_API DescribeMultiRegionAccessPointOperationResult(); AWS_S3CONTROL_API DescribeMultiRegionAccessPointOperationResult(const Aws::AmazonWebServiceResult& result); AWS_S3CONTROL_API DescribeMultiRegionAccessPointOperationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A container element containing the details of the asynchronous operation.

*/ inline const AsyncOperation& GetAsyncOperation() const{ return m_asyncOperation; } /** *

A container element containing the details of the asynchronous operation.

*/ inline void SetAsyncOperation(const AsyncOperation& value) { m_asyncOperation = value; } /** *

A container element containing the details of the asynchronous operation.

*/ inline void SetAsyncOperation(AsyncOperation&& value) { m_asyncOperation = std::move(value); } /** *

A container element containing the details of the asynchronous operation.

*/ inline DescribeMultiRegionAccessPointOperationResult& WithAsyncOperation(const AsyncOperation& value) { SetAsyncOperation(value); return *this;} /** *

A container element containing the details of the asynchronous operation.

*/ inline DescribeMultiRegionAccessPointOperationResult& WithAsyncOperation(AsyncOperation&& value) { SetAsyncOperation(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 DescribeMultiRegionAccessPointOperationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMultiRegionAccessPointOperationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMultiRegionAccessPointOperationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AsyncOperation m_asyncOperation; Aws::String m_requestId; }; } // namespace Model } // namespace S3Control } // namespace Aws