AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
52 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
53 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
54 inline ContinuousDeploymentPolicyList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
55 inline ContinuousDeploymentPolicyList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
56 inline ContinuousDeploymentPolicyList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
58
60
64 inline int GetMaxItems() const{ return m_maxItems; }
65 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
66 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
67 inline ContinuousDeploymentPolicyList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
69
71
75 inline int GetQuantity() const{ return m_quantity; }
76 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
77 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
78 inline ContinuousDeploymentPolicyList& WithQuantity(int value) { SetQuantity(value); return *this;}
80
82
85 inline const Aws::Vector<ContinuousDeploymentPolicySummary>& GetItems() const{ return m_items; }
86 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
87 inline void SetItems(const Aws::Vector<ContinuousDeploymentPolicySummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
88 inline void SetItems(Aws::Vector<ContinuousDeploymentPolicySummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
91 inline ContinuousDeploymentPolicyList& AddItems(const ContinuousDeploymentPolicySummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
92 inline ContinuousDeploymentPolicyList& AddItems(ContinuousDeploymentPolicySummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_nextMarker;
97 bool m_nextMarkerHasBeenSet = false;
98
99 int m_maxItems;
100 bool m_maxItemsHasBeenSet = false;
101
102 int m_quantity;
103 bool m_quantityHasBeenSet = false;
104
106 bool m_itemsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFront
111} // namespace Aws
void SetItems(const Aws::Vector< ContinuousDeploymentPolicySummary > &value)
const Aws::Vector< ContinuousDeploymentPolicySummary > & GetItems() const
ContinuousDeploymentPolicyList & WithNextMarker(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ContinuousDeploymentPolicyList & WithItems(const Aws::Vector< ContinuousDeploymentPolicySummary > &value)
void SetItems(Aws::Vector< ContinuousDeploymentPolicySummary > &&value)
AWS_CLOUDFRONT_API ContinuousDeploymentPolicyList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ContinuousDeploymentPolicyList & WithNextMarker(const Aws::String &value)
ContinuousDeploymentPolicyList & AddItems(ContinuousDeploymentPolicySummary &&value)
ContinuousDeploymentPolicyList & AddItems(const ContinuousDeploymentPolicySummary &value)
ContinuousDeploymentPolicyList & WithItems(Aws::Vector< ContinuousDeploymentPolicySummary > &&value)
ContinuousDeploymentPolicyList & WithNextMarker(const char *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