AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchExecution.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 LaunchExecution();
36 AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution& 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 inline void SetEndedTime(const Aws::Utils::DateTime& value) { m_endedTimeHasBeenSet = true; m_endedTime = value; }
48 inline void SetEndedTime(Aws::Utils::DateTime&& value) { m_endedTimeHasBeenSet = true; m_endedTime = std::move(value); }
49 inline LaunchExecution& WithEndedTime(const Aws::Utils::DateTime& value) { SetEndedTime(value); return *this;}
50 inline LaunchExecution& WithEndedTime(Aws::Utils::DateTime&& value) { SetEndedTime(std::move(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 inline void SetStartedTime(const Aws::Utils::DateTime& value) { m_startedTimeHasBeenSet = true; m_startedTime = value; }
60 inline void SetStartedTime(Aws::Utils::DateTime&& value) { m_startedTimeHasBeenSet = true; m_startedTime = std::move(value); }
61 inline LaunchExecution& WithStartedTime(const Aws::Utils::DateTime& value) { SetStartedTime(value); return *this;}
62 inline LaunchExecution& WithStartedTime(Aws::Utils::DateTime&& value) { SetStartedTime(std::move(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
void SetStartedTime(const Aws::Utils::DateTime &value)
void SetEndedTime(Aws::Utils::DateTime &&value)
void SetEndedTime(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution()
LaunchExecution & WithStartedTime(Aws::Utils::DateTime &&value)
LaunchExecution & WithStartedTime(const Aws::Utils::DateTime &value)
void SetStartedTime(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVIDENTLY_API LaunchExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchExecution & WithEndedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedTime() const
const Aws::Utils::DateTime & GetEndedTime() const
LaunchExecution & WithEndedTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue