AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
FilesLimit.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/model/Order.h>
9#include <aws/databrew/model/OrderedBy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GlueDataBrew {
21namespace Model {
22
31 public:
32 AWS_GLUEDATABREW_API FilesLimit() = default;
33 AWS_GLUEDATABREW_API FilesLimit(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GLUEDATABREW_API FilesLimit& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline int GetMaxFiles() const { return m_maxFiles; }
42 inline bool MaxFilesHasBeenSet() const { return m_maxFilesHasBeenSet; }
43 inline void SetMaxFiles(int value) {
44 m_maxFilesHasBeenSet = true;
45 m_maxFiles = value;
46 }
47 inline FilesLimit& WithMaxFiles(int value) {
48 SetMaxFiles(value);
49 return *this;
50 }
52
54
59 inline OrderedBy GetOrderedBy() const { return m_orderedBy; }
60 inline bool OrderedByHasBeenSet() const { return m_orderedByHasBeenSet; }
61 inline void SetOrderedBy(OrderedBy value) {
62 m_orderedByHasBeenSet = true;
63 m_orderedBy = value;
64 }
66 SetOrderedBy(value);
67 return *this;
68 }
70
72
77 inline Order GetOrder() const { return m_order; }
78 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
79 inline void SetOrder(Order value) {
80 m_orderHasBeenSet = true;
81 m_order = value;
82 }
83 inline FilesLimit& WithOrder(Order value) {
84 SetOrder(value);
85 return *this;
86 }
88 private:
89 int m_maxFiles{0};
90
91 OrderedBy m_orderedBy{OrderedBy::NOT_SET};
92
93 Order m_order{Order::NOT_SET};
94 bool m_maxFilesHasBeenSet = false;
95 bool m_orderedByHasBeenSet = false;
96 bool m_orderHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace GlueDataBrew
101} // namespace Aws
AWS_GLUEDATABREW_API FilesLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
FilesLimit & WithMaxFiles(int value)
Definition FilesLimit.h:47
AWS_GLUEDATABREW_API FilesLimit()=default
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUEDATABREW_API FilesLimit(Aws::Utils::Json::JsonView jsonValue)
FilesLimit & WithOrderedBy(OrderedBy value)
Definition FilesLimit.h:65
void SetOrderedBy(OrderedBy value)
Definition FilesLimit.h:61
FilesLimit & WithOrder(Order value)
Definition FilesLimit.h:83
Aws::Utils::Json::JsonValue JsonValue