AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DeleteGatewayResponseRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/GatewayResponseType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace APIGateway {
16namespace Model {
17
26 public:
27 AWS_APIGATEWAY_API DeleteGatewayResponseRequest() = 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 "DeleteGatewayResponse"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
42 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
43 template <typename RestApiIdT = Aws::String>
44 void SetRestApiId(RestApiIdT&& value) {
45 m_restApiIdHasBeenSet = true;
46 m_restApiId = std::forward<RestApiIdT>(value);
47 }
48 template <typename RestApiIdT = Aws::String>
50 SetRestApiId(std::forward<RestApiIdT>(value));
51 return *this;
52 }
54
56
59 inline GatewayResponseType GetResponseType() const { return m_responseType; }
60 inline bool ResponseTypeHasBeenSet() const { return m_responseTypeHasBeenSet; }
62 m_responseTypeHasBeenSet = true;
63 m_responseType = value;
64 }
66 SetResponseType(value);
67 return *this;
68 }
70 private:
71 Aws::String m_restApiId;
72
74 bool m_restApiIdHasBeenSet = false;
75 bool m_responseTypeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace APIGateway
80} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
DeleteGatewayResponseRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API DeleteGatewayResponseRequest()=default
DeleteGatewayResponseRequest & WithResponseType(GatewayResponseType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String