AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline void SetId(const Aws::String& value) { m_id = value; }
47 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
48 inline void SetId(const char* value) { m_id.assign(value); }
49 inline UpdateModelResult& WithId(const Aws::String& value) { SetId(value); return *this;}
50 inline UpdateModelResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
51 inline UpdateModelResult& WithId(const char* value) { SetId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline void SetName(const Aws::String& value) { m_name = value; }
60 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
61 inline void SetName(const char* value) { m_name.assign(value); }
62 inline UpdateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateModelResult& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline UpdateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
89 inline const Aws::String& GetSchema() const{ return m_schema; }
90 inline void SetSchema(const Aws::String& value) { m_schema = value; }
91 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
92 inline void SetSchema(const char* value) { m_schema.assign(value); }
93 inline UpdateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
94 inline UpdateModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
95 inline UpdateModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
97
99
102 inline const Aws::String& GetContentType() const{ return m_contentType; }
103 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
104 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
105 inline void SetContentType(const char* value) { m_contentType.assign(value); }
106 inline UpdateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
107 inline UpdateModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
108 inline UpdateModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline UpdateModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline UpdateModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline UpdateModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_id;
124
125 Aws::String m_name;
126
127 Aws::String m_description;
128
129 Aws::String m_schema;
130
131 Aws::String m_contentType;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace APIGateway
138} // namespace Aws
UpdateModelResult & WithRequestId(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
UpdateModelResult & WithDescription(const Aws::String &value)
UpdateModelResult & WithRequestId(const Aws::String &value)
void SetContentType(const Aws::String &value)
UpdateModelResult & WithId(const Aws::String &value)
UpdateModelResult & WithContentType(const char *value)
void SetName(const Aws::String &value)
AWS_APIGATEWAY_API UpdateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetId(const Aws::String &value)
UpdateModelResult & WithRequestId(const char *value)
UpdateModelResult & WithId(const char *value)
UpdateModelResult & WithDescription(Aws::String &&value)
UpdateModelResult & WithContentType(Aws::String &&value)
UpdateModelResult & WithId(Aws::String &&value)
UpdateModelResult & WithName(const Aws::String &value)
UpdateModelResult & WithSchema(const Aws::String &value)
void SetSchema(const Aws::String &value)
UpdateModelResult & WithName(Aws::String &&value)
AWS_APIGATEWAY_API UpdateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateModelResult & WithContentType(const Aws::String &value)
void SetRequestId(const Aws::String &value)
UpdateModelResult & WithSchema(const char *value)
UpdateModelResult & WithDescription(const char *value)
UpdateModelResult & WithSchema(Aws::String &&value)
UpdateModelResult & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue