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

The warm pool configuration details.

*/ inline const WarmPoolConfiguration& GetWarmPoolConfiguration() const{ return m_warmPoolConfiguration; } /** *

The warm pool configuration details.

*/ inline void SetWarmPoolConfiguration(const WarmPoolConfiguration& value) { m_warmPoolConfiguration = value; } /** *

The warm pool configuration details.

*/ inline void SetWarmPoolConfiguration(WarmPoolConfiguration&& value) { m_warmPoolConfiguration = std::move(value); } /** *

The warm pool configuration details.

*/ inline DescribeWarmPoolResult& WithWarmPoolConfiguration(const WarmPoolConfiguration& value) { SetWarmPoolConfiguration(value); return *this;} /** *

The warm pool configuration details.

*/ inline DescribeWarmPoolResult& WithWarmPoolConfiguration(WarmPoolConfiguration&& value) { SetWarmPoolConfiguration(std::move(value)); return *this;} /** *

The instances that are currently in the warm pool.

*/ inline const Aws::Vector& GetInstances() const{ return m_instances; } /** *

The instances that are currently in the warm pool.

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

The instances that are currently in the warm pool.

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

The instances that are currently in the warm pool.

*/ inline DescribeWarmPoolResult& WithInstances(const Aws::Vector& value) { SetInstances(value); return *this;} /** *

The instances that are currently in the warm pool.

*/ inline DescribeWarmPoolResult& WithInstances(Aws::Vector&& value) { SetInstances(std::move(value)); return *this;} /** *

The instances that are currently in the warm pool.

*/ inline DescribeWarmPoolResult& AddInstances(const Instance& value) { m_instances.push_back(value); return *this; } /** *

The instances that are currently in the warm pool.

*/ inline DescribeWarmPoolResult& AddInstances(Instance&& value) { m_instances.push_back(std::move(value)); return *this; } /** *

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

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

This string indicates that the response contains more items than can be * returned in a single response. To receive additional items, specify this string * for the NextToken value when requesting the next set of items. This * value is null when there are no more items to return.

*/ inline DescribeWarmPoolResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeWarmPoolResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeWarmPoolResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: WarmPoolConfiguration m_warmPoolConfiguration; Aws::Vector m_instances; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace AutoScaling } // namespace Aws