AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
JsonClassifier.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 JsonClassifier() = 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 JsonClassifier& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
58 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
59 template <typename CreationTimeT = Aws::Utils::DateTime>
60 void SetCreationTime(CreationTimeT&& value) {
61 m_creationTimeHasBeenSet = true;
62 m_creationTime = std::forward<CreationTimeT>(value);
63 }
64 template <typename CreationTimeT = Aws::Utils::DateTime>
65 JsonClassifier& WithCreationTime(CreationTimeT&& value) {
66 SetCreationTime(std::forward<CreationTimeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
76 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
77 template <typename LastUpdatedT = Aws::Utils::DateTime>
78 void SetLastUpdated(LastUpdatedT&& value) {
79 m_lastUpdatedHasBeenSet = true;
80 m_lastUpdated = std::forward<LastUpdatedT>(value);
81 }
82 template <typename LastUpdatedT = Aws::Utils::DateTime>
83 JsonClassifier& WithLastUpdated(LastUpdatedT&& value) {
84 SetLastUpdated(std::forward<LastUpdatedT>(value));
85 return *this;
86 }
88
90
93 inline long long GetVersion() const { return m_version; }
94 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
95 inline void SetVersion(long long value) {
96 m_versionHasBeenSet = true;
97 m_version = value;
98 }
99 inline JsonClassifier& WithVersion(long long value) {
100 SetVersion(value);
101 return *this;
102 }
104
106
112 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
113 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
114 template <typename JsonPathT = Aws::String>
115 void SetJsonPath(JsonPathT&& value) {
116 m_jsonPathHasBeenSet = true;
117 m_jsonPath = std::forward<JsonPathT>(value);
118 }
119 template <typename JsonPathT = Aws::String>
120 JsonClassifier& WithJsonPath(JsonPathT&& value) {
121 SetJsonPath(std::forward<JsonPathT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_name;
127
128 Aws::Utils::DateTime m_creationTime{};
129
130 Aws::Utils::DateTime m_lastUpdated{};
131
132 long long m_version{0};
133
134 Aws::String m_jsonPath;
135 bool m_nameHasBeenSet = false;
136 bool m_creationTimeHasBeenSet = false;
137 bool m_lastUpdatedHasBeenSet = false;
138 bool m_versionHasBeenSet = false;
139 bool m_jsonPathHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Glue
144} // namespace Aws
JsonClassifier & WithJsonPath(JsonPathT &&value)
JsonClassifier & WithVersion(long long value)
JsonClassifier & WithName(NameT &&value)
void SetJsonPath(JsonPathT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_GLUE_API JsonClassifier()=default
const Aws::String & GetName() const
JsonClassifier & WithCreationTime(CreationTimeT &&value)
void SetVersion(long long value)
AWS_GLUE_API JsonClassifier(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJsonPath() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API JsonClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdated() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastUpdated(LastUpdatedT &&value)
JsonClassifier & WithLastUpdated(LastUpdatedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue