AWS SDK for C++  1.9.40
AWS SDK for C++
ProfileTime.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodeGuruProfiler
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
46 
52  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
53 
59  inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
60 
66  inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
67 
73  inline ProfileTime& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
74 
80  inline ProfileTime& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
81 
82  private:
83 
84  Aws::Utils::DateTime m_start;
85  bool m_startHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace CodeGuruProfiler
90 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodeGuruProfiler::Model::ProfileTime::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeGuruProfiler::Model::ProfileTime::SetStart
void SetStart(Aws::Utils::DateTime &&value)
Definition: ProfileTime.h:66
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
DateTime.h
CodeGuruProfiler_EXPORTS.h
Aws::CodeGuruProfiler::Model::ProfileTime::StartHasBeenSet
bool StartHasBeenSet() const
Definition: ProfileTime.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::CodeGuruProfiler::Model::ProfileTime
Definition: ProfileTime.h:32
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodeGuruProfiler::Model::ProfileTime::WithStart
ProfileTime & WithStart(Aws::Utils::DateTime &&value)
Definition: ProfileTime.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::ProfileTime::ProfileTime
ProfileTime(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeGuruProfiler::Model::ProfileTime::GetStart
const Aws::Utils::DateTime & GetStart() const
Definition: ProfileTime.h:45
Aws::CodeGuruProfiler::Model::ProfileTime::SetStart
void SetStart(const Aws::Utils::DateTime &value)
Definition: ProfileTime.h:59
Aws::CodeGuruProfiler::Model::ProfileTime::WithStart
ProfileTime & WithStart(const Aws::Utils::DateTime &value)
Definition: ProfileTime.h:73
Aws::CodeGuruProfiler::Model::ProfileTime::operator=
ProfileTime & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeGuruProfiler::Model::ProfileTime::ProfileTime
ProfileTime()