/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Contains the output of RunScheduledInstances.

See Also:

AWS * API Reference

*/ class RunScheduledInstancesResponse { public: AWS_EC2_API RunScheduledInstancesResponse(); AWS_EC2_API RunScheduledInstancesResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API RunScheduledInstancesResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The IDs of the newly launched instances.

*/ inline const Aws::Vector& GetInstanceIdSet() const{ return m_instanceIdSet; } /** *

The IDs of the newly launched instances.

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

The IDs of the newly launched instances.

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

The IDs of the newly launched instances.

*/ inline RunScheduledInstancesResponse& WithInstanceIdSet(const Aws::Vector& value) { SetInstanceIdSet(value); return *this;} /** *

The IDs of the newly launched instances.

*/ inline RunScheduledInstancesResponse& WithInstanceIdSet(Aws::Vector&& value) { SetInstanceIdSet(std::move(value)); return *this;} /** *

The IDs of the newly launched instances.

*/ inline RunScheduledInstancesResponse& AddInstanceIdSet(const Aws::String& value) { m_instanceIdSet.push_back(value); return *this; } /** *

The IDs of the newly launched instances.

*/ inline RunScheduledInstancesResponse& AddInstanceIdSet(Aws::String&& value) { m_instanceIdSet.push_back(std::move(value)); return *this; } /** *

The IDs of the newly launched instances.

*/ inline RunScheduledInstancesResponse& AddInstanceIdSet(const char* value) { m_instanceIdSet.push_back(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 RunScheduledInstancesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline RunScheduledInstancesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_instanceIdSet; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws