AWS SDK for C++  1.9.21
AWS SDK for C++
RealtimeLogConfigs.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace CloudFront
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline int GetMaxItems() const{ return m_maxItems; }
46 
50  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
51 
55  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
56 
60  inline RealtimeLogConfigs& WithMaxItems(int value) { SetMaxItems(value); return *this;}
61 
62 
66  inline const Aws::Vector<RealtimeLogConfig>& GetItems() const{ return m_items; }
67 
71  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
72 
76  inline void SetItems(const Aws::Vector<RealtimeLogConfig>& value) { m_itemsHasBeenSet = true; m_items = value; }
77 
81  inline void SetItems(Aws::Vector<RealtimeLogConfig>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
82 
86  inline RealtimeLogConfigs& WithItems(const Aws::Vector<RealtimeLogConfig>& value) { SetItems(value); return *this;}
87 
91  inline RealtimeLogConfigs& WithItems(Aws::Vector<RealtimeLogConfig>&& value) { SetItems(std::move(value)); return *this;}
92 
96  inline RealtimeLogConfigs& AddItems(const RealtimeLogConfig& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
97 
101  inline RealtimeLogConfigs& AddItems(RealtimeLogConfig&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
102 
103 
108  inline bool GetIsTruncated() const{ return m_isTruncated; }
109 
114  inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
115 
120  inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
121 
126  inline RealtimeLogConfigs& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
127 
128 
134  inline const Aws::String& GetMarker() const{ return m_marker; }
135 
141  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
142 
148  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
149 
155  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
156 
162  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
163 
169  inline RealtimeLogConfigs& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
170 
176  inline RealtimeLogConfigs& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
177 
183  inline RealtimeLogConfigs& WithMarker(const char* value) { SetMarker(value); return *this;}
184 
185 
192  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
193 
200  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
201 
208  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
209 
216  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
217 
224  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
225 
232  inline RealtimeLogConfigs& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
233 
240  inline RealtimeLogConfigs& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
241 
248  inline RealtimeLogConfigs& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
249 
250  private:
251 
252  int m_maxItems;
253  bool m_maxItemsHasBeenSet;
254 
256  bool m_itemsHasBeenSet;
257 
258  bool m_isTruncated;
259  bool m_isTruncatedHasBeenSet;
260 
261  Aws::String m_marker;
262  bool m_markerHasBeenSet;
263 
264  Aws::String m_nextMarker;
265  bool m_nextMarkerHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace CloudFront
270 } // namespace Aws
Aws::CloudFront::Model::RealtimeLogConfigs::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: RealtimeLogConfigs.h:141
Aws::CloudFront::Model::RealtimeLogConfigs::WithMarker
RealtimeLogConfigs & WithMarker(const Aws::String &value)
Definition: RealtimeLogConfigs.h:169
Aws::CloudFront::Model::RealtimeLogConfigs::SetItems
void SetItems(const Aws::Vector< RealtimeLogConfig > &value)
Definition: RealtimeLogConfigs.h:76
Aws::CloudFront::Model::RealtimeLogConfigs::GetIsTruncated
bool GetIsTruncated() const
Definition: RealtimeLogConfigs.h:108
Aws::CloudFront::Model::RealtimeLogConfigs::SetIsTruncated
void SetIsTruncated(bool value)
Definition: RealtimeLogConfigs.h:120
Aws::CloudFront::Model::RealtimeLogConfigs::WithItems
RealtimeLogConfigs & WithItems(Aws::Vector< RealtimeLogConfig > &&value)
Definition: RealtimeLogConfigs.h:91
Aws::CloudFront::Model::RealtimeLogConfigs::WithNextMarker
RealtimeLogConfigs & WithNextMarker(const Aws::String &value)
Definition: RealtimeLogConfigs.h:232
Aws::CloudFront::Model::RealtimeLogConfigs::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: RealtimeLogConfigs.h:208
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CloudFront::Model::RealtimeLogConfigs::IsTruncatedHasBeenSet
bool IsTruncatedHasBeenSet() const
Definition: RealtimeLogConfigs.h:114
Aws::CloudFront::Model::RealtimeLogConfigs::operator=
RealtimeLogConfigs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::RealtimeLogConfigs::WithNextMarker
RealtimeLogConfigs & WithNextMarker(const char *value)
Definition: RealtimeLogConfigs.h:248
AWSVector.h
Aws::CloudFront::Model::RealtimeLogConfigs::SetNextMarker
void SetNextMarker(const char *value)
Definition: RealtimeLogConfigs.h:224
Aws::CloudFront::Model::RealtimeLogConfigs::GetMaxItems
int GetMaxItems() const
Definition: RealtimeLogConfigs.h:45
RealtimeLogConfig.h
Aws::CloudFront::Model::RealtimeLogConfigs::SetMaxItems
void SetMaxItems(int value)
Definition: RealtimeLogConfigs.h:55
Aws::CloudFront::Model::RealtimeLogConfigs::SetMarker
void SetMarker(const char *value)
Definition: RealtimeLogConfigs.h:162
Aws::CloudFront::Model::RealtimeLogConfigs::WithNextMarker
RealtimeLogConfigs & WithNextMarker(Aws::String &&value)
Definition: RealtimeLogConfigs.h:240
Aws::CloudFront::Model::RealtimeLogConfigs::AddItems
RealtimeLogConfigs & AddItems(const RealtimeLogConfig &value)
Definition: RealtimeLogConfigs.h:96
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::RealtimeLogConfigs::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::RealtimeLogConfigs::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: RealtimeLogConfigs.h:71
Aws::CloudFront::Model::RealtimeLogConfigs::SetMarker
void SetMarker(const Aws::String &value)
Definition: RealtimeLogConfigs.h:148
AWSString.h
Aws::CloudFront::Model::RealtimeLogConfigs::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: RealtimeLogConfigs.h:200
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::RealtimeLogConfigs::WithMarker
RealtimeLogConfigs & WithMarker(Aws::String &&value)
Definition: RealtimeLogConfigs.h:176
Aws::CloudFront::Model::RealtimeLogConfigs::RealtimeLogConfigs
RealtimeLogConfigs()
Aws::CloudFront::Model::RealtimeLogConfigs::WithMaxItems
RealtimeLogConfigs & WithMaxItems(int value)
Definition: RealtimeLogConfigs.h:60
Aws::CloudFront::Model::RealtimeLogConfigs::WithMarker
RealtimeLogConfigs & WithMarker(const char *value)
Definition: RealtimeLogConfigs.h:183
CloudFront_EXPORTS.h
Aws::CloudFront::Model::RealtimeLogConfigs::RealtimeLogConfigs
RealtimeLogConfigs(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::RealtimeLogConfigs::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: RealtimeLogConfigs.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::RealtimeLogConfigs::GetItems
const Aws::Vector< RealtimeLogConfig > & GetItems() const
Definition: RealtimeLogConfigs.h:66
Aws::CloudFront::Model::RealtimeLogConfigs::WithIsTruncated
RealtimeLogConfigs & WithIsTruncated(bool value)
Definition: RealtimeLogConfigs.h:126
Aws::CloudFront::Model::RealtimeLogConfigs::GetMarker
const Aws::String & GetMarker() const
Definition: RealtimeLogConfigs.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::RealtimeLogConfigs::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: RealtimeLogConfigs.h:192
Aws::CloudFront::Model::RealtimeLogConfigs::SetItems
void SetItems(Aws::Vector< RealtimeLogConfig > &&value)
Definition: RealtimeLogConfigs.h:81
Aws::CloudFront::Model::RealtimeLogConfigs::WithItems
RealtimeLogConfigs & WithItems(const Aws::Vector< RealtimeLogConfig > &value)
Definition: RealtimeLogConfigs.h:86
Aws::CloudFront::Model::RealtimeLogConfig
Definition: RealtimeLogConfig.h:33
Aws::CloudFront::Model::RealtimeLogConfigs::AddItems
RealtimeLogConfigs & AddItems(RealtimeLogConfig &&value)
Definition: RealtimeLogConfigs.h:101
Aws::CloudFront::Model::RealtimeLogConfigs
Definition: RealtimeLogConfigs.h:33
Aws::CloudFront::Model::RealtimeLogConfigs::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: RealtimeLogConfigs.h:216
Aws::CloudFront::Model::RealtimeLogConfigs::SetMarker
void SetMarker(Aws::String &&value)
Definition: RealtimeLogConfigs.h:155