AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
CreateDocumentationPartRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/DocumentationPartLocation.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 CreateDocumentationPartRequest() = 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 "CreateDocumentationPart"; }
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
59 inline const DocumentationPartLocation& GetLocation() const { return m_location; }
60 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
61 template <typename LocationT = DocumentationPartLocation>
62 void SetLocation(LocationT&& value) {
63 m_locationHasBeenSet = true;
64 m_location = std::forward<LocationT>(value);
65 }
66 template <typename LocationT = DocumentationPartLocation>
68 SetLocation(std::forward<LocationT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetProperties() const { return m_properties; }
80 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
81 template <typename PropertiesT = Aws::String>
82 void SetProperties(PropertiesT&& value) {
83 m_propertiesHasBeenSet = true;
84 m_properties = std::forward<PropertiesT>(value);
85 }
86 template <typename PropertiesT = Aws::String>
88 SetProperties(std::forward<PropertiesT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_restApiId;
94
96
97 Aws::String m_properties;
98 bool m_restApiIdHasBeenSet = false;
99 bool m_locationHasBeenSet = false;
100 bool m_propertiesHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace APIGateway
105} // namespace Aws
CreateDocumentationPartRequest & WithProperties(PropertiesT &&value)
CreateDocumentationPartRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateDocumentationPartRequest & WithLocation(LocationT &&value)
AWS_APIGATEWAY_API CreateDocumentationPartRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String