AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ImportApiKeysRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/apigateway/model/ApiKeysFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API ImportApiKeysRequest() = default;
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 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
49 inline ApiKeysFormat GetFormat() const { return m_format; }
50 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
51 inline void SetFormat(ApiKeysFormat value) { m_formatHasBeenSet = true; m_format = value; }
52 inline ImportApiKeysRequest& WithFormat(ApiKeysFormat value) { SetFormat(value); return *this;}
54
56
60 inline bool GetFailOnWarnings() const { return m_failOnWarnings; }
61 inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
62 inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
63 inline ImportApiKeysRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
65 private:
66
67
69 bool m_formatHasBeenSet = false;
70
71 bool m_failOnWarnings{false};
72 bool m_failOnWarningsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace APIGateway
77} // 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)