AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Mitigation.h
1
6#pragma once
7#include <aws/shield/Shield_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 Shield
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SHIELD_API Mitigation();
35 AWS_SHIELD_API Mitigation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetMitigationName() const{ return m_mitigationName; }
45 inline bool MitigationNameHasBeenSet() const { return m_mitigationNameHasBeenSet; }
46 inline void SetMitigationName(const Aws::String& value) { m_mitigationNameHasBeenSet = true; m_mitigationName = value; }
47 inline void SetMitigationName(Aws::String&& value) { m_mitigationNameHasBeenSet = true; m_mitigationName = std::move(value); }
48 inline void SetMitigationName(const char* value) { m_mitigationNameHasBeenSet = true; m_mitigationName.assign(value); }
49 inline Mitigation& WithMitigationName(const Aws::String& value) { SetMitigationName(value); return *this;}
50 inline Mitigation& WithMitigationName(Aws::String&& value) { SetMitigationName(std::move(value)); return *this;}
51 inline Mitigation& WithMitigationName(const char* value) { SetMitigationName(value); return *this;}
53 private:
54
55 Aws::String m_mitigationName;
56 bool m_mitigationNameHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Shield
61} // namespace Aws
void SetMitigationName(const char *value)
Definition Mitigation.h:48
void SetMitigationName(Aws::String &&value)
Definition Mitigation.h:47
Mitigation & WithMitigationName(Aws::String &&value)
Definition Mitigation.h:50
AWS_SHIELD_API Mitigation(Aws::Utils::Json::JsonView jsonValue)
bool MitigationNameHasBeenSet() const
Definition Mitigation.h:45
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMitigationName() const
Definition Mitigation.h:44
Mitigation & WithMitigationName(const char *value)
Definition Mitigation.h:51
Mitigation & WithMitigationName(const Aws::String &value)
Definition Mitigation.h:49
AWS_SHIELD_API Mitigation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMitigationName(const Aws::String &value)
Definition Mitigation.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue