AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestampStructure.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
34 {
35 public:
36 AWS_CODEGURUPROFILER_API TimestampStructure();
37 AWS_CODEGURUPROFILER_API TimestampStructure(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUPROFILER_API TimestampStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Utils::DateTime& GetValue() const{ return m_value; }
49 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
50 inline void SetValue(const Aws::Utils::DateTime& value) { m_valueHasBeenSet = true; m_value = value; }
51 inline void SetValue(Aws::Utils::DateTime&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
52 inline TimestampStructure& WithValue(const Aws::Utils::DateTime& value) { SetValue(value); return *this;}
53 inline TimestampStructure& WithValue(Aws::Utils::DateTime&& value) { SetValue(std::move(value)); return *this;}
55 private:
56
58 bool m_valueHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace CodeGuruProfiler
63} // namespace Aws
TimestampStructure & WithValue(Aws::Utils::DateTime &&value)
AWS_CODEGURUPROFILER_API TimestampStructure(Aws::Utils::Json::JsonView jsonValue)
TimestampStructure & WithValue(const Aws::Utils::DateTime &value)
AWS_CODEGURUPROFILER_API TimestampStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::Utils::DateTime &value)
void SetValue(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetValue() const
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue