AWS SDK for C++  1.9.108
AWS SDK for C++
LabelSummary.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 
39  {
40  public:
45 
46 
50  inline const Aws::String& GetName() const{ return m_name; }
51 
55  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 
60  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 
65  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 
70  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 
75  inline LabelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
76 
80  inline LabelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 
85  inline LabelSummary& WithName(const char* value) { SetName(value); return *this;}
86 
87  private:
88 
89  Aws::String m_name;
90  bool m_nameHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace WAFV2
95 } // namespace Aws
Aws::WAFV2::Model::LabelSummary::LabelSummary
LabelSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::LabelSummary::operator=
LabelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WAFV2::Model::LabelSummary::WithName
LabelSummary & WithName(const char *value)
Definition: LabelSummary.h:85
Aws::WAFV2::Model::LabelSummary::LabelSummary
LabelSummary()
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::LabelSummary::WithName
LabelSummary & WithName(Aws::String &&value)
Definition: LabelSummary.h:80
Aws::WAFV2::Model::LabelSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
WAFV2_EXPORTS.h
Aws::WAFV2::Model::LabelSummary::WithName
LabelSummary & WithName(const Aws::String &value)
Definition: LabelSummary.h:75
Aws::WAFV2::Model::LabelSummary::SetName
void SetName(Aws::String &&value)
Definition: LabelSummary.h:65
Aws::WAFV2::Model::LabelSummary::SetName
void SetName(const Aws::String &value)
Definition: LabelSummary.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::LabelSummary
Definition: LabelSummary.h:39
Aws::WAFV2::Model::LabelSummary::SetName
void SetName(const char *value)
Definition: LabelSummary.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::LabelSummary::GetName
const Aws::String & GetName() const
Definition: LabelSummary.h:50
Aws::WAFV2::Model::LabelSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: LabelSummary.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97