AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline JsonClassifier& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline JsonClassifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline JsonClassifier& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
60 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
61 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
62 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
63 inline JsonClassifier& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
64 inline JsonClassifier& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
72 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
73 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
74 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
75 inline JsonClassifier& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
76 inline JsonClassifier& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
78
80
83 inline long long GetVersion() const{ return m_version; }
84 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
85 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
86 inline JsonClassifier& WithVersion(long long value) { SetVersion(value); return *this;}
88
90
96 inline const Aws::String& GetJsonPath() const{ return m_jsonPath; }
97 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
98 inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
99 inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
100 inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
101 inline JsonClassifier& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
102 inline JsonClassifier& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
103 inline JsonClassifier& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::Utils::DateTime m_creationTime;
111 bool m_creationTimeHasBeenSet = false;
112
113 Aws::Utils::DateTime m_lastUpdated;
114 bool m_lastUpdatedHasBeenSet = false;
115
116 long long m_version;
117 bool m_versionHasBeenSet = false;
118
119 Aws::String m_jsonPath;
120 bool m_jsonPathHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Glue
125} // namespace Aws
void SetName(Aws::String &&value)
JsonClassifier & WithJsonPath(const Aws::String &value)
JsonClassifier & WithVersion(long long value)
void SetCreationTime(Aws::Utils::DateTime &&value)
JsonClassifier & WithJsonPath(const char *value)
JsonClassifier & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetJsonPath(Aws::String &&value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
void SetJsonPath(const char *value)
JsonClassifier & WithCreationTime(const Aws::Utils::DateTime &value)
void SetVersion(long long value)
AWS_GLUE_API JsonClassifier(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetJsonPath() const
JsonClassifier & WithLastUpdated(Aws::Utils::DateTime &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API JsonClassifier & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(const Aws::Utils::DateTime &value)
JsonClassifier & WithName(Aws::String &&value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
JsonClassifier & WithName(const char *value)
void SetName(const char *value)
const Aws::Utils::DateTime & GetLastUpdated() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetName(const Aws::String &value)
JsonClassifier & WithLastUpdated(const Aws::Utils::DateTime &value)
void SetJsonPath(const Aws::String &value)
JsonClassifier & WithName(const Aws::String &value)
JsonClassifier & WithJsonPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue