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

A unique ID for tracking the progress of the instance refresh.

*/ inline const Aws::String& GetInstanceRefreshId() const{ return m_instanceRefreshId; } /** *

A unique ID for tracking the progress of the instance refresh.

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

A unique ID for tracking the progress of the instance refresh.

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

A unique ID for tracking the progress of the instance refresh.

*/ inline void SetInstanceRefreshId(const char* value) { m_instanceRefreshId.assign(value); } /** *

A unique ID for tracking the progress of the instance refresh.

*/ inline StartInstanceRefreshResult& WithInstanceRefreshId(const Aws::String& value) { SetInstanceRefreshId(value); return *this;} /** *

A unique ID for tracking the progress of the instance refresh.

*/ inline StartInstanceRefreshResult& WithInstanceRefreshId(Aws::String&& value) { SetInstanceRefreshId(std::move(value)); return *this;} /** *

A unique ID for tracking the progress of the instance refresh.

*/ inline StartInstanceRefreshResult& WithInstanceRefreshId(const char* value) { SetInstanceRefreshId(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 StartInstanceRefreshResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline StartInstanceRefreshResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_instanceRefreshId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace AutoScaling } // namespace Aws