AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSchemaResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Schemas
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SCHEMAS_API DescribeSchemaResult();
35
36
38
41 inline const Aws::String& GetContent() const{ return m_content; }
42 inline void SetContent(const Aws::String& value) { m_content = value; }
43 inline void SetContent(Aws::String&& value) { m_content = std::move(value); }
44 inline void SetContent(const char* value) { m_content.assign(value); }
45 inline DescribeSchemaResult& WithContent(const Aws::String& value) { SetContent(value); return *this;}
46 inline DescribeSchemaResult& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
47 inline DescribeSchemaResult& WithContent(const char* value) { SetContent(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline void SetDescription(const Aws::String& value) { m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_description.assign(value); }
58 inline DescribeSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
59 inline DescribeSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline DescribeSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
68 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
69 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
70 inline DescribeSchemaResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
71 inline DescribeSchemaResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
79 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
80 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
81 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
82 inline DescribeSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
83 inline DescribeSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
84 inline DescribeSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
86
88
91 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
92 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
93 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
94 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
95 inline DescribeSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
96 inline DescribeSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
97 inline DescribeSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
99
101
104 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
105 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersion = value; }
106 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersion = std::move(value); }
107 inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); }
108 inline DescribeSchemaResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
109 inline DescribeSchemaResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
110 inline DescribeSchemaResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
112
114
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
120 inline DescribeSchemaResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 inline DescribeSchemaResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline DescribeSchemaResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
123 inline DescribeSchemaResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
124 inline DescribeSchemaResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
125 inline DescribeSchemaResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline DescribeSchemaResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
127 inline DescribeSchemaResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
128 inline DescribeSchemaResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
130
132
135 inline const Aws::String& GetType() const{ return m_type; }
136 inline void SetType(const Aws::String& value) { m_type = value; }
137 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
138 inline void SetType(const char* value) { m_type.assign(value); }
139 inline DescribeSchemaResult& WithType(const Aws::String& value) { SetType(value); return *this;}
140 inline DescribeSchemaResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
141 inline DescribeSchemaResult& WithType(const char* value) { SetType(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const{ return m_versionCreatedDate; }
149 inline void SetVersionCreatedDate(const Aws::Utils::DateTime& value) { m_versionCreatedDate = value; }
150 inline void SetVersionCreatedDate(Aws::Utils::DateTime&& value) { m_versionCreatedDate = std::move(value); }
154
156
157 inline const Aws::String& GetRequestId() const{ return m_requestId; }
158 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
159 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
160 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
161 inline DescribeSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
162 inline DescribeSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
163 inline DescribeSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
165 private:
166
167 Aws::String m_content;
168
169 Aws::String m_description;
170
171 Aws::Utils::DateTime m_lastModified;
172
173 Aws::String m_schemaArn;
174
175 Aws::String m_schemaName;
176
177 Aws::String m_schemaVersion;
178
180
181 Aws::String m_type;
182
183 Aws::Utils::DateTime m_versionCreatedDate;
184
185 Aws::String m_requestId;
186 };
187
188} // namespace Model
189} // namespace Schemas
190} // namespace Aws
void SetLastModified(const Aws::Utils::DateTime &value)
void SetSchemaVersion(const Aws::String &value)
void SetSchemaArn(const Aws::String &value)
DescribeSchemaResult & WithSchemaName(const char *value)
DescribeSchemaResult & WithSchemaVersion(Aws::String &&value)
void SetVersionCreatedDate(const Aws::Utils::DateTime &value)
DescribeSchemaResult & WithLastModified(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetVersionCreatedDate() const
DescribeSchemaResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetLastModified() const
DescribeSchemaResult & WithType(const Aws::String &value)
DescribeSchemaResult & WithType(Aws::String &&value)
AWS_SCHEMAS_API DescribeSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSchemaResult & WithVersionCreatedDate(const Aws::Utils::DateTime &value)
AWS_SCHEMAS_API DescribeSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSchemaResult & WithSchemaName(const Aws::String &value)
void SetDescription(const Aws::String &value)
DescribeSchemaResult & WithSchemaVersion(const Aws::String &value)
DescribeSchemaResult & WithContent(const Aws::String &value)
DescribeSchemaResult & WithSchemaVersion(const char *value)
DescribeSchemaResult & WithType(const char *value)
DescribeSchemaResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetVersionCreatedDate(Aws::Utils::DateTime &&value)
DescribeSchemaResult & AddTags(const char *key, Aws::String &&value)
DescribeSchemaResult & WithDescription(Aws::String &&value)
void SetSchemaName(const Aws::String &value)
DescribeSchemaResult & WithRequestId(Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
DescribeSchemaResult & WithSchemaArn(const char *value)
DescribeSchemaResult & WithSchemaArn(const Aws::String &value)
DescribeSchemaResult & WithContent(Aws::String &&value)
void SetContent(const Aws::String &value)
DescribeSchemaResult & WithLastModified(Aws::Utils::DateTime &&value)
DescribeSchemaResult & WithDescription(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeSchemaResult & WithDescription(const Aws::String &value)
DescribeSchemaResult & WithContent(const char *value)
DescribeSchemaResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeSchemaResult & WithRequestId(const char *value)
DescribeSchemaResult & AddTags(const char *key, const char *value)
DescribeSchemaResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeSchemaResult & WithSchemaArn(Aws::String &&value)
DescribeSchemaResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeSchemaResult & WithRequestId(const Aws::String &value)
DescribeSchemaResult & WithVersionCreatedDate(Aws::Utils::DateTime &&value)
DescribeSchemaResult & WithSchemaName(Aws::String &&value)
DescribeSchemaResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeSchemaResult & AddTags(Aws::String &&key, const char *value)
void SetRequestId(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