AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateDocumentationPartRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/DocumentationPartLocation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace APIGateway
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_APIGATEWAY_API CreateDocumentationPartRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateDocumentationPart"; }
36
37 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
45 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
46 template<typename RestApiIdT = Aws::String>
47 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
48 template<typename RestApiIdT = Aws::String>
49 CreateDocumentationPartRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
51
53
57 inline const DocumentationPartLocation& GetLocation() const { return m_location; }
58 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
59 template<typename LocationT = DocumentationPartLocation>
60 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
61 template<typename LocationT = DocumentationPartLocation>
62 CreateDocumentationPartRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
64
66
71 inline const Aws::String& GetProperties() const { return m_properties; }
72 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
73 template<typename PropertiesT = Aws::String>
74 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
75 template<typename PropertiesT = Aws::String>
76 CreateDocumentationPartRequest& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
78 private:
79
80 Aws::String m_restApiId;
81 bool m_restApiIdHasBeenSet = false;
82
84 bool m_locationHasBeenSet = false;
85
86 Aws::String m_properties;
87 bool m_propertiesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace APIGateway
92} // 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