AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
XMLClassifier.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API XMLClassifier() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 XMLClassifier& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetClassification() const { return m_classification; }
58 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
59 template <typename ClassificationT = Aws::String>
60 void SetClassification(ClassificationT&& value) {
61 m_classificationHasBeenSet = true;
62 m_classification = std::forward<ClassificationT>(value);
63 }
64 template <typename ClassificationT = Aws::String>
65 XMLClassifier& WithClassification(ClassificationT&& value) {
66 SetClassification(std::forward<ClassificationT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) {
79 m_creationTimeHasBeenSet = true;
80 m_creationTime = std::forward<CreationTimeT>(value);
81 }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 XMLClassifier& WithCreationTime(CreationTimeT&& value) {
84 SetCreationTime(std::forward<CreationTimeT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
94 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
95 template <typename LastUpdatedT = Aws::Utils::DateTime>
96 void SetLastUpdated(LastUpdatedT&& value) {
97 m_lastUpdatedHasBeenSet = true;
98 m_lastUpdated = std::forward<LastUpdatedT>(value);
99 }
100 template <typename LastUpdatedT = Aws::Utils::DateTime>
101 XMLClassifier& WithLastUpdated(LastUpdatedT&& value) {
102 SetLastUpdated(std::forward<LastUpdatedT>(value));
103 return *this;
104 }
106
108
111 inline long long GetVersion() const { return m_version; }
112 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
113 inline void SetVersion(long long value) {
114 m_versionHasBeenSet = true;
115 m_version = value;
116 }
117 inline XMLClassifier& WithVersion(long long value) {
118 SetVersion(value);
119 return *this;
120 }
122
124
132 inline const Aws::String& GetRowTag() const { return m_rowTag; }
133 inline bool RowTagHasBeenSet() const { return m_rowTagHasBeenSet; }
134 template <typename RowTagT = Aws::String>
135 void SetRowTag(RowTagT&& value) {
136 m_rowTagHasBeenSet = true;
137 m_rowTag = std::forward<RowTagT>(value);
138 }
139 template <typename RowTagT = Aws::String>
140 XMLClassifier& WithRowTag(RowTagT&& value) {
141 SetRowTag(std::forward<RowTagT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_name;
147
148 Aws::String m_classification;
149
150 Aws::Utils::DateTime m_creationTime{};
151
152 Aws::Utils::DateTime m_lastUpdated{};
153
154 long long m_version{0};
155
156 Aws::String m_rowTag;
157 bool m_nameHasBeenSet = false;
158 bool m_classificationHasBeenSet = false;
159 bool m_creationTimeHasBeenSet = false;
160 bool m_lastUpdatedHasBeenSet = false;
161 bool m_versionHasBeenSet = false;
162 bool m_rowTagHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace Glue
167} // namespace Aws
XMLClassifier & WithClassification(ClassificationT &&value)
XMLClassifier & WithCreationTime(CreationTimeT &&value)
void SetLastUpdated(LastUpdatedT &&value)
const Aws::String & GetRowTag() const
XMLClassifier & WithRowTag(RowTagT &&value)
AWS_GLUE_API XMLClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
XMLClassifier & WithLastUpdated(LastUpdatedT &&value)
const Aws::String & GetClassification() const
void SetVersion(long long value)
AWS_GLUE_API XMLClassifier(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreationTime() const
XMLClassifier & WithName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdated() const
void SetRowTag(RowTagT &&value)
void SetClassification(ClassificationT &&value)
void SetCreationTime(CreationTimeT &&value)
XMLClassifier & WithVersion(long long value)
AWS_GLUE_API XMLClassifier()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue