AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContinuousDeploymentPolicyList.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudfront/model/ContinuousDeploymentPolicySummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList() = default;
37 AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
49 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
50 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
51 template<typename NextMarkerT = Aws::String>
52 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
53 template<typename NextMarkerT = Aws::String>
54 ContinuousDeploymentPolicyList& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
56
58
62 inline int GetMaxItems() const { return m_maxItems; }
63 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
64 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
65 inline ContinuousDeploymentPolicyList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
67
69
73 inline int GetQuantity() const { return m_quantity; }
74 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
75 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
76 inline ContinuousDeploymentPolicyList& WithQuantity(int value) { SetQuantity(value); return *this;}
78
80
83 inline const Aws::Vector<ContinuousDeploymentPolicySummary>& GetItems() const { return m_items; }
84 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
85 template<typename ItemsT = Aws::Vector<ContinuousDeploymentPolicySummary>>
86 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
87 template<typename ItemsT = Aws::Vector<ContinuousDeploymentPolicySummary>>
88 ContinuousDeploymentPolicyList& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
89 template<typename ItemsT = ContinuousDeploymentPolicySummary>
90 ContinuousDeploymentPolicyList& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
92 private:
93
94 Aws::String m_nextMarker;
95 bool m_nextMarkerHasBeenSet = false;
96
97 int m_maxItems{0};
98 bool m_maxItemsHasBeenSet = false;
99
100 int m_quantity{0};
101 bool m_quantityHasBeenSet = false;
102
104 bool m_itemsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CloudFront
109} // namespace Aws
const Aws::Vector< ContinuousDeploymentPolicySummary > & GetItems() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ContinuousDeploymentPolicyList & WithItems(ItemsT &&value)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList()=default
ContinuousDeploymentPolicyList & WithNextMarker(NextMarkerT &&value)
ContinuousDeploymentPolicyList & AddItems(ItemsT &&value)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector