AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProfilingStatus.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/codeguruprofiler/model/AggregatedProfileTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeGuruProfiler
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_CODEGURUPROFILER_API ProfilingStatus() = default;
39 AWS_CODEGURUPROFILER_API ProfilingStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEGURUPROFILER_API ProfilingStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Utils::DateTime& GetLatestAgentOrchestratedAt() const { return m_latestAgentOrchestratedAt; }
51 inline bool LatestAgentOrchestratedAtHasBeenSet() const { return m_latestAgentOrchestratedAtHasBeenSet; }
52 template<typename LatestAgentOrchestratedAtT = Aws::Utils::DateTime>
53 void SetLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT&& value) { m_latestAgentOrchestratedAtHasBeenSet = true; m_latestAgentOrchestratedAt = std::forward<LatestAgentOrchestratedAtT>(value); }
54 template<typename LatestAgentOrchestratedAtT = Aws::Utils::DateTime>
55 ProfilingStatus& WithLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT&& value) { SetLatestAgentOrchestratedAt(std::forward<LatestAgentOrchestratedAtT>(value)); return *this;}
57
59
64 inline const Aws::Utils::DateTime& GetLatestAgentProfileReportedAt() const { return m_latestAgentProfileReportedAt; }
65 inline bool LatestAgentProfileReportedAtHasBeenSet() const { return m_latestAgentProfileReportedAtHasBeenSet; }
66 template<typename LatestAgentProfileReportedAtT = Aws::Utils::DateTime>
67 void SetLatestAgentProfileReportedAt(LatestAgentProfileReportedAtT&& value) { m_latestAgentProfileReportedAtHasBeenSet = true; m_latestAgentProfileReportedAt = std::forward<LatestAgentProfileReportedAtT>(value); }
68 template<typename LatestAgentProfileReportedAtT = Aws::Utils::DateTime>
69 ProfilingStatus& WithLatestAgentProfileReportedAt(LatestAgentProfileReportedAtT&& value) { SetLatestAgentProfileReportedAt(std::forward<LatestAgentProfileReportedAtT>(value)); return *this;}
71
73
79 inline const AggregatedProfileTime& GetLatestAggregatedProfile() const { return m_latestAggregatedProfile; }
80 inline bool LatestAggregatedProfileHasBeenSet() const { return m_latestAggregatedProfileHasBeenSet; }
81 template<typename LatestAggregatedProfileT = AggregatedProfileTime>
82 void SetLatestAggregatedProfile(LatestAggregatedProfileT&& value) { m_latestAggregatedProfileHasBeenSet = true; m_latestAggregatedProfile = std::forward<LatestAggregatedProfileT>(value); }
83 template<typename LatestAggregatedProfileT = AggregatedProfileTime>
84 ProfilingStatus& WithLatestAggregatedProfile(LatestAggregatedProfileT&& value) { SetLatestAggregatedProfile(std::forward<LatestAggregatedProfileT>(value)); return *this;}
86 private:
87
88 Aws::Utils::DateTime m_latestAgentOrchestratedAt{};
89 bool m_latestAgentOrchestratedAtHasBeenSet = false;
90
91 Aws::Utils::DateTime m_latestAgentProfileReportedAt{};
92 bool m_latestAgentProfileReportedAtHasBeenSet = false;
93
94 AggregatedProfileTime m_latestAggregatedProfile;
95 bool m_latestAggregatedProfileHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CodeGuruProfiler
100} // namespace Aws
ProfilingStatus & WithLatestAgentProfileReportedAt(LatestAgentProfileReportedAtT &&value)
ProfilingStatus & WithLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT &&value)
const Aws::Utils::DateTime & GetLatestAgentOrchestratedAt() const
AWS_CODEGURUPROFILER_API ProfilingStatus()=default
void SetLatestAggregatedProfile(LatestAggregatedProfileT &&value)
AWS_CODEGURUPROFILER_API ProfilingStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilingStatus & WithLatestAggregatedProfile(LatestAggregatedProfileT &&value)
const AggregatedProfileTime & GetLatestAggregatedProfile() const
void SetLatestAgentProfileReportedAt(LatestAgentProfileReportedAtT &&value)
AWS_CODEGURUPROFILER_API ProfilingStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLatestAgentProfileReportedAt() const
void SetLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT &&value)
Aws::Utils::Json::JsonValue JsonValue