AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIdNamespaceRequest.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/EntityResolutionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/entityresolution/model/IdNamespaceInputSource.h>
12#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace EntityResolution
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_ENTITYRESOLUTION_API UpdateIdNamespaceRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateIdNamespace"; }
34
35 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
36
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) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName = std::forward<IdNamespaceNameT>(value); }
46 template<typename IdNamespaceNameT = Aws::String>
47 UpdateIdNamespaceRequest& WithIdNamespaceName(IdNamespaceNameT&& value) { SetIdNamespaceName(std::forward<IdNamespaceNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateIdNamespaceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
67 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
68 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
69 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
70 void SetInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::forward<InputSourceConfigT>(value); }
71 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
72 UpdateIdNamespaceRequest& WithInputSourceConfig(InputSourceConfigT&& value) { SetInputSourceConfig(std::forward<InputSourceConfigT>(value)); return *this;}
73 template<typename InputSourceConfigT = IdNamespaceInputSource>
74 UpdateIdNamespaceRequest& AddInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value)); return *this; }
76
78
83 inline const Aws::Vector<IdNamespaceIdMappingWorkflowProperties>& GetIdMappingWorkflowProperties() const { return m_idMappingWorkflowProperties; }
84 inline bool IdMappingWorkflowPropertiesHasBeenSet() const { return m_idMappingWorkflowPropertiesHasBeenSet; }
85 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
86 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value); }
87 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
88 UpdateIdNamespaceRequest& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this;}
89 template<typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
90 UpdateIdNamespaceRequest& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this; }
92
94
99 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
100 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
101 template<typename RoleArnT = Aws::String>
102 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
103 template<typename RoleArnT = Aws::String>
104 UpdateIdNamespaceRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
106 private:
107
108 Aws::String m_idNamespaceName;
109 bool m_idNamespaceNameHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
115 bool m_inputSourceConfigHasBeenSet = false;
116
117 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
118 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
119
120 Aws::String m_roleArn;
121 bool m_roleArnHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace EntityResolution
126} // 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