AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
47
48
50
62 inline const Aws::String& GetSizeConstraintSetId() const{ return m_sizeConstraintSetId; }
63 inline bool SizeConstraintSetIdHasBeenSet() const { return m_sizeConstraintSetIdHasBeenSet; }
64 inline void SetSizeConstraintSetId(const Aws::String& value) { m_sizeConstraintSetIdHasBeenSet = true; m_sizeConstraintSetId = value; }
65 inline void SetSizeConstraintSetId(Aws::String&& value) { m_sizeConstraintSetIdHasBeenSet = true; m_sizeConstraintSetId = std::move(value); }
66 inline void SetSizeConstraintSetId(const char* value) { m_sizeConstraintSetIdHasBeenSet = true; m_sizeConstraintSetId.assign(value); }
68 inline SizeConstraintSetSummary& WithSizeConstraintSetId(Aws::String&& value) { SetSizeConstraintSetId(std::move(value)); return *this;}
69 inline SizeConstraintSetSummary& WithSizeConstraintSetId(const char* value) { SetSizeConstraintSetId(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline SizeConstraintSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline SizeConstraintSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline SizeConstraintSetSummary& WithName(const char* value) { SetName(value); return *this;}
85 private:
86
87 Aws::String m_sizeConstraintSetId;
88 bool m_sizeConstraintSetIdHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WAF
96} // namespace Aws
AWS_WAF_API SizeConstraintSetSummary(Aws::Utils::Json::JsonView jsonValue)
SizeConstraintSetSummary & WithSizeConstraintSetId(const Aws::String &value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSizeConstraintSetId(const Aws::String &value)
SizeConstraintSetSummary & WithName(const char *value)
SizeConstraintSetSummary & WithSizeConstraintSetId(const char *value)
AWS_WAF_API SizeConstraintSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SizeConstraintSetSummary & WithSizeConstraintSetId(Aws::String &&value)
SizeConstraintSetSummary & WithName(Aws::String &&value)
SizeConstraintSetSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue