AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetDeviceFleetReportResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/EdgeOutputConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/DeviceStats.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/AgentVersion.h>
14#include <aws/sagemaker/model/EdgeModelStat.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API GetDeviceFleetReportResult() = default;
39
40
42
45 inline const Aws::String& GetDeviceFleetArn() const { return m_deviceFleetArn; }
46 template<typename DeviceFleetArnT = Aws::String>
47 void SetDeviceFleetArn(DeviceFleetArnT&& value) { m_deviceFleetArnHasBeenSet = true; m_deviceFleetArn = std::forward<DeviceFleetArnT>(value); }
48 template<typename DeviceFleetArnT = Aws::String>
49 GetDeviceFleetReportResult& WithDeviceFleetArn(DeviceFleetArnT&& value) { SetDeviceFleetArn(std::forward<DeviceFleetArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
57 template<typename DeviceFleetNameT = Aws::String>
58 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
59 template<typename DeviceFleetNameT = Aws::String>
60 GetDeviceFleetReportResult& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
62
64
67 inline const EdgeOutputConfig& GetOutputConfig() const { return m_outputConfig; }
68 template<typename OutputConfigT = EdgeOutputConfig>
69 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
70 template<typename OutputConfigT = EdgeOutputConfig>
71 GetDeviceFleetReportResult& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 template<typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
81 template<typename DescriptionT = Aws::String>
82 GetDeviceFleetReportResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetReportGenerated() const { return m_reportGenerated; }
90 template<typename ReportGeneratedT = Aws::Utils::DateTime>
91 void SetReportGenerated(ReportGeneratedT&& value) { m_reportGeneratedHasBeenSet = true; m_reportGenerated = std::forward<ReportGeneratedT>(value); }
92 template<typename ReportGeneratedT = Aws::Utils::DateTime>
93 GetDeviceFleetReportResult& WithReportGenerated(ReportGeneratedT&& value) { SetReportGenerated(std::forward<ReportGeneratedT>(value)); return *this;}
95
97
100 inline const DeviceStats& GetDeviceStats() const { return m_deviceStats; }
101 template<typename DeviceStatsT = DeviceStats>
102 void SetDeviceStats(DeviceStatsT&& value) { m_deviceStatsHasBeenSet = true; m_deviceStats = std::forward<DeviceStatsT>(value); }
103 template<typename DeviceStatsT = DeviceStats>
104 GetDeviceFleetReportResult& WithDeviceStats(DeviceStatsT&& value) { SetDeviceStats(std::forward<DeviceStatsT>(value)); return *this;}
106
108
111 inline const Aws::Vector<AgentVersion>& GetAgentVersions() const { return m_agentVersions; }
112 template<typename AgentVersionsT = Aws::Vector<AgentVersion>>
113 void SetAgentVersions(AgentVersionsT&& value) { m_agentVersionsHasBeenSet = true; m_agentVersions = std::forward<AgentVersionsT>(value); }
114 template<typename AgentVersionsT = Aws::Vector<AgentVersion>>
115 GetDeviceFleetReportResult& WithAgentVersions(AgentVersionsT&& value) { SetAgentVersions(std::forward<AgentVersionsT>(value)); return *this;}
116 template<typename AgentVersionsT = AgentVersion>
117 GetDeviceFleetReportResult& AddAgentVersions(AgentVersionsT&& value) { m_agentVersionsHasBeenSet = true; m_agentVersions.emplace_back(std::forward<AgentVersionsT>(value)); return *this; }
119
121
124 inline const Aws::Vector<EdgeModelStat>& GetModelStats() const { return m_modelStats; }
125 template<typename ModelStatsT = Aws::Vector<EdgeModelStat>>
126 void SetModelStats(ModelStatsT&& value) { m_modelStatsHasBeenSet = true; m_modelStats = std::forward<ModelStatsT>(value); }
127 template<typename ModelStatsT = Aws::Vector<EdgeModelStat>>
128 GetDeviceFleetReportResult& WithModelStats(ModelStatsT&& value) { SetModelStats(std::forward<ModelStatsT>(value)); return *this;}
129 template<typename ModelStatsT = EdgeModelStat>
130 GetDeviceFleetReportResult& AddModelStats(ModelStatsT&& value) { m_modelStatsHasBeenSet = true; m_modelStats.emplace_back(std::forward<ModelStatsT>(value)); return *this; }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 GetDeviceFleetReportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_deviceFleetArn;
144 bool m_deviceFleetArnHasBeenSet = false;
145
146 Aws::String m_deviceFleetName;
147 bool m_deviceFleetNameHasBeenSet = false;
148
149 EdgeOutputConfig m_outputConfig;
150 bool m_outputConfigHasBeenSet = false;
151
152 Aws::String m_description;
153 bool m_descriptionHasBeenSet = false;
154
155 Aws::Utils::DateTime m_reportGenerated{};
156 bool m_reportGeneratedHasBeenSet = false;
157
158 DeviceStats m_deviceStats;
159 bool m_deviceStatsHasBeenSet = false;
160
161 Aws::Vector<AgentVersion> m_agentVersions;
162 bool m_agentVersionsHasBeenSet = false;
163
164 Aws::Vector<EdgeModelStat> m_modelStats;
165 bool m_modelStatsHasBeenSet = false;
166
167 Aws::String m_requestId;
168 bool m_requestIdHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SageMaker
173} // namespace Aws
GetDeviceFleetReportResult & AddModelStats(ModelStatsT &&value)
GetDeviceFleetReportResult & WithOutputConfig(OutputConfigT &&value)
AWS_SAGEMAKER_API GetDeviceFleetReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceFleetReportResult & WithReportGenerated(ReportGeneratedT &&value)
const Aws::Vector< EdgeModelStat > & GetModelStats() const
GetDeviceFleetReportResult & WithDeviceFleetArn(DeviceFleetArnT &&value)
GetDeviceFleetReportResult & WithDeviceFleetName(DeviceFleetNameT &&value)
GetDeviceFleetReportResult & WithModelStats(ModelStatsT &&value)
GetDeviceFleetReportResult & WithDeviceStats(DeviceStatsT &&value)
const Aws::Vector< AgentVersion > & GetAgentVersions() const
GetDeviceFleetReportResult & AddAgentVersions(AgentVersionsT &&value)
AWS_SAGEMAKER_API GetDeviceFleetReportResult()=default
GetDeviceFleetReportResult & WithRequestId(RequestIdT &&value)
GetDeviceFleetReportResult & WithAgentVersions(AgentVersionsT &&value)
AWS_SAGEMAKER_API GetDeviceFleetReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceFleetReportResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue