AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DuplicateValueConflict.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudExtensions {
20namespace Model {
21
29 public:
30 AWS_CLOUDEXTENSIONS_API DuplicateValueConflict() = default;
31 AWS_CLOUDEXTENSIONS_API DuplicateValueConflict(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDEXTENSIONS_API DuplicateValueConflict& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetField() const { return m_field; }
40 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
41 template <typename FieldT = Aws::String>
42 void SetField(FieldT&& value) {
43 m_fieldHasBeenSet = true;
44 m_field = std::forward<FieldT>(value);
45 }
46 template <typename FieldT = Aws::String>
48 SetField(std::forward<FieldT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetValue() const { return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 template <typename ValueT = Aws::String>
60 void SetValue(ValueT&& value) {
61 m_valueHasBeenSet = true;
62 m_value = std::forward<ValueT>(value);
63 }
64 template <typename ValueT = Aws::String>
66 SetValue(std::forward<ValueT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetConflictsWith() const { return m_conflictsWith; }
76 inline bool ConflictsWithHasBeenSet() const { return m_conflictsWithHasBeenSet; }
77 template <typename ConflictsWithT = Aws::String>
78 void SetConflictsWith(ConflictsWithT&& value) {
79 m_conflictsWithHasBeenSet = true;
80 m_conflictsWith = std::forward<ConflictsWithT>(value);
81 }
82 template <typename ConflictsWithT = Aws::String>
83 DuplicateValueConflict& WithConflictsWith(ConflictsWithT&& value) {
84 SetConflictsWith(std::forward<ConflictsWithT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_field;
90
91 Aws::String m_value;
92
93 Aws::String m_conflictsWith;
94 bool m_fieldHasBeenSet = false;
95 bool m_valueHasBeenSet = false;
96 bool m_conflictsWithHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CloudExtensions
101} // namespace Aws
DuplicateValueConflict & WithConflictsWith(ConflictsWithT &&value)
DuplicateValueConflict & WithField(FieldT &&value)
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDEXTENSIONS_API DuplicateValueConflict & operator=(Aws::Utils::Json::JsonView jsonValue)
DuplicateValueConflict & WithValue(ValueT &&value)
AWS_CLOUDEXTENSIONS_API DuplicateValueConflict(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API DuplicateValueConflict()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue