AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline const Aws::String& GetContentType() const{ return m_contentType; }
40 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
41 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
42 inline void SetContentType(const char* value) { m_contentType.assign(value); }
43 inline GetModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
44 inline GetModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
45 inline GetModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
47
49
52 inline const Aws::String& GetDescription() const{ return m_description; }
53 inline void SetDescription(const Aws::String& value) { m_description = value; }
54 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
55 inline void SetDescription(const char* value) { m_description.assign(value); }
56 inline GetModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline GetModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline GetModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
60
62
65 inline const Aws::String& GetModelId() const{ return m_modelId; }
66 inline void SetModelId(const Aws::String& value) { m_modelId = value; }
67 inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
68 inline void SetModelId(const char* value) { m_modelId.assign(value); }
69 inline GetModelResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
70 inline GetModelResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
71 inline GetModelResult& WithModelId(const char* value) { SetModelId(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline void SetName(const Aws::String& value) { m_name = value; }
80 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
81 inline void SetName(const char* value) { m_name.assign(value); }
82 inline GetModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline GetModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline GetModelResult& WithName(const char* value) { SetName(value); return *this;}
86
88
92 inline const Aws::String& GetSchema() const{ return m_schema; }
93 inline void SetSchema(const Aws::String& value) { m_schema = value; }
94 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
95 inline void SetSchema(const char* value) { m_schema.assign(value); }
96 inline GetModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
97 inline GetModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
98 inline GetModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline GetModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline GetModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline GetModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::String m_contentType;
114
115 Aws::String m_description;
116
117 Aws::String m_modelId;
118
119 Aws::String m_name;
120
121 Aws::String m_schema;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace ApiGatewayV2
128} // namespace Aws
GetModelResult & WithDescription(const char *value)
AWS_APIGATEWAYV2_API GetModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelResult & WithRequestId(const Aws::String &value)
GetModelResult & WithModelId(Aws::String &&value)
const Aws::String & GetName() const
GetModelResult & WithRequestId(const char *value)
GetModelResult & WithName(const char *value)
GetModelResult & WithSchema(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_APIGATEWAYV2_API GetModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSchema(const Aws::String &value)
const Aws::String & GetSchema() const
void SetDescription(Aws::String &&value)
GetModelResult & WithDescription(const Aws::String &value)
GetModelResult & WithSchema(const char *value)
void SetContentType(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetModelId() const
GetModelResult & WithModelId(const Aws::String &value)
GetModelResult & WithDescription(Aws::String &&value)
GetModelResult & WithSchema(Aws::String &&value)
GetModelResult & WithContentType(const char *value)
GetModelResult & WithRequestId(Aws::String &&value)
GetModelResult & WithName(const Aws::String &value)
void SetModelId(const Aws::String &value)
GetModelResult & WithContentType(const Aws::String &value)
GetModelResult & WithContentType(Aws::String &&value)
const Aws::String & GetContentType() const
GetModelResult & WithModelId(const char *value)
GetModelResult & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetContentType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue