AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetDocumentationVersionRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace APIGateway {
15namespace Model {
16
23 public:
24 AWS_APIGATEWAY_API GetDocumentationVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetDocumentationVersion"; }
31
32 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
39 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
40 template <typename RestApiIdT = Aws::String>
41 void SetRestApiId(RestApiIdT&& value) {
42 m_restApiIdHasBeenSet = true;
43 m_restApiId = std::forward<RestApiIdT>(value);
44 }
45 template <typename RestApiIdT = Aws::String>
47 SetRestApiId(std::forward<RestApiIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDocumentationVersion() const { return m_documentationVersion; }
57 inline bool DocumentationVersionHasBeenSet() const { return m_documentationVersionHasBeenSet; }
58 template <typename DocumentationVersionT = Aws::String>
59 void SetDocumentationVersion(DocumentationVersionT&& value) {
60 m_documentationVersionHasBeenSet = true;
61 m_documentationVersion = std::forward<DocumentationVersionT>(value);
62 }
63 template <typename DocumentationVersionT = Aws::String>
65 SetDocumentationVersion(std::forward<DocumentationVersionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_restApiId;
71
72 Aws::String m_documentationVersion;
73 bool m_restApiIdHasBeenSet = false;
74 bool m_documentationVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace APIGateway
79} // namespace Aws
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API GetDocumentationVersionRequest()=default
GetDocumentationVersionRequest & WithRestApiId(RestApiIdT &&value)
GetDocumentationVersionRequest & WithDocumentationVersion(DocumentationVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String