AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExportSchemaResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Schemas
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SCHEMAS_API ExportSchemaResult() = default;
33
34
36
37 inline const Aws::String& GetContent() const { return m_content; }
38 template<typename ContentT = Aws::String>
39 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
40 template<typename ContentT = Aws::String>
41 ExportSchemaResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
43
45
46 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
47 template<typename SchemaArnT = Aws::String>
48 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
49 template<typename SchemaArnT = Aws::String>
50 ExportSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
52
54
55 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
56 template<typename SchemaNameT = Aws::String>
57 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
58 template<typename SchemaNameT = Aws::String>
59 ExportSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
61
63
64 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
65 template<typename SchemaVersionT = Aws::String>
66 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
67 template<typename SchemaVersionT = Aws::String>
68 ExportSchemaResult& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
70
72
73 inline const Aws::String& GetType() const { return m_type; }
74 template<typename TypeT = Aws::String>
75 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
76 template<typename TypeT = Aws::String>
77 ExportSchemaResult& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 ExportSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_content;
91 bool m_contentHasBeenSet = false;
92
93 Aws::String m_schemaArn;
94 bool m_schemaArnHasBeenSet = false;
95
96 Aws::String m_schemaName;
97 bool m_schemaNameHasBeenSet = false;
98
99 Aws::String m_schemaVersion;
100 bool m_schemaVersionHasBeenSet = false;
101
102 Aws::String m_type;
103 bool m_typeHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Schemas
111} // namespace Aws
const Aws::String & GetRequestId() 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