AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RateLimitLabelNamespace.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_WAFV2_API RateLimitLabelNamespace();
46 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetNamespace() const{ return m_namespace; }
54 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
55 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
56 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
57 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
58 inline RateLimitLabelNamespace& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
59 inline RateLimitLabelNamespace& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
60 inline RateLimitLabelNamespace& WithNamespace(const char* value) { SetNamespace(value); return *this;}
62 private:
63
64 Aws::String m_namespace;
65 bool m_namespaceHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace WAFV2
70} // namespace Aws
AWS_WAFV2_API RateLimitLabelNamespace(Aws::Utils::Json::JsonView jsonValue)
RateLimitLabelNamespace & WithNamespace(const Aws::String &value)
AWS_WAFV2_API RateLimitLabelNamespace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RateLimitLabelNamespace & WithNamespace(Aws::String &&value)
RateLimitLabelNamespace & WithNamespace(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue