AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JsonClassifier.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API JsonClassifier() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 JsonClassifier& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
61 template<typename CreationTimeT = Aws::Utils::DateTime>
62 JsonClassifier& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
70 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
71 template<typename LastUpdatedT = Aws::Utils::DateTime>
72 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
73 template<typename LastUpdatedT = Aws::Utils::DateTime>
74 JsonClassifier& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
76
78
81 inline long long GetVersion() const { return m_version; }
82 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
83 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
84 inline JsonClassifier& WithVersion(long long value) { SetVersion(value); return *this;}
86
88
94 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
95 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
96 template<typename JsonPathT = Aws::String>
97 void SetJsonPath(JsonPathT&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::forward<JsonPathT>(value); }
98 template<typename JsonPathT = Aws::String>
99 JsonClassifier& WithJsonPath(JsonPathT&& value) { SetJsonPath(std::forward<JsonPathT>(value)); return *this;}
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::Utils::DateTime m_creationTime{};
107 bool m_creationTimeHasBeenSet = false;
108
109 Aws::Utils::DateTime m_lastUpdated{};
110 bool m_lastUpdatedHasBeenSet = false;
111
112 long long m_version{0};
113 bool m_versionHasBeenSet = false;
114
115 Aws::String m_jsonPath;
116 bool m_jsonPathHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glue
121} // 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