/** * 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 StartExperimentResult { public: AWS_CLOUDWATCHEVIDENTLY_API StartExperimentResult(); AWS_CLOUDWATCHEVIDENTLY_API StartExperimentResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHEVIDENTLY_API StartExperimentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A timestamp that indicates when the experiment started.

*/ inline const Aws::Utils::DateTime& GetStartedTime() const{ return m_startedTime; } /** *

A timestamp that indicates when the experiment started.

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

A timestamp that indicates when the experiment started.

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

A timestamp that indicates when the experiment started.

*/ inline StartExperimentResult& WithStartedTime(const Aws::Utils::DateTime& value) { SetStartedTime(value); return *this;} /** *

A timestamp that indicates when the experiment started.

*/ inline StartExperimentResult& WithStartedTime(Aws::Utils::DateTime&& value) { SetStartedTime(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 StartExperimentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartExperimentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartExperimentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_startedTime; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws