AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RealtimeLogConfigs.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudfront/model/RealtimeLogConfig.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
33 {
34 public:
35 AWS_CLOUDFRONT_API RealtimeLogConfigs() = default;
36 AWS_CLOUDFRONT_API RealtimeLogConfigs(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API RealtimeLogConfigs& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline int GetMaxItems() const { return m_maxItems; }
47 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
48 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
49 inline RealtimeLogConfigs& WithMaxItems(int value) { SetMaxItems(value); return *this;}
51
53
56 inline const Aws::Vector<RealtimeLogConfig>& GetItems() const { return m_items; }
57 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
58 template<typename ItemsT = Aws::Vector<RealtimeLogConfig>>
59 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
60 template<typename ItemsT = Aws::Vector<RealtimeLogConfig>>
61 RealtimeLogConfigs& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
62 template<typename ItemsT = RealtimeLogConfig>
63 RealtimeLogConfigs& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
65
67
71 inline bool GetIsTruncated() const { return m_isTruncated; }
72 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
73 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
74 inline RealtimeLogConfigs& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
76
78
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template<typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
87 template<typename MarkerT = Aws::String>
88 RealtimeLogConfigs& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
90
92
98 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
99 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
100 template<typename NextMarkerT = Aws::String>
101 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
102 template<typename NextMarkerT = Aws::String>
103 RealtimeLogConfigs& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
105 private:
106
107 int m_maxItems{0};
108 bool m_maxItemsHasBeenSet = false;
109
111 bool m_itemsHasBeenSet = false;
112
113 bool m_isTruncated{false};
114 bool m_isTruncatedHasBeenSet = false;
115
116 Aws::String m_marker;
117 bool m_markerHasBeenSet = false;
118
119 Aws::String m_nextMarker;
120 bool m_nextMarkerHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace CloudFront
125} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API RealtimeLogConfigs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RealtimeLogConfigs & WithItems(ItemsT &&value)
RealtimeLogConfigs & AddItems(ItemsT &&value)
AWS_CLOUDFRONT_API RealtimeLogConfigs(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API RealtimeLogConfigs()=default
const Aws::Vector< RealtimeLogConfig > & GetItems() const
RealtimeLogConfigs & WithMarker(MarkerT &&value)
RealtimeLogConfigs & WithMaxItems(int value)
RealtimeLogConfigs & WithIsTruncated(bool value)
RealtimeLogConfigs & WithNextMarker(NextMarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector