/** * 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 OpsWorks { namespace Model { /** *

Contains the response to a DescribeRdsDbInstances * request.

See Also:

AWS * API Reference

*/ class DescribeRdsDbInstancesResult { public: AWS_OPSWORKS_API DescribeRdsDbInstancesResult(); AWS_OPSWORKS_API DescribeRdsDbInstancesResult(const Aws::AmazonWebServiceResult& result); AWS_OPSWORKS_API DescribeRdsDbInstancesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An a array of RdsDbInstance objects that describe the * instances.

*/ inline const Aws::Vector& GetRdsDbInstances() const{ return m_rdsDbInstances; } /** *

An a array of RdsDbInstance objects that describe the * instances.

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

An a array of RdsDbInstance objects that describe the * instances.

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

An a array of RdsDbInstance objects that describe the * instances.

*/ inline DescribeRdsDbInstancesResult& WithRdsDbInstances(const Aws::Vector& value) { SetRdsDbInstances(value); return *this;} /** *

An a array of RdsDbInstance objects that describe the * instances.

*/ inline DescribeRdsDbInstancesResult& WithRdsDbInstances(Aws::Vector&& value) { SetRdsDbInstances(std::move(value)); return *this;} /** *

An a array of RdsDbInstance objects that describe the * instances.

*/ inline DescribeRdsDbInstancesResult& AddRdsDbInstances(const RdsDbInstance& value) { m_rdsDbInstances.push_back(value); return *this; } /** *

An a array of RdsDbInstance objects that describe the * instances.

*/ inline DescribeRdsDbInstancesResult& AddRdsDbInstances(RdsDbInstance&& value) { m_rdsDbInstances.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 DescribeRdsDbInstancesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRdsDbInstancesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRdsDbInstancesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_rdsDbInstances; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws