/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the analyzer.See Also:
AWS
* API Reference
The ARN of the analyzer.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the analyzer.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the analyzer.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the analyzer.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the analyzer.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the analyzer.
*/ inline AnalyzerSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the analyzer.
*/ inline AnalyzerSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the analyzer.
*/ inline AnalyzerSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the analyzer.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the analyzer.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the analyzer.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the analyzer.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the analyzer.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the analyzer.
*/ inline AnalyzerSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the analyzer.
*/ inline AnalyzerSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the analyzer.
*/ inline AnalyzerSummary& WithName(const char* value) { SetName(value); return *this;} /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline const Type& GetType() const{ return m_type; } /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline AnalyzerSummary& WithType(const Type& value) { SetType(value); return *this;} /** *The type of analyzer, which corresponds to the zone of trust chosen for the * analyzer.
*/ inline AnalyzerSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;} /** *A timestamp for the time at which the analyzer was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *A timestamp for the time at which the analyzer was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *A timestamp for the time at which the analyzer was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *A timestamp for the time at which the analyzer was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *A timestamp for the time at which the analyzer was created.
*/ inline AnalyzerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *A timestamp for the time at which the analyzer was created.
*/ inline AnalyzerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The resource that was most recently analyzed by the analyzer.
*/ inline const Aws::String& GetLastResourceAnalyzed() const{ return m_lastResourceAnalyzed; } /** *The resource that was most recently analyzed by the analyzer.
*/ inline bool LastResourceAnalyzedHasBeenSet() const { return m_lastResourceAnalyzedHasBeenSet; } /** *The resource that was most recently analyzed by the analyzer.
*/ inline void SetLastResourceAnalyzed(const Aws::String& value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed = value; } /** *The resource that was most recently analyzed by the analyzer.
*/ inline void SetLastResourceAnalyzed(Aws::String&& value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed = std::move(value); } /** *The resource that was most recently analyzed by the analyzer.
*/ inline void SetLastResourceAnalyzed(const char* value) { m_lastResourceAnalyzedHasBeenSet = true; m_lastResourceAnalyzed.assign(value); } /** *The resource that was most recently analyzed by the analyzer.
*/ inline AnalyzerSummary& WithLastResourceAnalyzed(const Aws::String& value) { SetLastResourceAnalyzed(value); return *this;} /** *The resource that was most recently analyzed by the analyzer.
*/ inline AnalyzerSummary& WithLastResourceAnalyzed(Aws::String&& value) { SetLastResourceAnalyzed(std::move(value)); return *this;} /** *The resource that was most recently analyzed by the analyzer.
*/ inline AnalyzerSummary& WithLastResourceAnalyzed(const char* value) { SetLastResourceAnalyzed(value); return *this;} /** *The time at which the most recently analyzed resource was analyzed.
*/ inline const Aws::Utils::DateTime& GetLastResourceAnalyzedAt() const{ return m_lastResourceAnalyzedAt; } /** *The time at which the most recently analyzed resource was analyzed.
*/ inline bool LastResourceAnalyzedAtHasBeenSet() const { return m_lastResourceAnalyzedAtHasBeenSet; } /** *The time at which the most recently analyzed resource was analyzed.
*/ inline void SetLastResourceAnalyzedAt(const Aws::Utils::DateTime& value) { m_lastResourceAnalyzedAtHasBeenSet = true; m_lastResourceAnalyzedAt = value; } /** *The time at which the most recently analyzed resource was analyzed.
*/ inline void SetLastResourceAnalyzedAt(Aws::Utils::DateTime&& value) { m_lastResourceAnalyzedAtHasBeenSet = true; m_lastResourceAnalyzedAt = std::move(value); } /** *The time at which the most recently analyzed resource was analyzed.
*/ inline AnalyzerSummary& WithLastResourceAnalyzedAt(const Aws::Utils::DateTime& value) { SetLastResourceAnalyzedAt(value); return *this;} /** *The time at which the most recently analyzed resource was analyzed.
*/ inline AnalyzerSummary& WithLastResourceAnalyzedAt(Aws::Utils::DateTime&& value) { SetLastResourceAnalyzedAt(std::move(value)); return *this;} /** *The tags added to the analyzer.
*/ inline const Aws::MapThe tags added to the analyzer.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags added to the analyzer.
*/ inline void SetTags(const Aws::MapThe tags added to the analyzer.
*/ inline void SetTags(Aws::MapThe tags added to the analyzer.
*/ inline AnalyzerSummary& WithTags(const Aws::MapThe tags added to the analyzer.
*/ inline AnalyzerSummary& WithTags(Aws::MapThe tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags added to the analyzer.
*/ inline AnalyzerSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The status of the analyzer. An Active
analyzer successfully
* monitors supported resources and generates new findings. The analyzer is
* Disabled
when a user action, such as removing trusted access for
* Identity and Access Management Access Analyzer from Organizations, causes the
* analyzer to stop generating new findings. The status is Creating
* when the analyzer creation is in progress and Failed
when the
* analyzer creation has failed.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.
The statusReason
provides more details about the current status
* of the analyzer. For example, if the creation for the analyzer fails, a
* Failed
status is returned. For an analyzer with organization as the
* type, this failure can be due to an issue with creating the service-linked roles
* required in the member accounts of the Amazon Web Services organization.