AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaVersionSummary.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/model/Type.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 Schemas
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_SCHEMAS_API SchemaVersionSummary();
33 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
40 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
41 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
42 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
43 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
44 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
45 inline SchemaVersionSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
46 inline SchemaVersionSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
47 inline SchemaVersionSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
49
51
54 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
55 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
56 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
57 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
58 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
59 inline SchemaVersionSummary& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
60 inline SchemaVersionSummary& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
61 inline SchemaVersionSummary& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
63
65
68 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
69 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
70 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
71 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
72 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
73 inline SchemaVersionSummary& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
74 inline SchemaVersionSummary& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
75 inline SchemaVersionSummary& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
77
79
82 inline const Type& GetType() const{ return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
85 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
86 inline SchemaVersionSummary& WithType(const Type& value) { SetType(value); return *this;}
87 inline SchemaVersionSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_schemaArn;
92 bool m_schemaArnHasBeenSet = false;
93
94 Aws::String m_schemaName;
95 bool m_schemaNameHasBeenSet = false;
96
97 Aws::String m_schemaVersion;
98 bool m_schemaVersionHasBeenSet = false;
99
100 Type m_type;
101 bool m_typeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Schemas
106} // namespace Aws
AWS_SCHEMAS_API SchemaVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SchemaVersionSummary & WithSchemaName(const char *value)
SchemaVersionSummary & WithType(Type &&value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemaName(const Aws::String &value)
SchemaVersionSummary & WithSchemaArn(const char *value)
SchemaVersionSummary & WithSchemaName(Aws::String &&value)
SchemaVersionSummary & WithType(const Type &value)
void SetSchemaArn(const Aws::String &value)
SchemaVersionSummary & WithSchemaVersion(const Aws::String &value)
SchemaVersionSummary & WithSchemaArn(Aws::String &&value)
SchemaVersionSummary & WithSchemaArn(const Aws::String &value)
SchemaVersionSummary & WithSchemaVersion(Aws::String &&value)
AWS_SCHEMAS_API SchemaVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaVersion(const Aws::String &value)
SchemaVersionSummary & WithSchemaName(const Aws::String &value)
SchemaVersionSummary & WithSchemaVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue