AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ImportDocumentationPartsRequest.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/PutMode.h>
11#include <aws/core/utils/Array.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace APIGateway
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_APIGATEWAY_API ImportDocumentationPartsRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ImportDocumentationParts"; }
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
50 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
51 template<typename RestApiIdT = Aws::String>
52 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
53 template<typename RestApiIdT = Aws::String>
54 ImportDocumentationPartsRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
56
58
64 inline PutMode GetMode() const { return m_mode; }
65 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
66 inline void SetMode(PutMode value) { m_modeHasBeenSet = true; m_mode = value; }
67 inline ImportDocumentationPartsRequest& WithMode(PutMode value) { SetMode(value); return *this;}
69
71
76 inline bool GetFailOnWarnings() const { return m_failOnWarnings; }
77 inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
78 inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
79 inline ImportDocumentationPartsRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
81 private:
82
83 Aws::String m_restApiId;
84 bool m_restApiIdHasBeenSet = false;
85
87 bool m_modeHasBeenSet = false;
88
89 bool m_failOnWarnings{false};
90 bool m_failOnWarningsHasBeenSet = false;
91
92 };
93
94} // namespace Model
95} // namespace APIGateway
96} // namespace Aws
AWS_APIGATEWAY_API ImportDocumentationPartsRequest()=default
ImportDocumentationPartsRequest & WithMode(PutMode value)
ImportDocumentationPartsRequest & WithRestApiId(RestApiIdT &&value)
ImportDocumentationPartsRequest & WithFailOnWarnings(bool value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String