AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIdNamespaceRequest.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/IdNamespaceType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/entityresolution/model/IdNamespaceInputSource.h>
14#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
15#include <utility>
16
17namespace Aws
18{
19namespace EntityResolution
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ENTITYRESOLUTION_API CreateIdNamespaceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateIdNamespace"; }
36
37 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetIdNamespaceName() const { return m_idNamespaceName; }
45 inline bool IdNamespaceNameHasBeenSet() const { return m_idNamespaceNameHasBeenSet; }
46 template<typename IdNamespaceNameT = Aws::String>
47 void SetIdNamespaceName(IdNamespaceNameT&& value) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName = std::forward<IdNamespaceNameT>(value); }
48 template<typename IdNamespaceNameT = Aws::String>
49 CreateIdNamespaceRequest& WithIdNamespaceName(IdNamespaceNameT&& value) { SetIdNamespaceName(std::forward<IdNamespaceNameT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 CreateIdNamespaceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
69 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
70 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
71 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
72 void SetInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::forward<InputSourceConfigT>(value); }
73 template<typename InputSourceConfigT = Aws::Vector<IdNamespaceInputSource>>
74 CreateIdNamespaceRequest& WithInputSourceConfig(InputSourceConfigT&& value) { SetInputSourceConfig(std::forward<InputSourceConfigT>(value)); return *this;}
75 template<typename InputSourceConfigT = IdNamespaceInputSource>
76 CreateIdNamespaceRequest& AddInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value)); return *this; }
78
80
85 inline const Aws::Vector<IdNamespaceIdMappingWorkflowProperties>& GetIdMappingWorkflowProperties() const { return m_idMappingWorkflowProperties; }
86 inline bool IdMappingWorkflowPropertiesHasBeenSet() const { return m_idMappingWorkflowPropertiesHasBeenSet; }
87 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
88 void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties = std::forward<IdMappingWorkflowPropertiesT>(value); }
89 template<typename IdMappingWorkflowPropertiesT = Aws::Vector<IdNamespaceIdMappingWorkflowProperties>>
90 CreateIdNamespaceRequest& WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { SetIdMappingWorkflowProperties(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this;}
91 template<typename IdMappingWorkflowPropertiesT = IdNamespaceIdMappingWorkflowProperties>
92 CreateIdNamespaceRequest& AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties.emplace_back(std::forward<IdMappingWorkflowPropertiesT>(value)); return *this; }
94
96
103 inline IdNamespaceType GetType() const { return m_type; }
104 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
105 inline void SetType(IdNamespaceType value) { m_typeHasBeenSet = true; m_type = value; }
106 inline CreateIdNamespaceRequest& WithType(IdNamespaceType value) { SetType(value); return *this;}
108
110
115 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
116 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
117 template<typename RoleArnT = Aws::String>
118 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
119 template<typename RoleArnT = Aws::String>
120 CreateIdNamespaceRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
131 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 CreateIdNamespaceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
133 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
134 CreateIdNamespaceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
135 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
136 }
138 private:
139
140 Aws::String m_idNamespaceName;
141 bool m_idNamespaceNameHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
147 bool m_inputSourceConfigHasBeenSet = false;
148
149 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
150 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
151
153 bool m_typeHasBeenSet = false;
154
155 Aws::String m_roleArn;
156 bool m_roleArnHasBeenSet = false;
157
159 bool m_tagsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace EntityResolution
164} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIdNamespaceRequest & WithInputSourceConfig(InputSourceConfigT &&value)
CreateIdNamespaceRequest & WithType(IdNamespaceType value)
const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > & GetIdMappingWorkflowProperties() const
CreateIdNamespaceRequest & WithIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
CreateIdNamespaceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIdNamespaceRequest & WithIdNamespaceName(IdNamespaceNameT &&value)
void SetIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
CreateIdNamespaceRequest & AddInputSourceConfig(InputSourceConfigT &&value)
AWS_ENTITYRESOLUTION_API CreateIdNamespaceRequest()=default
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
CreateIdNamespaceRequest & AddIdMappingWorkflowProperties(IdMappingWorkflowPropertiesT &&value)
CreateIdNamespaceRequest & WithDescription(DescriptionT &&value)
CreateIdNamespaceRequest & WithRoleArn(RoleArnT &&value)
const Aws::Vector< IdNamespaceInputSource > & GetInputSourceConfig() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector