AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SizeConstraintSetSummary.h
1
6#pragma once
7#include <aws/waf/WAF_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 WAF
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_WAF_API SizeConstraintSetSummary() = default;
47
48
50
62 inline const Aws::String& GetSizeConstraintSetId() const { return m_sizeConstraintSetId; }
63 inline bool SizeConstraintSetIdHasBeenSet() const { return m_sizeConstraintSetIdHasBeenSet; }
64 template<typename SizeConstraintSetIdT = Aws::String>
65 void SetSizeConstraintSetId(SizeConstraintSetIdT&& value) { m_sizeConstraintSetIdHasBeenSet = true; m_sizeConstraintSetId = std::forward<SizeConstraintSetIdT>(value); }
66 template<typename SizeConstraintSetIdT = Aws::String>
67 SizeConstraintSetSummary& WithSizeConstraintSetId(SizeConstraintSetIdT&& value) { SetSizeConstraintSetId(std::forward<SizeConstraintSetIdT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 SizeConstraintSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81 private:
82
83 Aws::String m_sizeConstraintSetId;
84 bool m_sizeConstraintSetIdHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace WAF
92} // namespace Aws
AWS_WAF_API SizeConstraintSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API SizeConstraintSetSummary()=default
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSizeConstraintSetId(SizeConstraintSetIdT &&value)
AWS_WAF_API SizeConstraintSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SizeConstraintSetSummary & WithSizeConstraintSetId(SizeConstraintSetIdT &&value)
SizeConstraintSetSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue