/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an access preview.See Also:
AWS
* API Reference
The unique ID for the access preview.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID for the access preview.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID for the access preview.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID for the access preview.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID for the access preview.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID for the access preview.
*/ inline AccessPreview& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID for the access preview.
*/ inline AccessPreview& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID for the access preview.
*/ inline AccessPreview& WithId(const char* value) { SetId(value); return *this;} /** *The ARN of the analyzer used to generate the access preview.
*/ inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; } /** *The ARN of the analyzer used to generate the access preview.
*/ inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; } /** *The ARN of the analyzer used to generate the access preview.
*/ inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; } /** *The ARN of the analyzer used to generate the access preview.
*/ inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); } /** *The ARN of the analyzer used to generate the access preview.
*/ inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); } /** *The ARN of the analyzer used to generate the access preview.
*/ inline AccessPreview& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;} /** *The ARN of the analyzer used to generate the access preview.
*/ inline AccessPreview& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;} /** *The ARN of the analyzer used to generate the access preview.
*/ inline AccessPreview& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;} /** *A map of resource ARNs for the proposed resource configuration.
*/ inline const Aws::MapA map of resource ARNs for the proposed resource configuration.
*/ inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline void SetConfigurations(const Aws::MapA map of resource ARNs for the proposed resource configuration.
*/ inline void SetConfigurations(Aws::MapA map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& WithConfigurations(const Aws::MapA map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& WithConfigurations(Aws::MapA map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(const Aws::String& key, const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(key, value); return *this; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(Aws::String&& key, const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(std::move(key), value); return *this; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(const Aws::String& key, Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(key, std::move(value)); return *this; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(Aws::String&& key, Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(std::move(key), std::move(value)); return *this; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(const char* key, Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(key, std::move(value)); return *this; } /** *A map of resource ARNs for the proposed resource configuration.
*/ inline AccessPreview& AddConfigurations(const char* key, const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.emplace(key, value); return *this; } /** *The time at which the access preview was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the access preview was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the access preview was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the access preview was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the access preview was created.
*/ inline AccessPreview& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the access preview was created.
*/ inline AccessPreview& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
The status of the access preview.
Creating
-
* The access preview creation is in progress.
* Completed
- The access preview is complete. You can preview
* findings for external access to the resource.
* Failed
- The access preview creation has failed.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.
Provides more details about the current status of the access preview.
*For example, if the creation of the access preview fails, a
* Failed
status is returned. This failure can be due to an internal
* issue with the analysis or due to an invalid resource configuration.