/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { class StopLaunchResult { public: AWS_CLOUDWATCHEVIDENTLY_API StopLaunchResult(); AWS_CLOUDWATCHEVIDENTLY_API StopLaunchResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHEVIDENTLY_API StopLaunchResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The date and time that the launch stopped.

*/ inline const Aws::Utils::DateTime& GetEndedTime() const{ return m_endedTime; } /** *

The date and time that the launch stopped.

*/ inline void SetEndedTime(const Aws::Utils::DateTime& value) { m_endedTime = value; } /** *

The date and time that the launch stopped.

*/ inline void SetEndedTime(Aws::Utils::DateTime&& value) { m_endedTime = std::move(value); } /** *

The date and time that the launch stopped.

*/ inline StopLaunchResult& WithEndedTime(const Aws::Utils::DateTime& value) { SetEndedTime(value); return *this;} /** *

The date and time that the launch stopped.

*/ inline StopLaunchResult& WithEndedTime(Aws::Utils::DateTime&& value) { SetEndedTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StopLaunchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopLaunchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopLaunchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_endedTime; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws