AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelResult.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 CreateModelResult();
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 CreateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
44 inline CreateModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
45 inline CreateModelResult& 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 CreateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline CreateModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline CreateModelResult& 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 CreateModelResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
70 inline CreateModelResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
71 inline CreateModelResult& 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 CreateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline CreateModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline CreateModelResult& 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 CreateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
97 inline CreateModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
98 inline CreateModelResult& 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 CreateModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline CreateModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline CreateModelResult& 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
CreateModelResult & WithModelId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateModelResult & WithName(const char *value)
CreateModelResult & WithSchema(const Aws::String &value)
void SetModelId(const Aws::String &value)
CreateModelResult & WithName(Aws::String &&value)
AWS_APIGATEWAYV2_API CreateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API CreateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateModelResult & WithSchema(Aws::String &&value)
void SetSchema(const Aws::String &value)
CreateModelResult & WithModelId(const Aws::String &value)
CreateModelResult & WithContentType(Aws::String &&value)
CreateModelResult & WithName(const Aws::String &value)
CreateModelResult & WithRequestId(Aws::String &&value)
CreateModelResult & WithRequestId(const Aws::String &value)
CreateModelResult & WithContentType(const Aws::String &value)
CreateModelResult & WithRequestId(const char *value)
CreateModelResult & WithSchema(const char *value)
void SetContentType(const Aws::String &value)
CreateModelResult & WithModelId(const char *value)
CreateModelResult & WithDescription(Aws::String &&value)
CreateModelResult & WithContentType(const char *value)
CreateModelResult & WithDescription(const Aws::String &value)
CreateModelResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue