AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/memory/stl/AWSMap.h>
12#include <aws/entityresolution/model/IdNamespaceType.h>
13#include <aws/entityresolution/model/IdNamespaceIdMappingWorkflowProperties.h>
14#include <aws/entityresolution/model/IdNamespaceInputSource.h>
15#include <utility>
16
17namespace Aws
18{
19namespace EntityResolution
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ENTITYRESOLUTION_API CreateIdNamespaceRequest();
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& GetDescription() const{ return m_description; }
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
47 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
48 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
49 inline CreateIdNamespaceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
50 inline CreateIdNamespaceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
51 inline CreateIdNamespaceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
53
55
60 inline const Aws::Vector<IdNamespaceIdMappingWorkflowProperties>& GetIdMappingWorkflowProperties() const{ return m_idMappingWorkflowProperties; }
61 inline bool IdMappingWorkflowPropertiesHasBeenSet() const { return m_idMappingWorkflowPropertiesHasBeenSet; }
62 inline void SetIdMappingWorkflowProperties(const Aws::Vector<IdNamespaceIdMappingWorkflowProperties>& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties = value; }
63 inline void SetIdMappingWorkflowProperties(Aws::Vector<IdNamespaceIdMappingWorkflowProperties>&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties = std::move(value); }
66 inline CreateIdNamespaceRequest& AddIdMappingWorkflowProperties(const IdNamespaceIdMappingWorkflowProperties& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties.push_back(value); return *this; }
67 inline CreateIdNamespaceRequest& AddIdMappingWorkflowProperties(IdNamespaceIdMappingWorkflowProperties&& value) { m_idMappingWorkflowPropertiesHasBeenSet = true; m_idMappingWorkflowProperties.push_back(std::move(value)); return *this; }
69
71
74 inline const Aws::String& GetIdNamespaceName() const{ return m_idNamespaceName; }
75 inline bool IdNamespaceNameHasBeenSet() const { return m_idNamespaceNameHasBeenSet; }
76 inline void SetIdNamespaceName(const Aws::String& value) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName = value; }
77 inline void SetIdNamespaceName(Aws::String&& value) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName = std::move(value); }
78 inline void SetIdNamespaceName(const char* value) { m_idNamespaceNameHasBeenSet = true; m_idNamespaceName.assign(value); }
79 inline CreateIdNamespaceRequest& WithIdNamespaceName(const Aws::String& value) { SetIdNamespaceName(value); return *this;}
80 inline CreateIdNamespaceRequest& WithIdNamespaceName(Aws::String&& value) { SetIdNamespaceName(std::move(value)); return *this;}
81 inline CreateIdNamespaceRequest& WithIdNamespaceName(const char* value) { SetIdNamespaceName(value); return *this;}
83
85
89 inline const Aws::Vector<IdNamespaceInputSource>& GetInputSourceConfig() const{ return m_inputSourceConfig; }
90 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
91 inline void SetInputSourceConfig(const Aws::Vector<IdNamespaceInputSource>& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = value; }
92 inline void SetInputSourceConfig(Aws::Vector<IdNamespaceInputSource>&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::move(value); }
95 inline CreateIdNamespaceRequest& AddInputSourceConfig(const IdNamespaceInputSource& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.push_back(value); return *this; }
96 inline CreateIdNamespaceRequest& AddInputSourceConfig(IdNamespaceInputSource&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.push_back(std::move(value)); return *this; }
98
100
105 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
106 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
107 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
108 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
109 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
110 inline CreateIdNamespaceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
111 inline CreateIdNamespaceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
112 inline CreateIdNamespaceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
114
116
119 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
120 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
122 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
124 inline CreateIdNamespaceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
125 inline CreateIdNamespaceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
126 inline CreateIdNamespaceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline CreateIdNamespaceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
128 inline CreateIdNamespaceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
129 inline CreateIdNamespaceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
130 inline CreateIdNamespaceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
131 inline CreateIdNamespaceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
133
135
142 inline const IdNamespaceType& GetType() const{ return m_type; }
143 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
144 inline void SetType(const IdNamespaceType& value) { m_typeHasBeenSet = true; m_type = value; }
145 inline void SetType(IdNamespaceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
146 inline CreateIdNamespaceRequest& WithType(const IdNamespaceType& value) { SetType(value); return *this;}
147 inline CreateIdNamespaceRequest& WithType(IdNamespaceType&& value) { SetType(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::Vector<IdNamespaceIdMappingWorkflowProperties> m_idMappingWorkflowProperties;
155 bool m_idMappingWorkflowPropertiesHasBeenSet = false;
156
157 Aws::String m_idNamespaceName;
158 bool m_idNamespaceNameHasBeenSet = false;
159
160 Aws::Vector<IdNamespaceInputSource> m_inputSourceConfig;
161 bool m_inputSourceConfigHasBeenSet = false;
162
163 Aws::String m_roleArn;
164 bool m_roleArnHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168
169 IdNamespaceType m_type;
170 bool m_typeHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace EntityResolution
175} // namespace Aws
CreateIdNamespaceRequest & WithInputSourceConfig(const Aws::Vector< IdNamespaceInputSource > &value)
CreateIdNamespaceRequest & WithIdNamespaceName(const char *value)
CreateIdNamespaceRequest & WithType(IdNamespaceType &&value)
CreateIdNamespaceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdNamespaceRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIdNamespaceRequest & WithIdMappingWorkflowProperties(Aws::Vector< IdNamespaceIdMappingWorkflowProperties > &&value)
CreateIdNamespaceRequest & WithRoleArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdNamespaceRequest & WithType(const IdNamespaceType &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIdNamespaceRequest & AddTags(const char *key, Aws::String &&value)
CreateIdNamespaceRequest & WithIdNamespaceName(Aws::String &&value)
CreateIdNamespaceRequest & WithIdNamespaceName(const Aws::String &value)
CreateIdNamespaceRequest & WithDescription(const Aws::String &value)
CreateIdNamespaceRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIdNamespaceRequest & WithDescription(const char *value)
void SetIdMappingWorkflowProperties(const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > &value)
CreateIdNamespaceRequest & WithIdMappingWorkflowProperties(const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > &value)
CreateIdNamespaceRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetIdMappingWorkflowProperties(Aws::Vector< IdNamespaceIdMappingWorkflowProperties > &&value)
void SetInputSourceConfig(const Aws::Vector< IdNamespaceInputSource > &value)
const Aws::Vector< IdNamespaceIdMappingWorkflowProperties > & GetIdMappingWorkflowProperties() const
CreateIdNamespaceRequest & WithRoleArn(const char *value)
CreateIdNamespaceRequest & AddInputSourceConfig(const IdNamespaceInputSource &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
CreateIdNamespaceRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateIdNamespaceRequest & AddIdMappingWorkflowProperties(const IdNamespaceIdMappingWorkflowProperties &value)
CreateIdNamespaceRequest & AddTags(const char *key, const char *value)
CreateIdNamespaceRequest & WithRoleArn(Aws::String &&value)
CreateIdNamespaceRequest & AddTags(Aws::String &&key, const char *value)
CreateIdNamespaceRequest & AddInputSourceConfig(IdNamespaceInputSource &&value)
CreateIdNamespaceRequest & WithInputSourceConfig(Aws::Vector< IdNamespaceInputSource > &&value)
void SetInputSourceConfig(Aws::Vector< IdNamespaceInputSource > &&value)
CreateIdNamespaceRequest & WithDescription(Aws::String &&value)
CreateIdNamespaceRequest & AddIdMappingWorkflowProperties(IdNamespaceIdMappingWorkflowProperties &&value)
CreateIdNamespaceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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