AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DnsDuplicateRuleGroupViolation.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
22{
23namespace Model
24{
25
34 {
35 public:
40
41
43
46 inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; }
47 inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; }
48 inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; }
49 inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); }
50 inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); }
52 inline DnsDuplicateRuleGroupViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;}
53 inline DnsDuplicateRuleGroupViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;}
55
57
60 inline const Aws::String& GetViolationTargetDescription() const{ return m_violationTargetDescription; }
61 inline bool ViolationTargetDescriptionHasBeenSet() const { return m_violationTargetDescriptionHasBeenSet; }
62 inline void SetViolationTargetDescription(const Aws::String& value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription = value; }
63 inline void SetViolationTargetDescription(Aws::String&& value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription = std::move(value); }
64 inline void SetViolationTargetDescription(const char* value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription.assign(value); }
69 private:
70
71 Aws::String m_violationTarget;
72 bool m_violationTargetHasBeenSet = false;
73
74 Aws::String m_violationTargetDescription;
75 bool m_violationTargetDescriptionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace FMS
80} // namespace Aws
AWS_FMS_API DnsDuplicateRuleGroupViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsDuplicateRuleGroupViolation & WithViolationTarget(const Aws::String &value)
DnsDuplicateRuleGroupViolation & WithViolationTargetDescription(Aws::String &&value)
DnsDuplicateRuleGroupViolation & WithViolationTargetDescription(const char *value)
DnsDuplicateRuleGroupViolation & WithViolationTarget(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
DnsDuplicateRuleGroupViolation & WithViolationTargetDescription(const Aws::String &value)
AWS_FMS_API DnsDuplicateRuleGroupViolation(Aws::Utils::Json::JsonView jsonValue)
DnsDuplicateRuleGroupViolation & WithViolationTarget(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue