AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
ExportSchemaResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Schemas {
23namespace Model {
25 public:
26 AWS_SCHEMAS_API ExportSchemaResult() = default;
29
31
32 inline const Aws::String& GetContent() const { return m_content; }
33 template <typename ContentT = Aws::String>
34 void SetContent(ContentT&& value) {
35 m_contentHasBeenSet = true;
36 m_content = std::forward<ContentT>(value);
37 }
38 template <typename ContentT = Aws::String>
39 ExportSchemaResult& WithContent(ContentT&& value) {
40 SetContent(std::forward<ContentT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
48 template <typename SchemaArnT = Aws::String>
49 void SetSchemaArn(SchemaArnT&& value) {
50 m_schemaArnHasBeenSet = true;
51 m_schemaArn = std::forward<SchemaArnT>(value);
52 }
53 template <typename SchemaArnT = Aws::String>
54 ExportSchemaResult& WithSchemaArn(SchemaArnT&& value) {
55 SetSchemaArn(std::forward<SchemaArnT>(value));
56 return *this;
57 }
59
61
62 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
63 template <typename SchemaNameT = Aws::String>
64 void SetSchemaName(SchemaNameT&& value) {
65 m_schemaNameHasBeenSet = true;
66 m_schemaName = std::forward<SchemaNameT>(value);
67 }
68 template <typename SchemaNameT = Aws::String>
69 ExportSchemaResult& WithSchemaName(SchemaNameT&& value) {
70 SetSchemaName(std::forward<SchemaNameT>(value));
71 return *this;
72 }
74
76
77 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
78 template <typename SchemaVersionT = Aws::String>
79 void SetSchemaVersion(SchemaVersionT&& value) {
80 m_schemaVersionHasBeenSet = true;
81 m_schemaVersion = std::forward<SchemaVersionT>(value);
82 }
83 template <typename SchemaVersionT = Aws::String>
84 ExportSchemaResult& WithSchemaVersion(SchemaVersionT&& value) {
85 SetSchemaVersion(std::forward<SchemaVersionT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetType() const { return m_type; }
93 template <typename TypeT = Aws::String>
94 void SetType(TypeT&& value) {
95 m_typeHasBeenSet = true;
96 m_type = std::forward<TypeT>(value);
97 }
98 template <typename TypeT = Aws::String>
99 ExportSchemaResult& WithType(TypeT&& value) {
100 SetType(std::forward<TypeT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
114 ExportSchemaResult& WithRequestId(RequestIdT&& value) {
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_content;
123
124 Aws::String m_schemaArn;
125
126 Aws::String m_schemaName;
127
128 Aws::String m_schemaVersion;
129
130 Aws::String m_type;
131
132 Aws::String m_requestId;
133 Aws::Http::HttpResponseCode m_HttpResponseCode;
134 bool m_contentHasBeenSet = false;
135 bool m_schemaArnHasBeenSet = false;
136 bool m_schemaNameHasBeenSet = false;
137 bool m_schemaVersionHasBeenSet = false;
138 bool m_typeHasBeenSet = false;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Schemas
144} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SCHEMAS_API ExportSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API ExportSchemaResult()=default
AWS_SCHEMAS_API ExportSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportSchemaResult & WithSchemaArn(SchemaArnT &&value)
const Aws::String & GetSchemaVersion() const
ExportSchemaResult & WithSchemaVersion(SchemaVersionT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
ExportSchemaResult & WithSchemaName(SchemaNameT &&value)
ExportSchemaResult & WithContent(ContentT &&value)
const Aws::String & GetSchemaArn() const
ExportSchemaResult & WithType(TypeT &&value)
const Aws::String & GetSchemaName() const
ExportSchemaResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue