AWS SDK for C++  1.9.104
AWS SDK for C++
WafOverrideAction.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 SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const Aws::String& GetType() const{ return m_type; }
46 
52  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 
59  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
60 
66  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 
73  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
74 
80  inline WafOverrideAction& WithType(const Aws::String& value) { SetType(value); return *this;}
81 
87  inline WafOverrideAction& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
88 
94  inline WafOverrideAction& WithType(const char* value) { SetType(value); return *this;}
95 
96  private:
97 
98  Aws::String m_type;
99  bool m_typeHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace SecurityHub
104 } // namespace Aws
Aws::SecurityHub::Model::WafOverrideAction::SetType
void SetType(const Aws::String &value)
Definition: WafOverrideAction.h:59
Aws::SecurityHub::Model::WafOverrideAction::SetType
void SetType(const char *value)
Definition: WafOverrideAction.h:73
Aws::SecurityHub::Model::WafOverrideAction::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: WafOverrideAction.h:52
Aws::SecurityHub::Model::WafOverrideAction
Definition: WafOverrideAction.h:32
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::WafOverrideAction::operator=
WafOverrideAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::WafOverrideAction::WafOverrideAction
WafOverrideAction()
Aws::SecurityHub::Model::WafOverrideAction::WithType
WafOverrideAction & WithType(Aws::String &&value)
Definition: WafOverrideAction.h:87
Aws::SecurityHub::Model::WafOverrideAction::WithType
WafOverrideAction & WithType(const char *value)
Definition: WafOverrideAction.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SecurityHub::Model::WafOverrideAction::SetType
void SetType(Aws::String &&value)
Definition: WafOverrideAction.h:66
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::WafOverrideAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::WafOverrideAction::WithType
WafOverrideAction & WithType(const Aws::String &value)
Definition: WafOverrideAction.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::WafOverrideAction::WafOverrideAction
WafOverrideAction(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::WafOverrideAction::GetType
const Aws::String & GetType() const
Definition: WafOverrideAction.h:45