AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaSummary.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/core/utils/memory/stl/AWSMap.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
34 {
35 public:
36 AWS_SCHEMAS_API SchemaSummary();
37 AWS_SCHEMAS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
47 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
48 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
49 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
50 inline SchemaSummary& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
51 inline SchemaSummary& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
59 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
60 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
61 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
62 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
63 inline SchemaSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
64 inline SchemaSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
65 inline SchemaSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
67
69
72 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
73 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
74 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
75 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
76 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
77 inline SchemaSummary& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
78 inline SchemaSummary& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
79 inline SchemaSummary& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
81
83
86 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
89 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
90 inline SchemaSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
91 inline SchemaSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
92 inline SchemaSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
93 inline SchemaSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline SchemaSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline SchemaSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
96 inline SchemaSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
97 inline SchemaSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
98 inline SchemaSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100
102
105 inline long long GetVersionCount() const{ return m_versionCount; }
106 inline bool VersionCountHasBeenSet() const { return m_versionCountHasBeenSet; }
107 inline void SetVersionCount(long long value) { m_versionCountHasBeenSet = true; m_versionCount = value; }
108 inline SchemaSummary& WithVersionCount(long long value) { SetVersionCount(value); return *this;}
110 private:
111
112 Aws::Utils::DateTime m_lastModified;
113 bool m_lastModifiedHasBeenSet = false;
114
115 Aws::String m_schemaArn;
116 bool m_schemaArnHasBeenSet = false;
117
118 Aws::String m_schemaName;
119 bool m_schemaNameHasBeenSet = false;
120
122 bool m_tagsHasBeenSet = false;
123
124 long long m_versionCount;
125 bool m_versionCountHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Schemas
130} // namespace Aws
SchemaSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetSchemaArn() const
SchemaSummary & WithSchemaArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SchemaSummary & WithLastModified(Aws::Utils::DateTime &&value)
SchemaSummary & AddTags(const Aws::String &key, const Aws::String &value)
SchemaSummary & AddTags(const char *key, const char *value)
AWS_SCHEMAS_API SchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaSummary & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::String & GetSchemaName() const
void SetVersionCount(long long value)
void SetSchemaName(Aws::String &&value)
SchemaSummary & AddTags(const char *key, Aws::String &&value)
SchemaSummary & WithSchemaArn(Aws::String &&value)
AWS_SCHEMAS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaArn(const char *value)
SchemaSummary & WithSchemaName(Aws::String &&value)
SchemaSummary & WithSchemaName(const Aws::String &value)
SchemaSummary & AddTags(const Aws::String &key, Aws::String &&value)
SchemaSummary & WithSchemaName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastModified(const Aws::Utils::DateTime &value)
void SetLastModified(Aws::Utils::DateTime &&value)
SchemaSummary & AddTags(Aws::String &&key, const char *value)
SchemaSummary & WithVersionCount(long long value)
void SetSchemaName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModified() const
SchemaSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSchemaName(const char *value)
void SetSchemaArn(const Aws::String &value)
void SetSchemaArn(Aws::String &&value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaSummary & AddTags(Aws::String &&key, Aws::String &&value)
SchemaSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SchemaSummary & WithSchemaArn(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue