AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
IdNamespaceSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowMetadata.h>
12#include <aws/entityresolution/model/IdNamespaceType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EntityResolution {
24namespace Model {
25
32 public:
33 AWS_ENTITYRESOLUTION_API IdNamespaceSummary() = default;
34 AWS_ENTITYRESOLUTION_API IdNamespaceSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENTITYRESOLUTION_API IdNamespaceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
43 inline bool IdNamespaceNameHasBeenSet() const { return m_idNamespaceNameHasBeenSet; }
44 template <typename IdNamespaceNameT = Aws::String>
45 void SetIdNamespaceName(IdNamespaceNameT&& value) {
46 m_idNamespaceNameHasBeenSet = true;
47 m_idNamespaceName = std::forward<IdNamespaceNameT>(value);
48 }
49 template <typename IdNamespaceNameT = Aws::String>
50 IdNamespaceSummary& WithIdNamespaceName(IdNamespaceNameT&& value) {
51 SetIdNamespaceName(std::forward<IdNamespaceNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetIdNamespaceArn() const { return m_idNamespaceArn; }
61 inline bool IdNamespaceArnHasBeenSet() const { return m_idNamespaceArnHasBeenSet; }
62 template <typename IdNamespaceArnT = Aws::String>
63 void SetIdNamespaceArn(IdNamespaceArnT&& value) {
64 m_idNamespaceArnHasBeenSet = true;
65 m_idNamespaceArn = std::forward<IdNamespaceArnT>(value);
66 }
67 template <typename IdNamespaceArnT = Aws::String>
68 IdNamespaceSummary& WithIdNamespaceArn(IdNamespaceArnT&& value) {
69 SetIdNamespaceArn(std::forward<IdNamespaceArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
86 IdNamespaceSummary& WithDescription(DescriptionT&& value) {
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
98 return m_idMappingWorkflowProperties;
99 }
100 inline bool IdMappingWorkflowPropertiesHasBeenSet() const { return m_idMappingWorkflowPropertiesHasBeenSet; }
101 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowMetadata>>
102 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
103 m_idMappingWorkflowPropertiesHasBeenSet = true;
104 m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value);
105 }
106 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowMetadata>>
107 IdNamespaceSummary& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
108 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
109 return *this;
110 }
111 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowMetadata>
112 IdNamespaceSummary& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
113 m_idMappingWorkflowPropertiesHasBeenSet = true;
114 m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value));
115 return *this;
116 }
118
120
127 inline IdNamespaceType GetType() const { return m_type; }
128 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
129 inline void SetType(IdNamespaceType value) {
130 m_typeHasBeenSet = true;
131 m_type = value;
132 }
134 SetType(value);
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
144 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
145 template <typename CreatedAtT = Aws::Utils::DateTime>
146 void SetCreatedAt(CreatedAtT&& value) {
147 m_createdAtHasBeenSet = true;
148 m_createdAt = std::forward<CreatedAtT>(value);
149 }
150 template <typename CreatedAtT = Aws::Utils::DateTime>
151 IdNamespaceSummary& WithCreatedAt(CreatedAtT&& value) {
152 SetCreatedAt(std::forward<CreatedAtT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
162 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
163 template <typename UpdatedAtT = Aws::Utils::DateTime>
164 void SetUpdatedAt(UpdatedAtT&& value) {
165 m_updatedAtHasBeenSet = true;
166 m_updatedAt = std::forward<UpdatedAtT>(value);
167 }
168 template <typename UpdatedAtT = Aws::Utils::DateTime>
169 IdNamespaceSummary& WithUpdatedAt(UpdatedAtT&& value) {
170 SetUpdatedAt(std::forward<UpdatedAtT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_idNamespaceName;
176
177 Aws::String m_idNamespaceArn;
178
179 Aws::String m_description;
180
181 Aws::Vector<IdNamespaceIdMappingWorkflowMetadata> m_idMappingWorkflowProperties;
182
184
185 Aws::Utils::DateTime m_createdAt{};
186
187 Aws::Utils::DateTime m_updatedAt{};
188 bool m_idNamespaceNameHasBeenSet = false;
189 bool m_idNamespaceArnHasBeenSet = false;
190 bool m_descriptionHasBeenSet = false;
191 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
192 bool m_typeHasBeenSet = false;
193 bool m_createdAtHasBeenSet = false;
194 bool m_updatedAtHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace EntityResolution
199} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
IdNamespaceSummary & WithType(IdNamespaceType value)
IdNamespaceSummary & WithDescription(DescriptionT &&value)
AWS_ENTITYRESOLUTION_API IdNamespaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IdNamespaceSummary & WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
IdNamespaceSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< IdNamespaceIdMappingWorkflowMetadata > & GetIdMappingWorkflowProperties() const
AWS_ENTITYRESOLUTION_API IdNamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
IdNamespaceSummary & WithIdNamespaceName(IdNamespaceNameT &&value)
AWS_ENTITYRESOLUTION_API IdNamespaceSummary()=default
IdNamespaceSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
IdNamespaceSummary & WithIdNamespaceArn(IdNamespaceArnT &&value)
IdNamespaceSummary & AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&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