AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateModelRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ApiGatewayV2
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_APIGATEWAYV2_API UpdateModelRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateModel"; }
34
35 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetApiId() const { return m_apiId; }
43 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
44 template<typename ApiIdT = Aws::String>
45 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
46 template<typename ApiIdT = Aws::String>
47 UpdateModelRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetContentType() const { return m_contentType; }
55 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
56 template<typename ContentTypeT = Aws::String>
57 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
58 template<typename ContentTypeT = Aws::String>
59 UpdateModelRequest& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
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 UpdateModelRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetModelId() const { return m_modelId; }
79 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
80 template<typename ModelIdT = Aws::String>
81 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
82 template<typename ModelIdT = Aws::String>
83 UpdateModelRequest& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetName() const { return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 template<typename NameT = Aws::String>
93 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
94 template<typename NameT = Aws::String>
95 UpdateModelRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
97
99
103 inline const Aws::String& GetSchema() const { return m_schema; }
104 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
105 template<typename SchemaT = Aws::String>
106 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
107 template<typename SchemaT = Aws::String>
108 UpdateModelRequest& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
110 private:
111
112 Aws::String m_apiId;
113 bool m_apiIdHasBeenSet = false;
114
115 Aws::String m_contentType;
116 bool m_contentTypeHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_modelId;
122 bool m_modelIdHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_schema;
128 bool m_schemaHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ApiGatewayV2
133} // namespace Aws
UpdateModelRequest & WithSchema(SchemaT &&value)
UpdateModelRequest & WithName(NameT &&value)
UpdateModelRequest & WithDescription(DescriptionT &&value)
UpdateModelRequest & WithContentType(ContentTypeT &&value)
UpdateModelRequest & WithApiId(ApiIdT &&value)
UpdateModelRequest & WithModelId(ModelIdT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
AWS_APIGATEWAYV2_API UpdateModelRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String