AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateIdNamespaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolutionRequest.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
12#include <aws/entityresolution/model/IdNamespaceInputSource.h>
13
14#include <utility>
15
16namespace Aws {
17namespace EntityResolution {
18namespace Model {
19
23 public:
24 AWS_ENTITYRESOLUTION_API UpdateIdNamespaceRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdNamespace"; }
31
32 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
39 inline bool IdNamespaceNameHasBeenSet() const { return m_idNamespaceNameHasBeenSet; }
40 template <typename IdNamespaceNameT = Aws::String>
41 void SetIdNamespaceName(IdNamespaceNameT&& value) {
42 m_idNamespaceNameHasBeenSet = true;
43 m_idNamespaceName = std::forward<IdNamespaceNameT>(value);
44 }
45 template <typename IdNamespaceNameT = Aws::String>
46 UpdateIdNamespaceRequest& WithIdNamespaceName(IdNamespaceNameT&& value) {
47 SetIdNamespaceName(std::forward<IdNamespaceNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
76 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
77 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
78 void SetInputSourceConfig(InputSourceConfigT&& value) {
79 m_inputSourceConfigHasBeenSet = true;
80 m_inputSourceConfig = std::forward<InputSourceConfigT>(value);
81 }
82 template <typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
83 UpdateIdNamespaceRequest& WithInputSourceConfig(InputSourceConfigT&& value) {
84 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
85 return *this;
86 }
87 template <typename InputSourceConfigT = IdNamespaceInputSource>
88 UpdateIdNamespaceRequest& AddInputSourceConfig(InputSourceConfigT&& value) {
89 m_inputSourceConfigHasBeenSet = true;
90 m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value));
91 return *this;
92 }
94
96
102 return m_idMappingWorkflowProperties;
103 }
104 inline bool IdMappingWorkflowPropertiesHasBeenSet() const { return m_idMappingWorkflowPropertiesHasBeenSet; }
105 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
106 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
107 m_idMappingWorkflowPropertiesHasBeenSet = true;
108 m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value);
109 }
110 template <typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
111 UpdateIdNamespaceRequest& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
112 SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value));
113 return *this;
114 }
115 template <typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
116 UpdateIdNamespaceRequest& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) {
117 m_idMappingWorkflowPropertiesHasBeenSet = true;
118 m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value));
119 return *this;
120 }
122
124
129 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
130 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
131 template <typename RoleArnT = Aws::String>
132 void SetRoleArn(RoleArnT&& value) {
133 m_roleArnHasBeenSet = true;
134 m_roleArn = std::forward<RoleArnT>(value);
135 }
136 template <typename RoleArnT = Aws::String>
138 SetRoleArn(std::forward<RoleArnT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_idNamespaceName;
144
145 Aws::String m_description;
146
147 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
148
149 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
150
151 Aws::String m_roleArn;
152 bool m_idNamespaceNameHasBeenSet = false;
153 bool m_descriptionHasBeenSet = false;
154 bool m_inputSourceConfigHasBeenSet = false;
155 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
156 bool m_roleArnHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace EntityResolution
161} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
const Aws::Vector< IdNamespaceInputSource > & GetInputSourceConfig() const
UpdateIdNamespaceRequest & WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
AWS_ENTITYRESOLUTION_API UpdateIdNamespaceRequest()=default
void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
UpdateIdNamespaceRequest & AddInputSourceConfig(InputSourceConfigT &&value)
const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > & GetIdMappingWorkflowProperties() const
UpdateIdNamespaceRequest & WithIdNamespaceName(IdNamespaceNameT &&value)
UpdateIdNamespaceRequest & WithInputSourceConfig(InputSourceConfigT &&value)
UpdateIdNamespaceRequest & WithRoleArn(RoleArnT &&value)
UpdateIdNamespaceRequest & AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
UpdateIdNamespaceRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector