AWS SDK for C++  1.9.20
AWS SDK for C++
ImportDocumentationPartsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/core/utils/Array.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace APIGateway
21 {
22 namespace Model
23 {
24 
32  {
33  public:
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  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
49 
53  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
54 
58  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
59 
63  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
64 
68  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
69 
73  inline ImportDocumentationPartsRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
74 
78  inline ImportDocumentationPartsRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
79 
83  inline ImportDocumentationPartsRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
84 
85 
92  inline const PutMode& GetMode() const{ return m_mode; }
93 
100  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
101 
108  inline void SetMode(const PutMode& value) { m_modeHasBeenSet = true; m_mode = value; }
109 
116  inline void SetMode(PutMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
117 
124  inline ImportDocumentationPartsRequest& WithMode(const PutMode& value) { SetMode(value); return *this;}
125 
132  inline ImportDocumentationPartsRequest& WithMode(PutMode&& value) { SetMode(std::move(value)); return *this;}
133 
134 
140  inline bool GetFailOnWarnings() const{ return m_failOnWarnings; }
141 
147  inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
148 
154  inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
155 
161  inline ImportDocumentationPartsRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
162 
163  private:
164 
165  Aws::String m_restApiId;
166  bool m_restApiIdHasBeenSet;
167 
168  PutMode m_mode;
169  bool m_modeHasBeenSet;
170 
171  bool m_failOnWarnings;
172  bool m_failOnWarningsHasBeenSet;
173 
174  };
175 
176 } // namespace Model
177 } // namespace APIGateway
178 } // namespace Aws
Aws::APIGateway::Model::ImportDocumentationPartsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ImportDocumentationPartsRequest.h:40
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: ImportDocumentationPartsRequest.h:58
Aws::APIGateway::Model::ImportDocumentationPartsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::PutMode
PutMode
Definition: PutMode.h:17
PutMode.h
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetMode
void SetMode(PutMode &&value)
Definition: ImportDocumentationPartsRequest.h:116
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetMode
void SetMode(const PutMode &value)
Definition: ImportDocumentationPartsRequest.h:108
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::ImportDocumentationPartsRequest::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: ImportDocumentationPartsRequest.h:100
Aws::APIGateway::Model::ImportDocumentationPartsRequest::ImportDocumentationPartsRequest
ImportDocumentationPartsRequest()
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: ImportDocumentationPartsRequest.h:68
Aws::APIGateway::Model::ImportDocumentationPartsRequest
Definition: ImportDocumentationPartsRequest.h:32
APIGateway_EXPORTS.h
Aws::APIGateway::Model::ImportDocumentationPartsRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: ImportDocumentationPartsRequest.h:48
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithRestApiId
ImportDocumentationPartsRequest & WithRestApiId(const Aws::String &value)
Definition: ImportDocumentationPartsRequest.h:73
APIGatewayRequest.h
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetFailOnWarnings
void SetFailOnWarnings(bool value)
Definition: ImportDocumentationPartsRequest.h:154
Aws::APIGateway::Model::ImportDocumentationPartsRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: ImportDocumentationPartsRequest.h:63
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithFailOnWarnings
ImportDocumentationPartsRequest & WithFailOnWarnings(bool value)
Definition: ImportDocumentationPartsRequest.h:161
AWSString.h
Aws::APIGateway::Model::ImportDocumentationPartsRequest::FailOnWarningsHasBeenSet
bool FailOnWarningsHasBeenSet() const
Definition: ImportDocumentationPartsRequest.h:147
Aws::APIGateway::Model::ImportDocumentationPartsRequest::GetFailOnWarnings
bool GetFailOnWarnings() const
Definition: ImportDocumentationPartsRequest.h:140
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithMode
ImportDocumentationPartsRequest & WithMode(PutMode &&value)
Definition: ImportDocumentationPartsRequest.h:132
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithMode
ImportDocumentationPartsRequest & WithMode(const PutMode &value)
Definition: ImportDocumentationPartsRequest.h:124
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::ImportDocumentationPartsRequest::GetMode
const PutMode & GetMode() const
Definition: ImportDocumentationPartsRequest.h:92
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithRestApiId
ImportDocumentationPartsRequest & WithRestApiId(const char *value)
Definition: ImportDocumentationPartsRequest.h:83
Aws::APIGateway::Model::ImportDocumentationPartsRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: ImportDocumentationPartsRequest.h:53
Aws::APIGateway::Model::ImportDocumentationPartsRequest::WithRestApiId
ImportDocumentationPartsRequest & WithRestApiId(Aws::String &&value)
Definition: ImportDocumentationPartsRequest.h:78