/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a summary of 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 AccessPreviewSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID for the access preview.
*/ inline AccessPreviewSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID for the access preview.
*/ inline AccessPreviewSummary& 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 AccessPreviewSummary& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;} /** *The ARN of the analyzer used to generate the access preview.
*/ inline AccessPreviewSummary& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;} /** *The ARN of the analyzer used to generate the access preview.
*/ inline AccessPreviewSummary& WithAnalyzerArn(const char* value) { SetAnalyzerArn(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 AccessPreviewSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the access preview was created.
*/ inline AccessPreviewSummary& 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 and previews the
* 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 and previews the
* 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 and previews the
* 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 and previews the
* 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 and previews the
* 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 and previews the
* findings for external access to the resource.
* Failed
- The access preview creation has failed.