AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EntryViolation.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/EntryDescription.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fms/model/EntryViolationReason.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FMS
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_FMS_API EntryViolation() = default;
44
45
47
51 inline const EntryDescription& GetExpectedEntry() const { return m_expectedEntry; }
52 inline bool ExpectedEntryHasBeenSet() const { return m_expectedEntryHasBeenSet; }
53 template<typename ExpectedEntryT = EntryDescription>
54 void SetExpectedEntry(ExpectedEntryT&& value) { m_expectedEntryHasBeenSet = true; m_expectedEntry = std::forward<ExpectedEntryT>(value); }
55 template<typename ExpectedEntryT = EntryDescription>
56 EntryViolation& WithExpectedEntry(ExpectedEntryT&& value) { SetExpectedEntry(std::forward<ExpectedEntryT>(value)); return *this;}
58
60
65 inline const Aws::String& GetExpectedEvaluationOrder() const { return m_expectedEvaluationOrder; }
66 inline bool ExpectedEvaluationOrderHasBeenSet() const { return m_expectedEvaluationOrderHasBeenSet; }
67 template<typename ExpectedEvaluationOrderT = Aws::String>
68 void SetExpectedEvaluationOrder(ExpectedEvaluationOrderT&& value) { m_expectedEvaluationOrderHasBeenSet = true; m_expectedEvaluationOrder = std::forward<ExpectedEvaluationOrderT>(value); }
69 template<typename ExpectedEvaluationOrderT = Aws::String>
70 EntryViolation& WithExpectedEvaluationOrder(ExpectedEvaluationOrderT&& value) { SetExpectedEvaluationOrder(std::forward<ExpectedEvaluationOrderT>(value)); return *this;}
72
74
78 inline const Aws::String& GetActualEvaluationOrder() const { return m_actualEvaluationOrder; }
79 inline bool ActualEvaluationOrderHasBeenSet() const { return m_actualEvaluationOrderHasBeenSet; }
80 template<typename ActualEvaluationOrderT = Aws::String>
81 void SetActualEvaluationOrder(ActualEvaluationOrderT&& value) { m_actualEvaluationOrderHasBeenSet = true; m_actualEvaluationOrder = std::forward<ActualEvaluationOrderT>(value); }
82 template<typename ActualEvaluationOrderT = Aws::String>
83 EntryViolation& WithActualEvaluationOrder(ActualEvaluationOrderT&& value) { SetActualEvaluationOrder(std::forward<ActualEvaluationOrderT>(value)); return *this;}
85
87
91 inline const EntryDescription& GetEntryAtExpectedEvaluationOrder() const { return m_entryAtExpectedEvaluationOrder; }
92 inline bool EntryAtExpectedEvaluationOrderHasBeenSet() const { return m_entryAtExpectedEvaluationOrderHasBeenSet; }
93 template<typename EntryAtExpectedEvaluationOrderT = EntryDescription>
94 void SetEntryAtExpectedEvaluationOrder(EntryAtExpectedEvaluationOrderT&& value) { m_entryAtExpectedEvaluationOrderHasBeenSet = true; m_entryAtExpectedEvaluationOrder = std::forward<EntryAtExpectedEvaluationOrderT>(value); }
95 template<typename EntryAtExpectedEvaluationOrderT = EntryDescription>
96 EntryViolation& WithEntryAtExpectedEvaluationOrder(EntryAtExpectedEvaluationOrderT&& value) { SetEntryAtExpectedEvaluationOrder(std::forward<EntryAtExpectedEvaluationOrderT>(value)); return *this;}
98
100
104 inline const Aws::Vector<EntryDescription>& GetEntriesWithConflicts() const { return m_entriesWithConflicts; }
105 inline bool EntriesWithConflictsHasBeenSet() const { return m_entriesWithConflictsHasBeenSet; }
106 template<typename EntriesWithConflictsT = Aws::Vector<EntryDescription>>
107 void SetEntriesWithConflicts(EntriesWithConflictsT&& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts = std::forward<EntriesWithConflictsT>(value); }
108 template<typename EntriesWithConflictsT = Aws::Vector<EntryDescription>>
109 EntryViolation& WithEntriesWithConflicts(EntriesWithConflictsT&& value) { SetEntriesWithConflicts(std::forward<EntriesWithConflictsT>(value)); return *this;}
110 template<typename EntriesWithConflictsT = EntryDescription>
111 EntryViolation& AddEntriesWithConflicts(EntriesWithConflictsT&& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts.emplace_back(std::forward<EntriesWithConflictsT>(value)); return *this; }
113
115
119 inline const Aws::Vector<EntryViolationReason>& GetEntryViolationReasons() const { return m_entryViolationReasons; }
120 inline bool EntryViolationReasonsHasBeenSet() const { return m_entryViolationReasonsHasBeenSet; }
121 template<typename EntryViolationReasonsT = Aws::Vector<EntryViolationReason>>
122 void SetEntryViolationReasons(EntryViolationReasonsT&& value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons = std::forward<EntryViolationReasonsT>(value); }
123 template<typename EntryViolationReasonsT = Aws::Vector<EntryViolationReason>>
124 EntryViolation& WithEntryViolationReasons(EntryViolationReasonsT&& value) { SetEntryViolationReasons(std::forward<EntryViolationReasonsT>(value)); return *this;}
125 inline EntryViolation& AddEntryViolationReasons(EntryViolationReason value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons.push_back(value); return *this; }
127 private:
128
129 EntryDescription m_expectedEntry;
130 bool m_expectedEntryHasBeenSet = false;
131
132 Aws::String m_expectedEvaluationOrder;
133 bool m_expectedEvaluationOrderHasBeenSet = false;
134
135 Aws::String m_actualEvaluationOrder;
136 bool m_actualEvaluationOrderHasBeenSet = false;
137
138 EntryDescription m_entryAtExpectedEvaluationOrder;
139 bool m_entryAtExpectedEvaluationOrderHasBeenSet = false;
140
141 Aws::Vector<EntryDescription> m_entriesWithConflicts;
142 bool m_entriesWithConflictsHasBeenSet = false;
143
144 Aws::Vector<EntryViolationReason> m_entryViolationReasons;
145 bool m_entryViolationReasonsHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace FMS
150} // namespace Aws
AWS_FMS_API EntryViolation()=default
void SetExpectedEntry(ExpectedEntryT &&value)
EntryViolation & WithExpectedEntry(ExpectedEntryT &&value)
EntryViolation & WithEntryAtExpectedEvaluationOrder(EntryAtExpectedEvaluationOrderT &&value)
bool EntryViolationReasonsHasBeenSet() const
void SetEntryAtExpectedEvaluationOrder(EntryAtExpectedEvaluationOrderT &&value)
const Aws::Vector< EntryDescription > & GetEntriesWithConflicts() const
EntryViolation & WithExpectedEvaluationOrder(ExpectedEvaluationOrderT &&value)
void SetExpectedEvaluationOrder(ExpectedEvaluationOrderT &&value)
bool ExpectedEvaluationOrderHasBeenSet() const
EntryViolation & WithEntryViolationReasons(EntryViolationReasonsT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActualEvaluationOrderHasBeenSet() const
const Aws::Vector< EntryViolationReason > & GetEntryViolationReasons() const
void SetEntriesWithConflicts(EntriesWithConflictsT &&value)
bool EntryAtExpectedEvaluationOrderHasBeenSet() const
bool ExpectedEntryHasBeenSet() const
AWS_FMS_API EntryViolation(Aws::Utils::Json::JsonView jsonValue)
const EntryDescription & GetExpectedEntry() const
void SetEntryViolationReasons(EntryViolationReasonsT &&value)
const Aws::String & GetActualEvaluationOrder() const
const EntryDescription & GetEntryAtExpectedEvaluationOrder() const
void SetActualEvaluationOrder(ActualEvaluationOrderT &&value)
EntryViolation & AddEntriesWithConflicts(EntriesWithConflictsT &&value)
const Aws::String & GetExpectedEvaluationOrder() const
EntryViolation & AddEntryViolationReasons(EntryViolationReason value)
EntryViolation & WithActualEvaluationOrder(ActualEvaluationOrderT &&value)
bool EntriesWithConflictsHasBeenSet() const
AWS_FMS_API EntryViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
EntryViolation & WithEntriesWithConflicts(EntriesWithConflictsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue