/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more association documents on the instance. 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 InstanceAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The association ID.
*/ inline InstanceAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The association ID.
*/ inline InstanceAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The instance ID.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The instance ID.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The instance ID.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The instance ID.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The instance ID.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The instance ID.
*/ inline InstanceAssociation& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The instance ID.
*/ inline InstanceAssociation& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The instance ID.
*/ inline InstanceAssociation& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The content of the association document for the instance(s).
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The content of the association document for the instance(s).
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The content of the association document for the instance(s).
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The content of the association document for the instance(s).
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The content of the association document for the instance(s).
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The content of the association document for the instance(s).
*/ inline InstanceAssociation& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The content of the association document for the instance(s).
*/ inline InstanceAssociation& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The content of the association document for the instance(s).
*/ inline InstanceAssociation& WithContent(const char* value) { SetContent(value); return *this;} /** *Version information for the association on the instance.
*/ inline const Aws::String& GetAssociationVersion() const{ return m_associationVersion; } /** *Version information for the association on the instance.
*/ inline bool AssociationVersionHasBeenSet() const { return m_associationVersionHasBeenSet; } /** *Version information for the association on the instance.
*/ inline void SetAssociationVersion(const Aws::String& value) { m_associationVersionHasBeenSet = true; m_associationVersion = value; } /** *Version information for the association on the instance.
*/ inline void SetAssociationVersion(Aws::String&& value) { m_associationVersionHasBeenSet = true; m_associationVersion = std::move(value); } /** *Version information for the association on the instance.
*/ inline void SetAssociationVersion(const char* value) { m_associationVersionHasBeenSet = true; m_associationVersion.assign(value); } /** *Version information for the association on the instance.
*/ inline InstanceAssociation& WithAssociationVersion(const Aws::String& value) { SetAssociationVersion(value); return *this;} /** *Version information for the association on the instance.
*/ inline InstanceAssociation& WithAssociationVersion(Aws::String&& value) { SetAssociationVersion(std::move(value)); return *this;} /** *Version information for the association on the instance.
*/ inline InstanceAssociation& WithAssociationVersion(const char* value) { SetAssociationVersion(value); return *this;} private: Aws::String m_associationId; bool m_associationIdHasBeenSet; Aws::String m_instanceId; bool m_instanceIdHasBeenSet; Aws::String m_content; bool m_contentHasBeenSet; Aws::String m_associationVersion; bool m_associationVersionHasBeenSet; }; } // namespace Model } // namespace SSM } // namespace Aws