AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetGatewayResponseRequest.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
25 public:
26 AWS_APIGATEWAY_API GetGatewayResponseRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetGatewayResponse"; }
33
34 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
41 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
42 template <typename RestApiIdT = Aws::String>
43 void SetRestApiId(RestApiIdT&& value) {
44 m_restApiIdHasBeenSet = true;
45 m_restApiId = std::forward<RestApiIdT>(value);
46 }
47 template <typename RestApiIdT = Aws::String>
49 SetRestApiId(std::forward<RestApiIdT>(value));
50 return *this;
51 }
53
55
58 inline GatewayResponseType GetResponseType() const { return m_responseType; }
59 inline bool ResponseTypeHasBeenSet() const { return m_responseTypeHasBeenSet; }
61 m_responseTypeHasBeenSet = true;
62 m_responseType = value;
63 }
65 SetResponseType(value);
66 return *this;
67 }
69 private:
70 Aws::String m_restApiId;
71
73 bool m_restApiIdHasBeenSet = false;
74 bool m_responseTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace APIGateway
79} // namespace Aws
AWS_APIGATEWAY_API GetGatewayResponseRequest()=default
GetGatewayResponseRequest & WithRestApiId(RestApiIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetGatewayResponseRequest & WithResponseType(GatewayResponseType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String