AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAPIKeyRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Scope.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WAFV2_API DeleteAPIKeyRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteAPIKey"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
50 inline const Scope& GetScope() const{ return m_scope; }
51 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
52 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
53 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
54 inline DeleteAPIKeyRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
55 inline DeleteAPIKeyRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
57
59
62 inline const Aws::String& GetAPIKey() const{ return m_aPIKey; }
63 inline bool APIKeyHasBeenSet() const { return m_aPIKeyHasBeenSet; }
64 inline void SetAPIKey(const Aws::String& value) { m_aPIKeyHasBeenSet = true; m_aPIKey = value; }
65 inline void SetAPIKey(Aws::String&& value) { m_aPIKeyHasBeenSet = true; m_aPIKey = std::move(value); }
66 inline void SetAPIKey(const char* value) { m_aPIKeyHasBeenSet = true; m_aPIKey.assign(value); }
67 inline DeleteAPIKeyRequest& WithAPIKey(const Aws::String& value) { SetAPIKey(value); return *this;}
68 inline DeleteAPIKeyRequest& WithAPIKey(Aws::String&& value) { SetAPIKey(std::move(value)); return *this;}
69 inline DeleteAPIKeyRequest& WithAPIKey(const char* value) { SetAPIKey(value); return *this;}
71 private:
72
73 Scope m_scope;
74 bool m_scopeHasBeenSet = false;
75
76 Aws::String m_aPIKey;
77 bool m_aPIKeyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace WAFV2
82} // namespace Aws
DeleteAPIKeyRequest & WithAPIKey(const Aws::String &value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAPIKeyRequest & WithScope(Scope &&value)
DeleteAPIKeyRequest & WithAPIKey(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteAPIKeyRequest & WithAPIKey(const char *value)
AWS_WAFV2_API Aws::String SerializePayload() const override
DeleteAPIKeyRequest & WithScope(const Scope &value)
void SetAPIKey(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String