AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetItems(const Aws::Vector<RealtimeLogConfig>& value) { m_itemsHasBeenSet = true; m_items = value; }
59 inline void SetItems(Aws::Vector<RealtimeLogConfig>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
60 inline RealtimeLogConfigs& WithItems(const Aws::Vector<RealtimeLogConfig>& value) { SetItems(value); return *this;}
61 inline RealtimeLogConfigs& WithItems(Aws::Vector<RealtimeLogConfig>&& value) { SetItems(std::move(value)); return *this;}
62 inline RealtimeLogConfigs& AddItems(const RealtimeLogConfig& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
63 inline RealtimeLogConfigs& AddItems(RealtimeLogConfig&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(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 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
86 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
87 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
88 inline RealtimeLogConfigs& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
89 inline RealtimeLogConfigs& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
90 inline RealtimeLogConfigs& WithMarker(const char* value) { SetMarker(value); return *this;}
92
94
100 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
101 inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
102 inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
103 inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
104 inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
105 inline RealtimeLogConfigs& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
106 inline RealtimeLogConfigs& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
107 inline RealtimeLogConfigs& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
109 private:
110
111 int m_maxItems;
112 bool m_maxItemsHasBeenSet = false;
113
115 bool m_itemsHasBeenSet = false;
116
117 bool m_isTruncated;
118 bool m_isTruncatedHasBeenSet = false;
119
120 Aws::String m_marker;
121 bool m_markerHasBeenSet = false;
122
123 Aws::String m_nextMarker;
124 bool m_nextMarkerHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace CloudFront
129} // namespace Aws
RealtimeLogConfigs & WithNextMarker(const char *value)
void SetMarker(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
RealtimeLogConfigs & WithNextMarker(const Aws::String &value)
void SetNextMarker(const Aws::String &value)
void SetItems(const Aws::Vector< RealtimeLogConfig > &value)
RealtimeLogConfigs & WithMarker(const Aws::String &value)
RealtimeLogConfigs & WithItems(Aws::Vector< RealtimeLogConfig > &&value)
AWS_CLOUDFRONT_API RealtimeLogConfigs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetItems(Aws::Vector< RealtimeLogConfig > &&value)
AWS_CLOUDFRONT_API RealtimeLogConfigs(const Aws::Utils::Xml::XmlNode &xmlNode)
RealtimeLogConfigs & AddItems(RealtimeLogConfig &&value)
RealtimeLogConfigs & AddItems(const RealtimeLogConfig &value)
RealtimeLogConfigs & WithMarker(const char *value)
RealtimeLogConfigs & WithNextMarker(Aws::String &&value)
const Aws::Vector< RealtimeLogConfig > & GetItems() const
RealtimeLogConfigs & WithMaxItems(int value)
RealtimeLogConfigs & WithIsTruncated(bool value)
RealtimeLogConfigs & WithMarker(Aws::String &&value)
RealtimeLogConfigs & WithItems(const Aws::Vector< RealtimeLogConfig > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector