AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetModelResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_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 ApiGatewayV2
24{
25namespace Model
26{
28 {
29 public:
30 AWS_APIGATEWAYV2_API GetModelResult() = default;
33
34
36
39 inline const Aws::String& GetContentType() const { return m_contentType; }
40 template<typename ContentTypeT = Aws::String>
41 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
42 template<typename ContentTypeT = Aws::String>
43 GetModelResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
45
47
50 inline const Aws::String& GetDescription() const { return m_description; }
51 template<typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
53 template<typename DescriptionT = Aws::String>
54 GetModelResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
56
58
61 inline const Aws::String& GetModelId() const { return m_modelId; }
62 template<typename ModelIdT = Aws::String>
63 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
64 template<typename ModelIdT = Aws::String>
65 GetModelResult& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 GetModelResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSchema() const { return m_schema; }
85 template<typename SchemaT = Aws::String>
86 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
87 template<typename SchemaT = Aws::String>
88 GetModelResult& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const { return m_requestId; }
94 template<typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
96 template<typename RequestIdT = Aws::String>
97 GetModelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_contentType;
102 bool m_contentTypeHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_modelId;
108 bool m_modelIdHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_schema;
114 bool m_schemaHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ApiGatewayV2
122} // namespace Aws
AWS_APIGATEWAYV2_API GetModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
AWS_APIGATEWAYV2_API GetModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetContentType(ContentTypeT &&value)
const Aws::String & GetSchema() const
AWS_APIGATEWAYV2_API GetModelResult()=default
GetModelResult & WithSchema(SchemaT &&value)
GetModelResult & WithDescription(DescriptionT &&value)
const Aws::String & GetModelId() const
GetModelResult & WithContentType(ContentTypeT &&value)
GetModelResult & WithRequestId(RequestIdT &&value)
GetModelResult & WithName(NameT &&value)
GetModelResult & WithModelId(ModelIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetContentType() const
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue