7#include <aws/agent-registry-control/AgentRegistryControlRequest.h>
8#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
9#include <aws/agent-registry-control/model/ApprovalConfiguration.h>
10#include <aws/agent-registry-control/model/AutoDetectionConfiguration.h>
11#include <aws/agent-registry-control/model/CustomMetadataSchemaConfiguration.h>
12#include <aws/agent-registry-control/model/DiscoveryConfiguration.h>
13#include <aws/agent-registry-control/model/EncryptionConfiguration.h>
14#include <aws/core/utils/UUID.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AgentRegistryControl {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
87 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
89 m_encryptionConfigurationHasBeenSet =
true;
90 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
92 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
105 template <
typename DiscoveryConfigurationT = DiscoveryConfiguration>
107 m_discoveryConfigurationHasBeenSet =
true;
108 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
110 template <
typename DiscoveryConfigurationT = DiscoveryConfiguration>
125 template <
typename ClientTokenT = Aws::String>
127 m_clientTokenHasBeenSet =
true;
128 m_clientToken = std::forward<ClientTokenT>(value);
130 template <
typename ClientTokenT = Aws::String>
143 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 m_tagsHasBeenSet =
true;
146 m_tags = std::forward<TagsT>(value);
148 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 SetTags(std::forward<TagsT>(value));
153 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
155 m_tagsHasBeenSet =
true;
156 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 template <
typename ApprovalConfigurationT = ApprovalConfiguration>
169 m_approvalConfigurationHasBeenSet =
true;
170 m_approvalConfiguration = std::forward<ApprovalConfigurationT>(value);
172 template <
typename ApprovalConfigurationT = ApprovalConfiguration>
186 return m_customMetadataSchemaConfiguration;
189 template <
typename CustomMetadataSchemaConfigurationT = CustomMetadataSchemaConfiguration>
191 m_customMetadataSchemaConfigurationHasBeenSet =
true;
192 m_customMetadataSchemaConfiguration = std::forward<CustomMetadataSchemaConfigurationT>(value);
194 template <
typename CustomMetadataSchemaConfigurationT = CustomMetadataSchemaConfiguration>
210 template <
typename AutoDetectionConfigurationT = AutoDetectionConfiguration>
212 m_autoDetectionConfigurationHasBeenSet =
true;
213 m_autoDetectionConfiguration = std::forward<AutoDetectionConfigurationT>(value);
215 template <
typename AutoDetectionConfigurationT = AutoDetectionConfiguration>
234 ApprovalConfiguration m_approvalConfiguration;
236 CustomMetadataSchemaConfiguration m_customMetadataSchemaConfiguration;
238 AutoDetectionConfiguration m_autoDetectionConfiguration;
239 bool m_nameHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
241 bool m_encryptionConfigurationHasBeenSet =
false;
242 bool m_discoveryConfigurationHasBeenSet =
false;
243 bool m_clientTokenHasBeenSet =
true;
244 bool m_tagsHasBeenSet =
false;
245 bool m_approvalConfigurationHasBeenSet =
false;
246 bool m_customMetadataSchemaConfigurationHasBeenSet =
false;
247 bool m_autoDetectionConfigurationHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
bool EncryptionConfigurationHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const AutoDetectionConfiguration & GetAutoDetectionConfiguration() const
CreateRegistryRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetClientToken() const
AWS_AGENTREGISTRYCONTROL_API CreateRegistryRequest()=default
CreateRegistryRequest & WithDescription(DescriptionT &&value)
const CustomMetadataSchemaConfiguration & GetCustomMetadataSchemaConfiguration() const
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
bool DescriptionHasBeenSet() const
bool DiscoveryConfigurationHasBeenSet() const
CreateRegistryRequest & WithAutoDetectionConfiguration(AutoDetectionConfigurationT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
void SetName(NameT &&value)
CreateRegistryRequest & WithTags(TagsT &&value)
bool CustomMetadataSchemaConfigurationHasBeenSet() const
void SetApprovalConfiguration(ApprovalConfigurationT &&value)
void SetCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
bool ApprovalConfigurationHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateRegistryRequest & WithApprovalConfiguration(ApprovalConfigurationT &&value)
CreateRegistryRequest & WithCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
const DiscoveryConfiguration & GetDiscoveryConfiguration() const
const Aws::String & GetName() const
const ApprovalConfiguration & GetApprovalConfiguration() const
CreateRegistryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRegistryRequest & WithName(NameT &&value)
CreateRegistryRequest & WithClientToken(ClientTokenT &&value)
bool AutoDetectionConfigurationHasBeenSet() const
void SetDiscoveryConfiguration(DiscoveryConfigurationT &&value)
void SetAutoDetectionConfiguration(AutoDetectionConfigurationT &&value)
CreateRegistryRequest & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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