/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Includes information about the specified association execution.See
* Also:
AWS
* API Reference
The association ID.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *The association ID.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *The association ID.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *The association ID.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *The association ID.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *The association ID.
*/ inline AssociationExecutionTarget& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The association ID.
*/ inline AssociationExecutionTarget& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The association ID.
*/ inline AssociationExecutionTarget& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The association version.
*/ inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; } /** *The association version.
*/ inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; } /** *The association version.
*/ inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; } /** *The association version.
*/ inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); } /** *The association version.
*/ inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); } /** *The association version.
*/ inline AssociationExecutionTarget& WithAssociationVersion(const Aws::String& value) { SetAssociationVersion(value); return *this;} /** *The association version.
*/ inline AssociationExecutionTarget& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;} /** *The association version.
*/ inline AssociationExecutionTarget& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;} /** *The execution ID.
*/ inline const Aws::String& GetExecutionId() const{ return m_executionId; } /** *The execution ID.
*/ inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; } /** *The execution ID.
*/ inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; } /** *The execution ID.
*/ inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); } /** *The execution ID.
*/ inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); } /** *The execution ID.
*/ inline AssociationExecutionTarget& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;} /** *The execution ID.
*/ inline AssociationExecutionTarget& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;} /** *The execution ID.
*/ inline AssociationExecutionTarget& WithExecutionId(const char* value) { SetExecutionId(value); return *this;} /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline AssociationExecutionTarget& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline AssociationExecutionTarget& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource ID, for example, the managed node ID where the association * ran.
*/ inline AssociationExecutionTarget& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The resource type, for example, EC2.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The resource type, for example, EC2.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The resource type, for example, EC2.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The resource type, for example, EC2.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The resource type, for example, EC2.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The resource type, for example, EC2.
*/ inline AssociationExecutionTarget& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The resource type, for example, EC2.
*/ inline AssociationExecutionTarget& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The resource type, for example, EC2.
*/ inline AssociationExecutionTarget& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *The association execution status.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The association execution status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The association execution status.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The association execution status.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The association execution status.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The association execution status.
*/ inline AssociationExecutionTarget& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The association execution status.
*/ inline AssociationExecutionTarget& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The association execution status.
*/ inline AssociationExecutionTarget& WithStatus(const char* value) { SetStatus(value); return *this;} /** *Detailed information about the execution status.
*/ inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; } /** *Detailed information about the execution status.
*/ inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; } /** *Detailed information about the execution status.
*/ inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; } /** *Detailed information about the execution status.
*/ inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); } /** *Detailed information about the execution status.
*/ inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); } /** *Detailed information about the execution status.
*/ inline AssociationExecutionTarget& WithDetailedStatus(const Aws::String& value) { SetDetailedStatus(value); return *this;} /** *Detailed information about the execution status.
*/ inline AssociationExecutionTarget& WithDetailedStatus(Aws::String&& value) { SetDetailedStatus(std::move(value)); return *this;} /** *Detailed information about the execution status.
*/ inline AssociationExecutionTarget& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;} /** *The date of the last execution.
*/ inline const Aws::Utils::DateTime& GetLastExecutionDate() const{ return m_lastExecutionDate; } /** *The date of the last execution.
*/ inline bool LastExecutionDateHasBeenSet() const { return m_lastExecutionDateHasBeenSet; } /** *The date of the last execution.
*/ inline void SetLastExecutionDate(const Aws::Utils::DateTime& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = value; } /** *The date of the last execution.
*/ inline void SetLastExecutionDate(Aws::Utils::DateTime&& value) { m_lastExecutionDateHasBeenSet = true; m_lastExecutionDate = std::move(value); } /** *The date of the last execution.
*/ inline AssociationExecutionTarget& WithLastExecutionDate(const Aws::Utils::DateTime& value) { SetLastExecutionDate(value); return *this;} /** *The date of the last execution.
*/ inline AssociationExecutionTarget& WithLastExecutionDate(Aws::Utils::DateTime&& value) { SetLastExecutionDate(std::move(value)); return *this;} /** *The location where the association details are saved.
*/ inline const OutputSource& GetOutputSource() const{ return m_outputSource; } /** *The location where the association details are saved.
*/ inline bool OutputSourceHasBeenSet() const { return m_outputSourceHasBeenSet; } /** *The location where the association details are saved.
*/ inline void SetOutputSource(const OutputSource& value) { m_outputSourceHasBeenSet = true; m_outputSource = value; } /** *The location where the association details are saved.
*/ inline void SetOutputSource(OutputSource&& value) { m_outputSourceHasBeenSet = true; m_outputSource = std::move(value); } /** *The location where the association details are saved.
*/ inline AssociationExecutionTarget& WithOutputSource(const OutputSource& value) { SetOutputSource(value); return *this;} /** *The location where the association details are saved.
*/ inline AssociationExecutionTarget& WithOutputSource(OutputSource&& value) { SetOutputSource(std::move(value)); return *this;} private: Aws::String m_associationId; bool m_associationIdHasBeenSet = false; Aws::String m_associationVersion; bool m_associationVersionHasBeenSet = false; Aws::String m_executionId; bool m_executionIdHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_detailedStatus; bool m_detailedStatusHasBeenSet = false; Aws::Utils::DateTime m_lastExecutionDate; bool m_lastExecutionDateHasBeenSet = false; OutputSource m_outputSource; bool m_outputSourceHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws