AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileTime.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_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 CodeGuruProfiler
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CODEGURUPROFILER_API ProfileTime();
35 AWS_CODEGURUPROFILER_API ProfileTime(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEGURUPROFILER_API ProfileTime& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
47 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
48 inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
49 inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
50 inline ProfileTime& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
51 inline ProfileTime& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
53 private:
54
56 bool m_startHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace CodeGuruProfiler
61} // namespace Aws
AWS_CODEGURUPROFILER_API ProfileTime(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStart() const
Definition ProfileTime.h:46
void SetStart(const Aws::Utils::DateTime &value)
Definition ProfileTime.h:48
ProfileTime & WithStart(const Aws::Utils::DateTime &value)
Definition ProfileTime.h:50
ProfileTime & WithStart(Aws::Utils::DateTime &&value)
Definition ProfileTime.h:51
AWS_CODEGURUPROFILER_API ProfileTime & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API ProfileTime()
void SetStart(Aws::Utils::DateTime &&value)
Definition ProfileTime.h:49
Aws::Utils::Json::JsonValue JsonValue