AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateModelResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_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 APIGateway
24{
25namespace Model
26{
34 {
35 public:
36 AWS_APIGATEWAY_API UpdateModelResult() = default;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 UpdateModelResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateModelResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateModelResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
83 inline const Aws::String& GetSchema() const { return m_schema; }
84 template<typename SchemaT = Aws::String>
85 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
86 template<typename SchemaT = Aws::String>
87 UpdateModelResult& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
89
91
94 inline const Aws::String& GetContentType() const { return m_contentType; }
95 template<typename ContentTypeT = Aws::String>
96 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
97 template<typename ContentTypeT = Aws::String>
98 UpdateModelResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 UpdateModelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_id;
112 bool m_idHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::String m_schema;
121 bool m_schemaHasBeenSet = false;
122
123 Aws::String m_contentType;
124 bool m_contentTypeHasBeenSet = false;
125
126 Aws::String m_requestId;
127 bool m_requestIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace APIGateway
132} // namespace Aws
const Aws::String & GetDescription() const
UpdateModelResult & WithContentType(ContentTypeT &&value)
UpdateModelResult & WithDescription(DescriptionT &&value)
UpdateModelResult & WithName(NameT &&value)
UpdateModelResult & WithId(IdT &&value)
AWS_APIGATEWAY_API UpdateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API UpdateModelResult()=default
UpdateModelResult & WithSchema(SchemaT &&value)
const Aws::String & GetContentType() const
AWS_APIGATEWAY_API UpdateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateModelResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue