AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DnsRuleGroupLimitExceededViolation.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
35 {
36 public:
37 AWS_FMS_API DnsRuleGroupLimitExceededViolation() = default;
41
42
44
47 inline const Aws::String& GetViolationTarget() const { return m_violationTarget; }
48 inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; }
49 template<typename ViolationTargetT = Aws::String>
50 void SetViolationTarget(ViolationTargetT&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::forward<ViolationTargetT>(value); }
51 template<typename ViolationTargetT = Aws::String>
52 DnsRuleGroupLimitExceededViolation& WithViolationTarget(ViolationTargetT&& value) { SetViolationTarget(std::forward<ViolationTargetT>(value)); return *this;}
54
56
59 inline const Aws::String& GetViolationTargetDescription() const { return m_violationTargetDescription; }
60 inline bool ViolationTargetDescriptionHasBeenSet() const { return m_violationTargetDescriptionHasBeenSet; }
61 template<typename ViolationTargetDescriptionT = Aws::String>
62 void SetViolationTargetDescription(ViolationTargetDescriptionT&& value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription = std::forward<ViolationTargetDescriptionT>(value); }
63 template<typename ViolationTargetDescriptionT = Aws::String>
64 DnsRuleGroupLimitExceededViolation& WithViolationTargetDescription(ViolationTargetDescriptionT&& value) { SetViolationTargetDescription(std::forward<ViolationTargetDescriptionT>(value)); return *this;}
66
68
71 inline int GetNumberOfRuleGroupsAlreadyAssociated() const { return m_numberOfRuleGroupsAlreadyAssociated; }
72 inline bool NumberOfRuleGroupsAlreadyAssociatedHasBeenSet() const { return m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet; }
73 inline void SetNumberOfRuleGroupsAlreadyAssociated(int value) { m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet = true; m_numberOfRuleGroupsAlreadyAssociated = value; }
76 private:
77
78 Aws::String m_violationTarget;
79 bool m_violationTargetHasBeenSet = false;
80
81 Aws::String m_violationTargetDescription;
82 bool m_violationTargetDescriptionHasBeenSet = false;
83
84 int m_numberOfRuleGroupsAlreadyAssociated{0};
85 bool m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace FMS
90} // namespace Aws
DnsRuleGroupLimitExceededViolation & WithViolationTargetDescription(ViolationTargetDescriptionT &&value)
void SetViolationTargetDescription(ViolationTargetDescriptionT &&value)
DnsRuleGroupLimitExceededViolation & WithNumberOfRuleGroupsAlreadyAssociated(int value)
DnsRuleGroupLimitExceededViolation & WithViolationTarget(ViolationTargetT &&value)
AWS_FMS_API DnsRuleGroupLimitExceededViolation(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API DnsRuleGroupLimitExceededViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue