/** * 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 { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { /** *

Contains a list of continuous deployment policies.

See Also:

* AWS * API Reference

*/ class ContinuousDeploymentPolicyList { public: AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList(); AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; } /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; } /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); } /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); } /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline ContinuousDeploymentPolicyList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline ContinuousDeploymentPolicyList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

Indicates the next page of continuous deployment policies. To get the next * page of the list, use this value in the Marker field of your * request.

*/ inline ContinuousDeploymentPolicyList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

The maximum number of continuous deployment policies that were specified in * your request.

*/ inline int GetMaxItems() const{ return m_maxItems; } /** *

The maximum number of continuous deployment policies that were specified in * your request.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

The maximum number of continuous deployment policies that were specified in * your request.

*/ inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

The maximum number of continuous deployment policies that were specified in * your request.

*/ inline ContinuousDeploymentPolicyList& WithMaxItems(int value) { SetMaxItems(value); return *this;} /** *

The total number of continuous deployment policies in your Amazon Web * Services account, regardless of the MaxItems value.

*/ inline int GetQuantity() const{ return m_quantity; } /** *

The total number of continuous deployment policies in your Amazon Web * Services account, regardless of the MaxItems value.

*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *

The total number of continuous deployment policies in your Amazon Web * Services account, regardless of the MaxItems value.

*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *

The total number of continuous deployment policies in your Amazon Web * Services account, regardless of the MaxItems value.

*/ inline ContinuousDeploymentPolicyList& WithQuantity(int value) { SetQuantity(value); return *this;} /** *

A list of continuous deployment policy items.

*/ inline const Aws::Vector& GetItems() const{ return m_items; } /** *

A list of continuous deployment policy items.

*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *

A list of continuous deployment policy items.

*/ inline void SetItems(const Aws::Vector& value) { m_itemsHasBeenSet = true; m_items = value; } /** *

A list of continuous deployment policy items.

*/ inline void SetItems(Aws::Vector&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); } /** *

A list of continuous deployment policy items.

*/ inline ContinuousDeploymentPolicyList& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} /** *

A list of continuous deployment policy items.

*/ inline ContinuousDeploymentPolicyList& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} /** *

A list of continuous deployment policy items.

*/ inline ContinuousDeploymentPolicyList& AddItems(const ContinuousDeploymentPolicySummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *

A list of continuous deployment policy items.

*/ inline ContinuousDeploymentPolicyList& AddItems(ContinuousDeploymentPolicySummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } private: Aws::String m_nextMarker; bool m_nextMarkerHasBeenSet = false; int m_maxItems; bool m_maxItemsHasBeenSet = false; int m_quantity; bool m_quantityHasBeenSet = false; Aws::Vector m_items; bool m_itemsHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws