AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44
45
47
51 inline const EntryDescription& GetExpectedEntry() const{ return m_expectedEntry; }
52 inline bool ExpectedEntryHasBeenSet() const { return m_expectedEntryHasBeenSet; }
53 inline void SetExpectedEntry(const EntryDescription& value) { m_expectedEntryHasBeenSet = true; m_expectedEntry = value; }
54 inline void SetExpectedEntry(EntryDescription&& value) { m_expectedEntryHasBeenSet = true; m_expectedEntry = std::move(value); }
55 inline EntryViolation& WithExpectedEntry(const EntryDescription& value) { SetExpectedEntry(value); return *this;}
56 inline EntryViolation& WithExpectedEntry(EntryDescription&& value) { SetExpectedEntry(std::move(value)); return *this;}
58
60
65 inline const Aws::String& GetExpectedEvaluationOrder() const{ return m_expectedEvaluationOrder; }
66 inline bool ExpectedEvaluationOrderHasBeenSet() const { return m_expectedEvaluationOrderHasBeenSet; }
67 inline void SetExpectedEvaluationOrder(const Aws::String& value) { m_expectedEvaluationOrderHasBeenSet = true; m_expectedEvaluationOrder = value; }
68 inline void SetExpectedEvaluationOrder(Aws::String&& value) { m_expectedEvaluationOrderHasBeenSet = true; m_expectedEvaluationOrder = std::move(value); }
69 inline void SetExpectedEvaluationOrder(const char* value) { m_expectedEvaluationOrderHasBeenSet = true; m_expectedEvaluationOrder.assign(value); }
71 inline EntryViolation& WithExpectedEvaluationOrder(Aws::String&& value) { SetExpectedEvaluationOrder(std::move(value)); return *this;}
72 inline EntryViolation& WithExpectedEvaluationOrder(const char* value) { SetExpectedEvaluationOrder(value); return *this;}
74
76
80 inline const Aws::String& GetActualEvaluationOrder() const{ return m_actualEvaluationOrder; }
81 inline bool ActualEvaluationOrderHasBeenSet() const { return m_actualEvaluationOrderHasBeenSet; }
82 inline void SetActualEvaluationOrder(const Aws::String& value) { m_actualEvaluationOrderHasBeenSet = true; m_actualEvaluationOrder = value; }
83 inline void SetActualEvaluationOrder(Aws::String&& value) { m_actualEvaluationOrderHasBeenSet = true; m_actualEvaluationOrder = std::move(value); }
84 inline void SetActualEvaluationOrder(const char* value) { m_actualEvaluationOrderHasBeenSet = true; m_actualEvaluationOrder.assign(value); }
86 inline EntryViolation& WithActualEvaluationOrder(Aws::String&& value) { SetActualEvaluationOrder(std::move(value)); return *this;}
87 inline EntryViolation& WithActualEvaluationOrder(const char* value) { SetActualEvaluationOrder(value); return *this;}
89
91
95 inline const EntryDescription& GetEntryAtExpectedEvaluationOrder() const{ return m_entryAtExpectedEvaluationOrder; }
96 inline bool EntryAtExpectedEvaluationOrderHasBeenSet() const { return m_entryAtExpectedEvaluationOrderHasBeenSet; }
97 inline void SetEntryAtExpectedEvaluationOrder(const EntryDescription& value) { m_entryAtExpectedEvaluationOrderHasBeenSet = true; m_entryAtExpectedEvaluationOrder = value; }
98 inline void SetEntryAtExpectedEvaluationOrder(EntryDescription&& value) { m_entryAtExpectedEvaluationOrderHasBeenSet = true; m_entryAtExpectedEvaluationOrder = std::move(value); }
102
104
108 inline const Aws::Vector<EntryDescription>& GetEntriesWithConflicts() const{ return m_entriesWithConflicts; }
109 inline bool EntriesWithConflictsHasBeenSet() const { return m_entriesWithConflictsHasBeenSet; }
110 inline void SetEntriesWithConflicts(const Aws::Vector<EntryDescription>& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts = value; }
111 inline void SetEntriesWithConflicts(Aws::Vector<EntryDescription>&& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts = std::move(value); }
114 inline EntryViolation& AddEntriesWithConflicts(const EntryDescription& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts.push_back(value); return *this; }
115 inline EntryViolation& AddEntriesWithConflicts(EntryDescription&& value) { m_entriesWithConflictsHasBeenSet = true; m_entriesWithConflicts.push_back(std::move(value)); return *this; }
117
119
123 inline const Aws::Vector<EntryViolationReason>& GetEntryViolationReasons() const{ return m_entryViolationReasons; }
124 inline bool EntryViolationReasonsHasBeenSet() const { return m_entryViolationReasonsHasBeenSet; }
125 inline void SetEntryViolationReasons(const Aws::Vector<EntryViolationReason>& value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons = value; }
126 inline void SetEntryViolationReasons(Aws::Vector<EntryViolationReason>&& value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons = std::move(value); }
129 inline EntryViolation& AddEntryViolationReasons(const EntryViolationReason& value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons.push_back(value); return *this; }
130 inline EntryViolation& AddEntryViolationReasons(EntryViolationReason&& value) { m_entryViolationReasonsHasBeenSet = true; m_entryViolationReasons.push_back(std::move(value)); return *this; }
132 private:
133
134 EntryDescription m_expectedEntry;
135 bool m_expectedEntryHasBeenSet = false;
136
137 Aws::String m_expectedEvaluationOrder;
138 bool m_expectedEvaluationOrderHasBeenSet = false;
139
140 Aws::String m_actualEvaluationOrder;
141 bool m_actualEvaluationOrderHasBeenSet = false;
142
143 EntryDescription m_entryAtExpectedEvaluationOrder;
144 bool m_entryAtExpectedEvaluationOrderHasBeenSet = false;
145
146 Aws::Vector<EntryDescription> m_entriesWithConflicts;
147 bool m_entriesWithConflictsHasBeenSet = false;
148
149 Aws::Vector<EntryViolationReason> m_entryViolationReasons;
150 bool m_entryViolationReasonsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace FMS
155} // namespace Aws
EntryViolation & WithActualEvaluationOrder(Aws::String &&value)
EntryViolation & WithActualEvaluationOrder(const char *value)
void SetEntryAtExpectedEvaluationOrder(EntryDescription &&value)
void SetActualEvaluationOrder(const char *value)
bool EntryViolationReasonsHasBeenSet() const
void SetActualEvaluationOrder(Aws::String &&value)
void SetEntryViolationReasons(Aws::Vector< EntryViolationReason > &&value)
EntryViolation & WithEntriesWithConflicts(const Aws::Vector< EntryDescription > &value)
EntryViolation & WithEntryAtExpectedEvaluationOrder(const EntryDescription &value)
const Aws::Vector< EntryDescription > & GetEntriesWithConflicts() const
EntryViolation & AddEntriesWithConflicts(const EntryDescription &value)
EntryViolation & WithExpectedEvaluationOrder(Aws::String &&value)
EntryViolation & WithEntryAtExpectedEvaluationOrder(EntryDescription &&value)
void SetActualEvaluationOrder(const Aws::String &value)
EntryViolation & WithActualEvaluationOrder(const Aws::String &value)
EntryViolation & WithExpectedEvaluationOrder(const char *value)
void SetExpectedEntry(EntryDescription &&value)
bool ExpectedEvaluationOrderHasBeenSet() const
EntryViolation & WithEntriesWithConflicts(Aws::Vector< EntryDescription > &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActualEvaluationOrderHasBeenSet() const
void SetExpectedEvaluationOrder(Aws::String &&value)
EntryViolation & AddEntriesWithConflicts(EntryDescription &&value)
AWS_FMS_API EntryViolation()
void SetEntryViolationReasons(const Aws::Vector< EntryViolationReason > &value)
const Aws::Vector< EntryViolationReason > & GetEntryViolationReasons() const
void SetEntryAtExpectedEvaluationOrder(const EntryDescription &value)
bool EntryAtExpectedEvaluationOrderHasBeenSet() const
EntryViolation & WithExpectedEvaluationOrder(const Aws::String &value)
bool ExpectedEntryHasBeenSet() const
EntryViolation & WithEntryViolationReasons(Aws::Vector< EntryViolationReason > &&value)
AWS_FMS_API EntryViolation(Aws::Utils::Json::JsonView jsonValue)
EntryViolation & AddEntryViolationReasons(EntryViolationReason &&value)
void SetExpectedEvaluationOrder(const Aws::String &value)
EntryViolation & AddEntryViolationReasons(const EntryViolationReason &value)
void SetExpectedEvaluationOrder(const char *value)
void SetEntriesWithConflicts(const Aws::Vector< EntryDescription > &value)
EntryViolation & WithExpectedEntry(EntryDescription &&value)
const EntryDescription & GetExpectedEntry() const
const Aws::String & GetActualEvaluationOrder() const
const EntryDescription & GetEntryAtExpectedEvaluationOrder() const
void SetExpectedEntry(const EntryDescription &value)
const Aws::String & GetExpectedEvaluationOrder() const
void SetEntriesWithConflicts(Aws::Vector< EntryDescription > &&value)
EntryViolation & WithEntryViolationReasons(const Aws::Vector< EntryViolationReason > &value)
bool EntriesWithConflictsHasBeenSet() const
AWS_FMS_API EntryViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
EntryViolation & WithExpectedEntry(const EntryDescription &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