7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/inspector2/Inspector2_EXPORTS.h>
12#include <aws/inspector2/model/AzureScopeConfiguration.h>
13#include <aws/inspector2/model/ConnectorCloudProvider.h>
14#include <aws/inspector2/model/ConnectorHealth.h>
15#include <aws/inspector2/model/EnablementStatus.h>
48 template <
typename ConnectorArnT = Aws::String>
50 m_connectorArnHasBeenSet =
true;
51 m_connectorArn = std::forward<ConnectorArnT>(value);
53 template <
typename ConnectorArnT = Aws::String>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename DescriptionT = Aws::String>
86 m_descriptionHasBeenSet =
true;
87 m_description = std::forward<DescriptionT>(value);
89 template <
typename DescriptionT = Aws::String>
103 m_providerHasBeenSet =
true;
120 m_enablementStatusHasBeenSet =
true;
121 m_enablementStatus = value;
136 template <
typename EnablementStatusReasonT = Aws::String>
138 m_enablementStatusReasonHasBeenSet =
true;
139 m_enablementStatusReason = std::forward<EnablementStatusReasonT>(value);
141 template <
typename EnablementStatusReasonT = Aws::String>
155 template <
typename HealthT = ConnectorHealth>
157 m_healthHasBeenSet =
true;
158 m_health = std::forward<HealthT>(value);
160 template <
typename HealthT = ConnectorHealth>
173 template <
typename CreatedAtT = Aws::Utils::DateTime>
175 m_createdAtHasBeenSet =
true;
176 m_createdAt = std::forward<CreatedAtT>(value);
178 template <
typename CreatedAtT = Aws::Utils::DateTime>
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
193 m_updatedAtHasBeenSet =
true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
196 template <
typename UpdatedAtT = Aws::Utils::DateTime>
209 template <
typename AzureRegionsT = Aws::Vector<Aws::String>>
211 m_azureRegionsHasBeenSet =
true;
212 m_azureRegions = std::forward<AzureRegionsT>(value);
214 template <
typename AzureRegionsT = Aws::Vector<Aws::String>>
219 template <
typename AzureRegionsT = Aws::String>
221 m_azureRegionsHasBeenSet =
true;
222 m_azureRegions.emplace_back(std::forward<AzureRegionsT>(value));
234 template <
typename AwsConfigConnectorArnT = Aws::String>
236 m_awsConfigConnectorArnHasBeenSet =
true;
237 m_awsConfigConnectorArn = std::forward<AwsConfigConnectorArnT>(value);
239 template <
typename AwsConfigConnectorArnT = Aws::String>
252 template <
typename ScopeConfigurationT = AzureScopeConfiguration>
254 m_scopeConfigurationHasBeenSet =
true;
255 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
257 template <
typename ScopeConfigurationT = AzureScopeConfiguration>
270 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
272 m_tagsHasBeenSet =
true;
273 m_tags = std::forward<TagsT>(value);
275 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
277 SetTags(std::forward<TagsT>(value));
280 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
282 m_tagsHasBeenSet =
true;
283 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
296 m_autoInstallVMScannerHasBeenSet =
true;
297 m_autoInstallVMScanner = value;
317 ConnectorHealth m_health;
327 AzureScopeConfiguration m_scopeConfiguration;
331 bool m_autoInstallVMScanner{
false};
332 bool m_connectorArnHasBeenSet =
false;
333 bool m_nameHasBeenSet =
false;
334 bool m_descriptionHasBeenSet =
false;
335 bool m_providerHasBeenSet =
false;
336 bool m_enablementStatusHasBeenSet =
false;
337 bool m_enablementStatusReasonHasBeenSet =
false;
338 bool m_healthHasBeenSet =
false;
339 bool m_createdAtHasBeenSet =
false;
340 bool m_updatedAtHasBeenSet =
false;
341 bool m_azureRegionsHasBeenSet =
false;
342 bool m_awsConfigConnectorArnHasBeenSet =
false;
343 bool m_scopeConfigurationHasBeenSet =
false;
344 bool m_tagsHasBeenSet =
false;
345 bool m_autoInstallVMScannerHasBeenSet =
false;
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
bool GetAutoInstallVMScanner() const
bool TagsHasBeenSet() const
AWS_INSPECTOR2_API Connector(Aws::Utils::Json::JsonView jsonValue)
Connector & WithProvider(ConnectorCloudProvider value)
bool ScopeConfigurationHasBeenSet() const
Connector & WithEnablementStatusReason(EnablementStatusReasonT &&value)
EnablementStatus GetEnablementStatus() const
bool HealthHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const Aws::Vector< Aws::String > & GetAzureRegions() const
Connector & WithTags(TagsT &&value)
Connector & WithEnablementStatus(EnablementStatus value)
Connector & WithName(NameT &&value)
bool CreatedAtHasBeenSet() const
void SetAzureRegions(AzureRegionsT &&value)
bool AzureRegionsHasBeenSet() const
Connector & AddAzureRegions(AzureRegionsT &&value)
const Aws::String & GetAwsConfigConnectorArn() const
const AzureScopeConfiguration & GetScopeConfiguration() const
void SetAwsConfigConnectorArn(AwsConfigConnectorArnT &&value)
const ConnectorHealth & GetHealth() const
bool NameHasBeenSet() const
void SetEnablementStatusReason(EnablementStatusReasonT &&value)
bool EnablementStatusReasonHasBeenSet() const
AWS_INSPECTOR2_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Connector()=default
void SetCreatedAt(CreatedAtT &&value)
Connector & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetAutoInstallVMScanner(bool value)
void SetScopeConfiguration(ScopeConfigurationT &&value)
Connector & WithAwsConfigConnectorArn(AwsConfigConnectorArnT &&value)
const Aws::String & GetConnectorArn() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetProvider(ConnectorCloudProvider value)
Connector & WithDescription(DescriptionT &&value)
Connector & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ConnectorArnHasBeenSet() const
bool AwsConfigConnectorArnHasBeenSet() const
void SetTags(TagsT &&value)
bool ProviderHasBeenSet() const
const Aws::String & GetEnablementStatusReason() const
Connector & WithAutoInstallVMScanner(bool value)
bool EnablementStatusHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
Connector & WithScopeConfiguration(ScopeConfigurationT &&value)
Connector & WithAzureRegions(AzureRegionsT &&value)
Connector & WithCreatedAt(CreatedAtT &&value)
ConnectorCloudProvider GetProvider() const
const Aws::String & GetDescription() const
Connector & WithConnectorArn(ConnectorArnT &&value)
void SetEnablementStatus(EnablementStatus value)
Connector & WithHealth(HealthT &&value)
void SetHealth(HealthT &&value)
bool AutoInstallVMScannerHasBeenSet() const
void SetConnectorArn(ConnectorArnT &&value)
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
Aws::Utils::Json::JsonValue JsonValue