AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
52 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
53 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
54 inline ImportDocumentationPartsRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
55 inline ImportDocumentationPartsRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
56 inline ImportDocumentationPartsRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
58
60
66 inline const PutMode& GetMode() const{ return m_mode; }
67 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
68 inline void SetMode(const PutMode& value) { m_modeHasBeenSet = true; m_mode = value; }
69 inline void SetMode(PutMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
70 inline ImportDocumentationPartsRequest& WithMode(const PutMode& value) { SetMode(value); return *this;}
71 inline ImportDocumentationPartsRequest& WithMode(PutMode&& value) { SetMode(std::move(value)); return *this;}
73
75
80 inline bool GetFailOnWarnings() const{ return m_failOnWarnings; }
81 inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
82 inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
83 inline ImportDocumentationPartsRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
85 private:
86
87 Aws::String m_restApiId;
88 bool m_restApiIdHasBeenSet = false;
89
90 PutMode m_mode;
91 bool m_modeHasBeenSet = false;
92
93 bool m_failOnWarnings;
94 bool m_failOnWarningsHasBeenSet = false;
95
96 };
97
98} // namespace Model
99} // namespace APIGateway
100} // namespace Aws
ImportDocumentationPartsRequest & WithRestApiId(Aws::String &&value)
ImportDocumentationPartsRequest & WithRestApiId(const Aws::String &value)
ImportDocumentationPartsRequest & WithMode(PutMode &&value)
ImportDocumentationPartsRequest & WithRestApiId(const char *value)
ImportDocumentationPartsRequest & WithMode(const PutMode &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