/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API DescribeInstanceAssociationsStatusResult { public: DescribeInstanceAssociationsStatusResult(); DescribeInstanceAssociationsStatusResult(const Aws::AmazonWebServiceResult& result); DescribeInstanceAssociationsStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Status information about the association.

*/ inline const Aws::Vector& GetInstanceAssociationStatusInfos() const{ return m_instanceAssociationStatusInfos; } /** *

Status information about the association.

*/ inline void SetInstanceAssociationStatusInfos(const Aws::Vector& value) { m_instanceAssociationStatusInfos = value; } /** *

Status information about the association.

*/ inline void SetInstanceAssociationStatusInfos(Aws::Vector&& value) { m_instanceAssociationStatusInfos = std::move(value); } /** *

Status information about the association.

*/ inline DescribeInstanceAssociationsStatusResult& WithInstanceAssociationStatusInfos(const Aws::Vector& value) { SetInstanceAssociationStatusInfos(value); return *this;} /** *

Status information about the association.

*/ inline DescribeInstanceAssociationsStatusResult& WithInstanceAssociationStatusInfos(Aws::Vector&& value) { SetInstanceAssociationStatusInfos(std::move(value)); return *this;} /** *

Status information about the association.

*/ inline DescribeInstanceAssociationsStatusResult& AddInstanceAssociationStatusInfos(const InstanceAssociationStatusInfo& value) { m_instanceAssociationStatusInfos.push_back(value); return *this; } /** *

Status information about the association.

*/ inline DescribeInstanceAssociationsStatusResult& AddInstanceAssociationStatusInfos(InstanceAssociationStatusInfo&& value) { m_instanceAssociationStatusInfos.push_back(std::move(value)); return *this; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline DescribeInstanceAssociationsStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline DescribeInstanceAssociationsStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to use when requesting the next set of items. If there are no * additional items to return, the string is empty.

*/ inline DescribeInstanceAssociationsStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_instanceAssociationStatusInfos; Aws::String m_nextToken; }; } // namespace Model } // namespace SSM } // namespace Aws