AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
LabelSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
35 public:
36 AWS_WAFV2_API LabelSummary() = default;
37 AWS_WAFV2_API LabelSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 LabelSummary& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58 private:
59 Aws::String m_name;
60 bool m_nameHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace WAFV2
65} // namespace Aws
AWS_WAFV2_API LabelSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API LabelSummary()=default
AWS_WAFV2_API LabelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelSummary & WithName(NameT &&value)
void SetName(NameT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue