AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SearchSchemaVersionSummary.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/model/Type.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Schemas
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_SCHEMAS_API SearchSchemaVersionSummary() = default;
34 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
41 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
42 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
43 template<typename CreatedDateT = Aws::Utils::DateTime>
44 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
45 template<typename CreatedDateT = Aws::Utils::DateTime>
46 SearchSchemaVersionSummary& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
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) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
57 template<typename SchemaVersionT = Aws::String>
58 SearchSchemaVersionSummary& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
60
62
65 inline Type GetType() const { return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
68 inline SearchSchemaVersionSummary& WithType(Type value) { SetType(value); return *this;}
70 private:
71
72 Aws::Utils::DateTime m_createdDate{};
73 bool m_createdDateHasBeenSet = false;
74
75 Aws::String m_schemaVersion;
76 bool m_schemaVersionHasBeenSet = false;
77
78 Type m_type{Type::NOT_SET};
79 bool m_typeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Schemas
84} // 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