AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ProfilingStatus.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/AggregatedProfileTime.h>
9#include <aws/core/utils/DateTime.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeGuruProfiler {
21namespace Model {
22
32 public:
33 AWS_CODEGURUPROFILER_API ProfilingStatus() = default;
34 AWS_CODEGURUPROFILER_API ProfilingStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUPROFILER_API ProfilingStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Utils::DateTime& GetLatestAgentOrchestratedAt() const { return m_latestAgentOrchestratedAt; }
45 inline bool LatestAgentOrchestratedAtHasBeenSet() const { return m_latestAgentOrchestratedAtHasBeenSet; }
46 template <typename LatestAgentOrchestratedAtT = Aws::Utils::DateTime>
47 void SetLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT&& value) {
48 m_latestAgentOrchestratedAtHasBeenSet = true;
49 m_latestAgentOrchestratedAt = std::forward<LatestAgentOrchestratedAtT>(value);
50 }
51 template <typename LatestAgentOrchestratedAtT = Aws::Utils::DateTime>
52 ProfilingStatus& WithLatestAgentOrchestratedAt(LatestAgentOrchestratedAtT&& value) {
53 SetLatestAgentOrchestratedAt(std::forward<LatestAgentOrchestratedAtT>(value));
54 return *this;
55 }
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) {
68 m_latestAgentProfileReportedAtHasBeenSet = true;
69 m_latestAgentProfileReportedAt = std::forward<LatestAgentProfileReportedAtT>(value);
70 }
71 template <typename LatestAgentProfileReportedAtT = Aws::Utils::DateTime>
72 ProfilingStatus& WithLatestAgentProfileReportedAt(LatestAgentProfileReportedAtT&& value) {
73 SetLatestAgentProfileReportedAt(std::forward<LatestAgentProfileReportedAtT>(value));
74 return *this;
75 }
77
79
85 inline const AggregatedProfileTime& GetLatestAggregatedProfile() const { return m_latestAggregatedProfile; }
86 inline bool LatestAggregatedProfileHasBeenSet() const { return m_latestAggregatedProfileHasBeenSet; }
87 template <typename LatestAggregatedProfileT = AggregatedProfileTime>
88 void SetLatestAggregatedProfile(LatestAggregatedProfileT&& value) {
89 m_latestAggregatedProfileHasBeenSet = true;
90 m_latestAggregatedProfile = std::forward<LatestAggregatedProfileT>(value);
91 }
92 template <typename LatestAggregatedProfileT = AggregatedProfileTime>
93 ProfilingStatus& WithLatestAggregatedProfile(LatestAggregatedProfileT&& value) {
94 SetLatestAggregatedProfile(std::forward<LatestAggregatedProfileT>(value));
95 return *this;
96 }
98 private:
99 Aws::Utils::DateTime m_latestAgentOrchestratedAt{};
100
101 Aws::Utils::DateTime m_latestAgentProfileReportedAt{};
102
103 AggregatedProfileTime m_latestAggregatedProfile;
104 bool m_latestAgentOrchestratedAtHasBeenSet = false;
105 bool m_latestAgentProfileReportedAtHasBeenSet = false;
106 bool m_latestAggregatedProfileHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace CodeGuruProfiler
111} // 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