AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExperimentExecution.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchEvidently
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution() = default;
36 AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetEndedTime() const { return m_endedTime; }
46 inline bool EndedTimeHasBeenSet() const { return m_endedTimeHasBeenSet; }
47 template<typename EndedTimeT = Aws::Utils::DateTime>
48 void SetEndedTime(EndedTimeT&& value) { m_endedTimeHasBeenSet = true; m_endedTime = std::forward<EndedTimeT>(value); }
49 template<typename EndedTimeT = Aws::Utils::DateTime>
50 ExperimentExecution& WithEndedTime(EndedTimeT&& value) { SetEndedTime(std::forward<EndedTimeT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetStartedTime() const { return m_startedTime; }
58 inline bool StartedTimeHasBeenSet() const { return m_startedTimeHasBeenSet; }
59 template<typename StartedTimeT = Aws::Utils::DateTime>
60 void SetStartedTime(StartedTimeT&& value) { m_startedTimeHasBeenSet = true; m_startedTime = std::forward<StartedTimeT>(value); }
61 template<typename StartedTimeT = Aws::Utils::DateTime>
62 ExperimentExecution& WithStartedTime(StartedTimeT&& value) { SetStartedTime(std::forward<StartedTimeT>(value)); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_endedTime{};
67 bool m_endedTimeHasBeenSet = false;
68
69 Aws::Utils::DateTime m_startedTime{};
70 bool m_startedTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudWatchEvidently
75} // namespace Aws
ExperimentExecution & WithStartedTime(StartedTimeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndedTime() const
ExperimentExecution & WithEndedTime(EndedTimeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution()=default
AWS_CLOUDWATCHEVIDENTLY_API ExperimentExecution(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartedTime() const
Aws::Utils::Json::JsonValue JsonValue