AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
ImportApiKeysRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/ApiKeysFormat.h>
10#include <aws/core/utils/Array.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace APIGateway {
19namespace Model {
20
28 public:
29 AWS_APIGATEWAY_API ImportApiKeysRequest() = 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 "ImportApiKeys"; }
36
37 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
44 inline ApiKeysFormat GetFormat() const { return m_format; }
45 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
46 inline void SetFormat(ApiKeysFormat value) {
47 m_formatHasBeenSet = true;
48 m_format = value;
49 }
51 SetFormat(value);
52 return *this;
53 }
55
57
61 inline bool GetFailOnWarnings() const { return m_failOnWarnings; }
62 inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
63 inline void SetFailOnWarnings(bool value) {
64 m_failOnWarningsHasBeenSet = true;
65 m_failOnWarnings = value;
66 }
68 SetFailOnWarnings(value);
69 return *this;
70 }
72 private:
74
75 bool m_failOnWarnings{false};
76 bool m_formatHasBeenSet = false;
77 bool m_failOnWarningsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace APIGateway
82} // namespace Aws
AWS_APIGATEWAY_API ImportApiKeysRequest()=default
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ImportApiKeysRequest & WithFailOnWarnings(bool value)
virtual const char * GetServiceRequestName() const override
ImportApiKeysRequest & WithFormat(ApiKeysFormat value)