/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Status information about the association.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 InstanceAssociationStatusInfo& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The association ID.
*/ inline InstanceAssociationStatusInfo& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The association ID.
*/ inline InstanceAssociationStatusInfo& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The name of the association.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the association.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the association.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the association.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the association.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the association.
*/ inline InstanceAssociationStatusInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the association.
*/ inline InstanceAssociationStatusInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the association.
*/ inline InstanceAssociationStatusInfo& WithName(const char* value) { SetName(value); return *this;} /** *The association document versions.
*/ inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; } /** *The association document versions.
*/ inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; } /** *The association document versions.
*/ inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; } /** *The association document versions.
*/ inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); } /** *The association document versions.
*/ inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); } /** *The association document versions.
*/ inline InstanceAssociationStatusInfo& WithDocumentVersion(const Aws::String& value) { SetDocumentVersion(value); return *this;} /** *The association document versions.
*/ inline InstanceAssociationStatusInfo& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;} /** *The association document versions.
*/ inline InstanceAssociationStatusInfo& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;} /** *The version of the association applied to the managed node.
*/ inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; } /** *The version of the association applied to the managed node.
*/ inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; } /** *The version of the association applied to the managed node.
*/ inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; } /** *The version of the association applied to the managed node.
*/ inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); } /** *The version of the association applied to the managed node.
*/ inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); } /** *The version of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationVersion(const Aws::String& value) { SetAssociationVersion(value); return *this;} /** *The version of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;} /** *The version of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;} /** *The managed node ID where the association was created.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The managed node ID where the association was created.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The managed node ID where the association was created.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The managed node ID where the association was created.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The managed node ID where the association was created.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The managed node ID where the association was created.
*/ inline InstanceAssociationStatusInfo& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The managed node ID where the association was created.
*/ inline InstanceAssociationStatusInfo& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The managed node ID where the association was created.
*/ inline InstanceAssociationStatusInfo& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The date the association ran.
*/ inline const Aws::Utils::DateTime& GetExecutionDate() const{ return m_executionDate; } /** *The date the association ran.
*/ inline bool ExecutionDateHasBeenSet() const { return m_executionDateHasBeenSet; } /** *The date the association ran.
*/ inline void SetExecutionDate(const Aws::Utils::DateTime& value) { m_executionDateHasBeenSet = true; m_executionDate = value; } /** *The date the association ran.
*/ inline void SetExecutionDate(Aws::Utils::DateTime&& value) { m_executionDateHasBeenSet = true; m_executionDate = std::move(value); } /** *The date the association ran.
*/ inline InstanceAssociationStatusInfo& WithExecutionDate(const Aws::Utils::DateTime& value) { SetExecutionDate(value); return *this;} /** *The date the association ran.
*/ inline InstanceAssociationStatusInfo& WithExecutionDate(Aws::Utils::DateTime&& value) { SetExecutionDate(std::move(value)); return *this;} /** *Status information about the association.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Status information about the association.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status information about the association.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status information about the association.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status information about the association.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Status information about the association.
*/ inline InstanceAssociationStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Status information about the association.
*/ inline InstanceAssociationStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Status information about the association.
*/ inline InstanceAssociationStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;} /** *Detailed status information about the association.
*/ inline const Aws::String& GetDetailedStatus() const{ return m_detailedStatus; } /** *Detailed status information about the association.
*/ inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; } /** *Detailed status information about the association.
*/ inline void SetDetailedStatus(const Aws::String& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; } /** *Detailed status information about the association.
*/ inline void SetDetailedStatus(Aws::String&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); } /** *Detailed status information about the association.
*/ inline void SetDetailedStatus(const char* value) { m_detailedStatusHasBeenSet = true; m_detailedStatus.assign(value); } /** *Detailed status information about the association.
*/ inline InstanceAssociationStatusInfo& WithDetailedStatus(const Aws::String& value) { SetDetailedStatus(value); return *this;} /** *Detailed status information about the association.
*/ inline InstanceAssociationStatusInfo& WithDetailedStatus(Aws::String&& value) { SetDetailedStatus(std::move(value)); return *this;} /** *Detailed status information about the association.
*/ inline InstanceAssociationStatusInfo& WithDetailedStatus(const char* value) { SetDetailedStatus(value); return *this;} /** *Summary information about association execution.
*/ inline const Aws::String& GetExecutionSummary() const{ return m_executionSummary; } /** *Summary information about association execution.
*/ inline bool ExecutionSummaryHasBeenSet() const { return m_executionSummaryHasBeenSet; } /** *Summary information about association execution.
*/ inline void SetExecutionSummary(const Aws::String& value) { m_executionSummaryHasBeenSet = true; m_executionSummary = value; } /** *Summary information about association execution.
*/ inline void SetExecutionSummary(Aws::String&& value) { m_executionSummaryHasBeenSet = true; m_executionSummary = std::move(value); } /** *Summary information about association execution.
*/ inline void SetExecutionSummary(const char* value) { m_executionSummaryHasBeenSet = true; m_executionSummary.assign(value); } /** *Summary information about association execution.
*/ inline InstanceAssociationStatusInfo& WithExecutionSummary(const Aws::String& value) { SetExecutionSummary(value); return *this;} /** *Summary information about association execution.
*/ inline InstanceAssociationStatusInfo& WithExecutionSummary(Aws::String&& value) { SetExecutionSummary(std::move(value)); return *this;} /** *Summary information about association execution.
*/ inline InstanceAssociationStatusInfo& WithExecutionSummary(const char* value) { SetExecutionSummary(value); return *this;} /** *An error code returned by the request to create the association.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *An error code returned by the request to create the association.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *An error code returned by the request to create the association.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *An error code returned by the request to create the association.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *An error code returned by the request to create the association.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *An error code returned by the request to create the association.
*/ inline InstanceAssociationStatusInfo& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *An error code returned by the request to create the association.
*/ inline InstanceAssociationStatusInfo& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *An error code returned by the request to create the association.
*/ inline InstanceAssociationStatusInfo& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline const InstanceAssociationOutputUrl& GetOutputUrl() const{ return m_outputUrl; } /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline bool OutputUrlHasBeenSet() const { return m_outputUrlHasBeenSet; } /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline void SetOutputUrl(const InstanceAssociationOutputUrl& value) { m_outputUrlHasBeenSet = true; m_outputUrl = value; } /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline void SetOutputUrl(InstanceAssociationOutputUrl&& value) { m_outputUrlHasBeenSet = true; m_outputUrl = std::move(value); } /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline InstanceAssociationStatusInfo& WithOutputUrl(const InstanceAssociationOutputUrl& value) { SetOutputUrl(value); return *this;} /** *A URL for an S3 bucket where you want to store the results of this * request.
*/ inline InstanceAssociationStatusInfo& WithOutputUrl(InstanceAssociationOutputUrl&& value) { SetOutputUrl(std::move(value)); return *this;} /** *The name of the association applied to the managed node.
*/ inline const Aws::String& GetAssociationName() const{ return m_associationName; } /** *The name of the association applied to the managed node.
*/ inline bool AssociationNameHasBeenSet() const { return m_associationNameHasBeenSet; } /** *The name of the association applied to the managed node.
*/ inline void SetAssociationName(const Aws::String& value) { m_associationNameHasBeenSet = true; m_associationName = value; } /** *The name of the association applied to the managed node.
*/ inline void SetAssociationName(Aws::String&& value) { m_associationNameHasBeenSet = true; m_associationName = std::move(value); } /** *The name of the association applied to the managed node.
*/ inline void SetAssociationName(const char* value) { m_associationNameHasBeenSet = true; m_associationName.assign(value); } /** *The name of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationName(const Aws::String& value) { SetAssociationName(value); return *this;} /** *The name of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationName(Aws::String&& value) { SetAssociationName(std::move(value)); return *this;} /** *The name of the association applied to the managed node.
*/ inline InstanceAssociationStatusInfo& WithAssociationName(const char* value) { SetAssociationName(value); return *this;} private: Aws::String m_associationId; bool m_associationIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_documentVersion; bool m_documentVersionHasBeenSet = false; Aws::String m_associationVersion; bool m_associationVersionHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::Utils::DateTime m_executionDate; bool m_executionDateHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_detailedStatus; bool m_detailedStatusHasBeenSet = false; Aws::String m_executionSummary; bool m_executionSummaryHasBeenSet = false; Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; InstanceAssociationOutputUrl m_outputUrl; bool m_outputUrlHasBeenSet = false; Aws::String m_associationName; bool m_associationNameHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws