AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSchemaResult.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 CreateSchemaResult();
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline void SetDescription(const Aws::String& value) { m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_description.assign(value); }
45 inline CreateSchemaResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateSchemaResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateSchemaResult& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
55 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
56 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
57 inline CreateSchemaResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
58 inline CreateSchemaResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
66 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
67 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
68 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
69 inline CreateSchemaResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
70 inline CreateSchemaResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
71 inline CreateSchemaResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
73
75
78 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
79 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
80 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
81 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
82 inline CreateSchemaResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
83 inline CreateSchemaResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
84 inline CreateSchemaResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
86
88
91 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
92 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersion = value; }
93 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersion = std::move(value); }
94 inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); }
95 inline CreateSchemaResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
96 inline CreateSchemaResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
97 inline CreateSchemaResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
99
101
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
104 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
105 inline CreateSchemaResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
106 inline CreateSchemaResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
107 inline CreateSchemaResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
108 inline CreateSchemaResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
109 inline CreateSchemaResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
110 inline CreateSchemaResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
111 inline CreateSchemaResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
112 inline CreateSchemaResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
113 inline CreateSchemaResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
115
117
120 inline const Aws::String& GetType() const{ return m_type; }
121 inline void SetType(const Aws::String& value) { m_type = value; }
122 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
123 inline void SetType(const char* value) { m_type.assign(value); }
124 inline CreateSchemaResult& WithType(const Aws::String& value) { SetType(value); return *this;}
125 inline CreateSchemaResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
126 inline CreateSchemaResult& WithType(const char* value) { SetType(value); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetVersionCreatedDate() const{ return m_versionCreatedDate; }
134 inline void SetVersionCreatedDate(const Aws::Utils::DateTime& value) { m_versionCreatedDate = value; }
135 inline void SetVersionCreatedDate(Aws::Utils::DateTime&& value) { m_versionCreatedDate = std::move(value); }
137 inline CreateSchemaResult& WithVersionCreatedDate(Aws::Utils::DateTime&& value) { SetVersionCreatedDate(std::move(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline CreateSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline CreateSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline CreateSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_description;
153
154 Aws::Utils::DateTime m_lastModified;
155
156 Aws::String m_schemaArn;
157
158 Aws::String m_schemaName;
159
160 Aws::String m_schemaVersion;
161
163
164 Aws::String m_type;
165
166 Aws::Utils::DateTime m_versionCreatedDate;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace Schemas
173} // namespace Aws
CreateSchemaResult & AddTags(Aws::String &&key, const char *value)
CreateSchemaResult & AddTags(const char *key, const char *value)
CreateSchemaResult & WithRequestId(const char *value)
CreateSchemaResult & WithSchemaVersion(const Aws::String &value)
AWS_SCHEMAS_API CreateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaResult & WithLastModified(Aws::Utils::DateTime &&value)
const Aws::String & GetSchemaName() const
void SetVersionCreatedDate(const Aws::Utils::DateTime &value)
AWS_SCHEMAS_API CreateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(const Aws::String &value)
CreateSchemaResult & WithRequestId(const Aws::String &value)
CreateSchemaResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSchemaResult & WithRequestId(Aws::String &&value)
CreateSchemaResult & WithSchemaArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSchemaName(const Aws::String &value)
CreateSchemaResult & WithType(const char *value)
void SetSchemaVersion(const Aws::String &value)
const Aws::String & GetDescription() const
CreateSchemaResult & WithSchemaName(const char *value)
CreateSchemaResult & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSchemaResult & WithDescription(const char *value)
CreateSchemaResult & WithDescription(Aws::String &&value)
CreateSchemaResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSchemaResult & WithType(const Aws::String &value)
void SetLastModified(const Aws::Utils::DateTime &value)
void SetType(const Aws::String &value)
CreateSchemaResult & WithLastModified(const Aws::Utils::DateTime &value)
CreateSchemaResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetLastModified(Aws::Utils::DateTime &&value)
CreateSchemaResult & WithSchemaArn(const char *value)
const Aws::Utils::DateTime & GetVersionCreatedDate() const
CreateSchemaResult & WithSchemaArn(const Aws::String &value)
CreateSchemaResult & WithSchemaName(const Aws::String &value)
const Aws::String & GetSchemaVersion() const
CreateSchemaResult & WithType(Aws::String &&value)
CreateSchemaResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateSchemaResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSchemaResult & WithSchemaVersion(Aws::String &&value)
CreateSchemaResult & WithSchemaName(Aws::String &&value)
CreateSchemaResult & WithSchemaVersion(const char *value)
CreateSchemaResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetVersionCreatedDate(Aws::Utils::DateTime &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestId(const Aws::String &value)
void SetSchemaArn(const Aws::String &value)
CreateSchemaResult & WithVersionCreatedDate(Aws::Utils::DateTime &&value)
CreateSchemaResult & WithVersionCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetSchemaArn() const
CreateSchemaResult & AddTags(Aws::String &&key, 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