AWS SDK for C++  1.9.104
AWS SDK for C++
ImportApiKeysRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace APIGateway
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "ImportApiKeys"; }
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
48  inline const ApiKeysFormat& GetFormat() const{ return m_format; }
49 
54  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
55 
60  inline void SetFormat(const ApiKeysFormat& value) { m_formatHasBeenSet = true; m_format = value; }
61 
66  inline void SetFormat(ApiKeysFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
67 
72  inline ImportApiKeysRequest& WithFormat(const ApiKeysFormat& value) { SetFormat(value); return *this;}
73 
78  inline ImportApiKeysRequest& WithFormat(ApiKeysFormat&& value) { SetFormat(std::move(value)); return *this;}
79 
80 
85  inline bool GetFailOnWarnings() const{ return m_failOnWarnings; }
86 
91  inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
92 
97  inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
98 
103  inline ImportApiKeysRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
104 
105  private:
106 
107 
108  ApiKeysFormat m_format;
109  bool m_formatHasBeenSet;
110 
111  bool m_failOnWarnings;
112  bool m_failOnWarningsHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace APIGateway
117 } // namespace Aws
Aws::APIGateway::Model::ImportApiKeysRequest::SetFormat
void SetFormat(const ApiKeysFormat &value)
Definition: ImportApiKeysRequest.h:60
Aws::Http::URI
Definition: URI.h:32
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::ImportApiKeysRequest::GetFormat
const ApiKeysFormat & GetFormat() const
Definition: ImportApiKeysRequest.h:48
Aws::APIGateway::Model::ImportApiKeysRequest::FailOnWarningsHasBeenSet
bool FailOnWarningsHasBeenSet() const
Definition: ImportApiKeysRequest.h:91
Aws::APIGateway::Model::ImportApiKeysRequest::SetFormat
void SetFormat(ApiKeysFormat &&value)
Definition: ImportApiKeysRequest.h:66
Aws::APIGateway::Model::ImportApiKeysRequest::GetFailOnWarnings
bool GetFailOnWarnings() const
Definition: ImportApiKeysRequest.h:85
APIGateway_EXPORTS.h
Aws::APIGateway::Model::ImportApiKeysRequest::ImportApiKeysRequest
ImportApiKeysRequest()
Aws::APIGateway::Model::ApiKeysFormat
ApiKeysFormat
Definition: ApiKeysFormat.h:17
APIGatewayRequest.h
Aws::APIGateway::Model::ImportApiKeysRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::ImportApiKeysRequest::SetFailOnWarnings
void SetFailOnWarnings(bool value)
Definition: ImportApiKeysRequest.h:97
Aws::APIGateway::Model::ImportApiKeysRequest::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: ImportApiKeysRequest.h:54
Aws::APIGateway::Model::ImportApiKeysRequest::WithFormat
ImportApiKeysRequest & WithFormat(ApiKeysFormat &&value)
Definition: ImportApiKeysRequest.h:78
Aws::APIGateway::Model::ImportApiKeysRequest
Definition: ImportApiKeysRequest.h:31
Aws::APIGateway::Model::ImportApiKeysRequest::WithFormat
ImportApiKeysRequest & WithFormat(const ApiKeysFormat &value)
Definition: ImportApiKeysRequest.h:72
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws::APIGateway::Model::ImportApiKeysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ImportApiKeysRequest.h:39
Aws
Definition: AccessManagementClient.h:15
Array.h
ApiKeysFormat.h
Aws::APIGateway::Model::ImportApiKeysRequest::WithFailOnWarnings
ImportApiKeysRequest & WithFailOnWarnings(bool value)
Definition: ImportApiKeysRequest.h:103