AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SearchSchemaVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10#include <aws/schemas/model/Type.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Schemas {
22namespace Model {
23
25 public:
26 AWS_SCHEMAS_API SearchSchemaVersionSummary() = default;
29 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
36 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
37 template <typename CreatedDateT = Aws::Utils::DateTime>
38 void SetCreatedDate(CreatedDateT&& value) {
39 m_createdDateHasBeenSet = true;
40 m_createdDate = std::forward<CreatedDateT>(value);
41 }
42 template <typename CreatedDateT = Aws::Utils::DateTime>
44 SetCreatedDate(std::forward<CreatedDateT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
54 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
55 template <typename SchemaVersionT = Aws::String>
56 void SetSchemaVersion(SchemaVersionT&& value) {
57 m_schemaVersionHasBeenSet = true;
58 m_schemaVersion = std::forward<SchemaVersionT>(value);
59 }
60 template <typename SchemaVersionT = Aws::String>
62 SetSchemaVersion(std::forward<SchemaVersionT>(value));
63 return *this;
64 }
66
68
71 inline Type GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(Type value) {
74 m_typeHasBeenSet = true;
75 m_type = value;
76 }
78 SetType(value);
79 return *this;
80 }
82 private:
83 Aws::Utils::DateTime m_createdDate{};
84
85 Aws::String m_schemaVersion;
86
87 Type m_type{Type::NOT_SET};
88 bool m_createdDateHasBeenSet = false;
89 bool m_schemaVersionHasBeenSet = false;
90 bool m_typeHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Schemas
95} // namespace Aws
AWS_SCHEMAS_API SearchSchemaVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SearchSchemaVersionSummary & WithSchemaVersion(SchemaVersionT &&value)
SearchSchemaVersionSummary & WithType(Type value)
AWS_SCHEMAS_API SearchSchemaVersionSummary()=default
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEMAS_API SearchSchemaVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchSchemaVersionSummary & WithCreatedDate(CreatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue