AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ApiKeysFormat& GetFormat() const{ return m_format; }
50 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
51 inline void SetFormat(const ApiKeysFormat& value) { m_formatHasBeenSet = true; m_format = value; }
52 inline void SetFormat(ApiKeysFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
53 inline ImportApiKeysRequest& WithFormat(const ApiKeysFormat& value) { SetFormat(value); return *this;}
54 inline ImportApiKeysRequest& WithFormat(ApiKeysFormat&& value) { SetFormat(std::move(value)); return *this;}
56
58
62 inline bool GetFailOnWarnings() const{ return m_failOnWarnings; }
63 inline bool FailOnWarningsHasBeenSet() const { return m_failOnWarningsHasBeenSet; }
64 inline void SetFailOnWarnings(bool value) { m_failOnWarningsHasBeenSet = true; m_failOnWarnings = value; }
65 inline ImportApiKeysRequest& WithFailOnWarnings(bool value) { SetFailOnWarnings(value); return *this;}
67 private:
68
69
70 ApiKeysFormat m_format;
71 bool m_formatHasBeenSet = false;
72
73 bool m_failOnWarnings;
74 bool m_failOnWarningsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace APIGateway
79} // namespace Aws
ImportApiKeysRequest & WithFormat(ApiKeysFormat &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ImportApiKeysRequest & WithFailOnWarnings(bool value)
virtual const char * GetServiceRequestName() const override
ImportApiKeysRequest & WithFormat(const ApiKeysFormat &value)