AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; }
52 inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); }
53 inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); }
54 inline GetApiKeyRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
55 inline GetApiKeyRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
56 inline GetApiKeyRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;}
58
60
64 inline bool GetIncludeValue() const{ return m_includeValue; }
65 inline bool IncludeValueHasBeenSet() const { return m_includeValueHasBeenSet; }
66 inline void SetIncludeValue(bool value) { m_includeValueHasBeenSet = true; m_includeValue = value; }
67 inline GetApiKeyRequest& WithIncludeValue(bool value) { SetIncludeValue(value); return *this;}
69 private:
70
71 Aws::String m_apiKey;
72 bool m_apiKeyHasBeenSet = false;
73
74 bool m_includeValue;
75 bool m_includeValueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace APIGateway
80} // namespace Aws
GetApiKeyRequest & WithIncludeValue(bool value)
GetApiKeyRequest & WithApiKey(const Aws::String &value)
const Aws::String & GetApiKey() const
void SetApiKey(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetApiKeyRequest & WithApiKey(Aws::String &&value)
GetApiKeyRequest & WithApiKey(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String