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/DiscoveryConfiguration.h>
12#include <aws/agent-registry-control/model/EncryptionConfiguration.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AgentRegistryControl {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
86 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
88 m_encryptionConfigurationHasBeenSet =
true;
89 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
91 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
104 template <
typename DiscoveryConfigurationT = DiscoveryConfiguration>
106 m_discoveryConfigurationHasBeenSet =
true;
107 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
109 template <
typename DiscoveryConfigurationT = DiscoveryConfiguration>
124 template <
typename ClientTokenT = Aws::String>
126 m_clientTokenHasBeenSet =
true;
127 m_clientToken = std::forward<ClientTokenT>(value);
129 template <
typename ClientTokenT = Aws::String>
142 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 m_tagsHasBeenSet =
true;
145 m_tags = std::forward<TagsT>(value);
147 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 SetTags(std::forward<TagsT>(value));
152 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
154 m_tagsHasBeenSet =
true;
155 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
166 template <
typename ApprovalConfigurationT = ApprovalConfiguration>
168 m_approvalConfigurationHasBeenSet =
true;
169 m_approvalConfiguration = std::forward<ApprovalConfigurationT>(value);
171 template <
typename ApprovalConfigurationT = ApprovalConfiguration>
187 template <
typename AutoDetectionConfigurationT = AutoDetectionConfiguration>
189 m_autoDetectionConfigurationHasBeenSet =
true;
190 m_autoDetectionConfiguration = std::forward<AutoDetectionConfigurationT>(value);
192 template <
typename AutoDetectionConfigurationT = AutoDetectionConfiguration>
211 ApprovalConfiguration m_approvalConfiguration;
213 AutoDetectionConfiguration m_autoDetectionConfiguration;
214 bool m_nameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
216 bool m_encryptionConfigurationHasBeenSet =
false;
217 bool m_discoveryConfigurationHasBeenSet =
false;
218 bool m_clientTokenHasBeenSet =
true;
219 bool m_tagsHasBeenSet =
false;
220 bool m_approvalConfigurationHasBeenSet =
false;
221 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)
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)
void SetApprovalConfiguration(ApprovalConfigurationT &&value)
bool ApprovalConfigurationHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateRegistryRequest & WithApprovalConfiguration(ApprovalConfigurationT &&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