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

A list of blue/green deployments in the current account and Amazon Web * Services Region.

*/ inline const Aws::Vector& GetBlueGreenDeployments() const{ return m_blueGreenDeployments; } /** *

A list of blue/green deployments in the current account and Amazon Web * Services Region.

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

A list of blue/green deployments in the current account and Amazon Web * Services Region.

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

A list of blue/green deployments in the current account and Amazon Web * Services Region.

*/ inline DescribeBlueGreenDeploymentsResult& WithBlueGreenDeployments(const Aws::Vector& value) { SetBlueGreenDeployments(value); return *this;} /** *

A list of blue/green deployments in the current account and Amazon Web * Services Region.

*/ inline DescribeBlueGreenDeploymentsResult& WithBlueGreenDeployments(Aws::Vector&& value) { SetBlueGreenDeployments(std::move(value)); return *this;} /** *

A list of blue/green deployments in the current account and Amazon Web * Services Region.

*/ inline DescribeBlueGreenDeploymentsResult& AddBlueGreenDeployments(const BlueGreenDeployment& value) { m_blueGreenDeployments.push_back(value); return *this; } /** *

A list of blue/green deployments in the current account and Amazon Web * Services Region.

*/ inline DescribeBlueGreenDeploymentsResult& AddBlueGreenDeployments(BlueGreenDeployment&& value) { m_blueGreenDeployments.push_back(std::move(value)); return *this; } /** *

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

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

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

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

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

*/ inline DescribeBlueGreenDeploymentsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

*/ inline DescribeBlueGreenDeploymentsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

A pagination token that can be used in a later * DescribeBlueGreenDeployments request.

*/ inline DescribeBlueGreenDeploymentsResult& WithMarker(const char* value) { SetMarker(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeBlueGreenDeploymentsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeBlueGreenDeploymentsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_blueGreenDeployments; Aws::String m_marker; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws