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

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline void SetOperations(const Aws::Vector& value) { m_operations = value; } /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline void SetOperations(Aws::Vector&& value) { m_operations = std::move(value); } /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline DeleteRelationalDatabaseSnapshotResult& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline DeleteRelationalDatabaseSnapshotResult& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline DeleteRelationalDatabaseSnapshotResult& AddOperations(const Operation& value) { m_operations.push_back(value); return *this; } /** *

An array of objects that describe the result of the action, such as the * status of the request, the timestamp of the request, and the resources affected * by the request.

*/ inline DeleteRelationalDatabaseSnapshotResult& AddOperations(Operation&& value) { m_operations.push_back(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 DeleteRelationalDatabaseSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteRelationalDatabaseSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteRelationalDatabaseSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_operations; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws