AWS SDK for C++  1.9.108
AWS SDK for C++
LabelNameCondition.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAFV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
47  inline const Aws::String& GetLabelName() const{ return m_labelName; }
48 
55  inline bool LabelNameHasBeenSet() const { return m_labelNameHasBeenSet; }
56 
63  inline void SetLabelName(const Aws::String& value) { m_labelNameHasBeenSet = true; m_labelName = value; }
64 
71  inline void SetLabelName(Aws::String&& value) { m_labelNameHasBeenSet = true; m_labelName = std::move(value); }
72 
79  inline void SetLabelName(const char* value) { m_labelNameHasBeenSet = true; m_labelName.assign(value); }
80 
87  inline LabelNameCondition& WithLabelName(const Aws::String& value) { SetLabelName(value); return *this;}
88 
95  inline LabelNameCondition& WithLabelName(Aws::String&& value) { SetLabelName(std::move(value)); return *this;}
96 
103  inline LabelNameCondition& WithLabelName(const char* value) { SetLabelName(value); return *this;}
104 
105  private:
106 
107  Aws::String m_labelName;
108  bool m_labelNameHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace WAFV2
113 } // namespace Aws
Aws::WAFV2::Model::LabelNameCondition
Definition: LabelNameCondition.h:33
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::LabelNameCondition::operator=
LabelNameCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::LabelNameCondition::WithLabelName
LabelNameCondition & WithLabelName(const char *value)
Definition: LabelNameCondition.h:103
Aws::WAFV2::Model::LabelNameCondition::LabelNameCondition
LabelNameCondition()
Aws::WAFV2::Model::LabelNameCondition::LabelNameCondition
LabelNameCondition(Aws::Utils::Json::JsonView jsonValue)
WAFV2_EXPORTS.h
Aws::WAFV2::Model::LabelNameCondition::SetLabelName
void SetLabelName(const char *value)
Definition: LabelNameCondition.h:79
Aws::WAFV2::Model::LabelNameCondition::SetLabelName
void SetLabelName(const Aws::String &value)
Definition: LabelNameCondition.h:63
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::LabelNameCondition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::LabelNameCondition::LabelNameHasBeenSet
bool LabelNameHasBeenSet() const
Definition: LabelNameCondition.h:55
Aws::WAFV2::Model::LabelNameCondition::SetLabelName
void SetLabelName(Aws::String &&value)
Definition: LabelNameCondition.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::LabelNameCondition::GetLabelName
const Aws::String & GetLabelName() const
Definition: LabelNameCondition.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::LabelNameCondition::WithLabelName
LabelNameCondition & WithLabelName(Aws::String &&value)
Definition: LabelNameCondition.h:95
Aws::WAFV2::Model::LabelNameCondition::WithLabelName
LabelNameCondition & WithLabelName(const Aws::String &value)
Definition: LabelNameCondition.h:87