/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an Amazon Inspector application. This data type is
* used as the response element in the DescribeAssessmentTargets
* action.See Also:
AWS
* API Reference
The ARN that specifies the Amazon Inspector assessment target.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN that specifies the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the Amazon Inspector assessment target.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Amazon Inspector assessment target.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Amazon Inspector assessment target.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Amazon Inspector assessment target.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Amazon Inspector assessment target.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Amazon Inspector assessment target.
*/ inline AssessmentTarget& WithName(const char* value) { SetName(value); return *this;} /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline const Aws::String& GetResourceGroupArn() const{ return m_resourceGroupArn; } /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline bool ResourceGroupArnHasBeenSet() const { return m_resourceGroupArnHasBeenSet; } /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline void SetResourceGroupArn(const Aws::String& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = value; } /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline void SetResourceGroupArn(Aws::String&& value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn = std::move(value); } /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline void SetResourceGroupArn(const char* value) { m_resourceGroupArnHasBeenSet = true; m_resourceGroupArn.assign(value); } /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline AssessmentTarget& WithResourceGroupArn(const Aws::String& value) { SetResourceGroupArn(value); return *this;} /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline AssessmentTarget& WithResourceGroupArn(Aws::String&& value) { SetResourceGroupArn(std::move(value)); return *this;} /** *The ARN that specifies the resource group that is associated with the * assessment target.
*/ inline AssessmentTarget& WithResourceGroupArn(const char* value) { SetResourceGroupArn(value); return *this;} /** *The time at which the assessment target is created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the assessment target is created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the assessment target is created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the assessment target is created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the assessment target is created.
*/ inline AssessmentTarget& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the assessment target is created.
*/ inline AssessmentTarget& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time at which UpdateAssessmentTarget is called.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The time at which UpdateAssessmentTarget is called.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The time at which UpdateAssessmentTarget is called.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The time at which UpdateAssessmentTarget is called.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The time at which UpdateAssessmentTarget is called.
*/ inline AssessmentTarget& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The time at which UpdateAssessmentTarget is called.
*/ inline AssessmentTarget& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_resourceGroupArn; bool m_resourceGroupArnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws