AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApiKeyRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace APIGateway
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_APIGATEWAY_API GetApiKeyRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetApiKey"; }
39
40 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetApiKey() const { return m_apiKey; }
50 inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; }
51 template<typename ApiKeyT = Aws::String>
52 void SetApiKey(ApiKeyT&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::forward<ApiKeyT>(value); }
53 template<typename ApiKeyT = Aws::String>
54 GetApiKeyRequest& WithApiKey(ApiKeyT&& value) { SetApiKey(std::forward<ApiKeyT>(value)); return *this;}
56
58
62 inline bool GetIncludeValue() const { return m_includeValue; }
63 inline bool IncludeValueHasBeenSet() const { return m_includeValueHasBeenSet; }
64 inline void SetIncludeValue(bool value) { m_includeValueHasBeenSet = true; m_includeValue = value; }
65 inline GetApiKeyRequest& WithIncludeValue(bool value) { SetIncludeValue(value); return *this;}
67 private:
68
69 Aws::String m_apiKey;
70 bool m_apiKeyHasBeenSet = false;
71
72 bool m_includeValue{false};
73 bool m_includeValueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace APIGateway
78} // namespace Aws
GetApiKeyRequest & WithIncludeValue(bool value)
const Aws::String & GetApiKey() const
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetApiKeyRequest & WithApiKey(ApiKeyT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API GetApiKeyRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String