AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
47 inline const Aws::String& GetViolationTarget() const{ return m_violationTarget; }
48 inline bool ViolationTargetHasBeenSet() const { return m_violationTargetHasBeenSet; }
49 inline void SetViolationTarget(const Aws::String& value) { m_violationTargetHasBeenSet = true; m_violationTarget = value; }
50 inline void SetViolationTarget(Aws::String&& value) { m_violationTargetHasBeenSet = true; m_violationTarget = std::move(value); }
51 inline void SetViolationTarget(const char* value) { m_violationTargetHasBeenSet = true; m_violationTarget.assign(value); }
53 inline DnsRuleGroupLimitExceededViolation& WithViolationTarget(Aws::String&& value) { SetViolationTarget(std::move(value)); return *this;}
54 inline DnsRuleGroupLimitExceededViolation& WithViolationTarget(const char* value) { SetViolationTarget(value); return *this;}
56
58
61 inline const Aws::String& GetViolationTargetDescription() const{ return m_violationTargetDescription; }
62 inline bool ViolationTargetDescriptionHasBeenSet() const { return m_violationTargetDescriptionHasBeenSet; }
63 inline void SetViolationTargetDescription(const Aws::String& value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription = value; }
64 inline void SetViolationTargetDescription(Aws::String&& value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription = std::move(value); }
65 inline void SetViolationTargetDescription(const char* value) { m_violationTargetDescriptionHasBeenSet = true; m_violationTargetDescription.assign(value); }
70
72
75 inline int GetNumberOfRuleGroupsAlreadyAssociated() const{ return m_numberOfRuleGroupsAlreadyAssociated; }
76 inline bool NumberOfRuleGroupsAlreadyAssociatedHasBeenSet() const { return m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet; }
77 inline void SetNumberOfRuleGroupsAlreadyAssociated(int value) { m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet = true; m_numberOfRuleGroupsAlreadyAssociated = value; }
80 private:
81
82 Aws::String m_violationTarget;
83 bool m_violationTargetHasBeenSet = false;
84
85 Aws::String m_violationTargetDescription;
86 bool m_violationTargetDescriptionHasBeenSet = false;
87
88 int m_numberOfRuleGroupsAlreadyAssociated;
89 bool m_numberOfRuleGroupsAlreadyAssociatedHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace FMS
94} // namespace Aws
DnsRuleGroupLimitExceededViolation & WithViolationTarget(const Aws::String &value)
DnsRuleGroupLimitExceededViolation & WithViolationTarget(Aws::String &&value)
DnsRuleGroupLimitExceededViolation & WithNumberOfRuleGroupsAlreadyAssociated(int value)
DnsRuleGroupLimitExceededViolation & WithViolationTargetDescription(Aws::String &&value)
AWS_FMS_API DnsRuleGroupLimitExceededViolation(Aws::Utils::Json::JsonView jsonValue)
DnsRuleGroupLimitExceededViolation & WithViolationTargetDescription(const char *value)
AWS_FMS_API DnsRuleGroupLimitExceededViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsRuleGroupLimitExceededViolation & WithViolationTargetDescription(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
DnsRuleGroupLimitExceededViolation & WithViolationTarget(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue