AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
44 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
46 inline SearchSchemaVersionSummary& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
54 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
55 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
56 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
57 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
58 inline SearchSchemaVersionSummary& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
59 inline SearchSchemaVersionSummary& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
60 inline SearchSchemaVersionSummary& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
62
64
67 inline const Type& GetType() const{ return m_type; }
68 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
69 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
70 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
71 inline SearchSchemaVersionSummary& WithType(const Type& value) { SetType(value); return *this;}
72 inline SearchSchemaVersionSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;}
74 private:
75
76 Aws::Utils::DateTime m_createdDate;
77 bool m_createdDateHasBeenSet = false;
78
79 Aws::String m_schemaVersion;
80 bool m_schemaVersionHasBeenSet = false;
81
82 Type m_type;
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Schemas
88} // namespace Aws
AWS_SCHEMAS_API SearchSchemaVersionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(const Aws::Utils::DateTime &value)
SearchSchemaVersionSummary & WithCreatedDate(const Aws::Utils::DateTime &value)
SearchSchemaVersionSummary & WithCreatedDate(Aws::Utils::DateTime &&value)
SearchSchemaVersionSummary & WithSchemaVersion(const char *value)
SearchSchemaVersionSummary & WithType(const Type &value)
SearchSchemaVersionSummary & WithSchemaVersion(Aws::String &&value)
SearchSchemaVersionSummary & WithSchemaVersion(const Aws::String &value)
SearchSchemaVersionSummary & WithType(Type &&value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEMAS_API SearchSchemaVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue