7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker-edge/SagemakerEdgeManagerRequest.h>
10#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
11#include <aws/sagemaker-edge/model/DeploymentResult.h>
12#include <aws/sagemaker-edge/model/EdgeMetric.h>
13#include <aws/sagemaker-edge/model/Model.h>
18namespace SagemakerEdgeManager {
42 template <
typename AgentMetricsT = Aws::Vector<EdgeMetric>>
44 m_agentMetricsHasBeenSet =
true;
45 m_agentMetrics = std::forward<AgentMetricsT>(value);
47 template <
typename AgentMetricsT = Aws::Vector<EdgeMetric>>
52 template <
typename AgentMetricsT = EdgeMetric>
54 m_agentMetricsHasBeenSet =
true;
55 m_agentMetrics.emplace_back(std::forward<AgentMetricsT>(value));
66 template <
typename ModelsT = Aws::Vector<Model>>
68 m_modelsHasBeenSet =
true;
69 m_models = std::forward<ModelsT>(value);
71 template <
typename ModelsT = Aws::Vector<Model>>
76 template <
typename ModelsT = Model>
78 m_modelsHasBeenSet =
true;
79 m_models.emplace_back(std::forward<ModelsT>(value));
90 template <
typename AgentVersionT = Aws::String>
92 m_agentVersionHasBeenSet =
true;
93 m_agentVersion = std::forward<AgentVersionT>(value);
95 template <
typename AgentVersionT = Aws::String>
108 template <
typename DeviceNameT = Aws::String>
110 m_deviceNameHasBeenSet =
true;
111 m_deviceName = std::forward<DeviceNameT>(value);
113 template <
typename DeviceNameT = Aws::String>
126 template <
typename DeviceFleetNameT = Aws::String>
128 m_deviceFleetNameHasBeenSet =
true;
129 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
131 template <
typename DeviceFleetNameT = Aws::String>
144 template <
typename DeploymentResultT = DeploymentResult>
146 m_deploymentResultHasBeenSet =
true;
147 m_deploymentResult = std::forward<DeploymentResultT>(value);
149 template <
typename DeploymentResultT = DeploymentResult>
167 bool m_agentMetricsHasBeenSet =
false;
168 bool m_modelsHasBeenSet =
false;
169 bool m_agentVersionHasBeenSet =
false;
170 bool m_deviceNameHasBeenSet =
false;
171 bool m_deviceFleetNameHasBeenSet =
false;
172 bool m_deploymentResultHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Model > & GetModels() const
const Aws::Vector< EdgeMetric > & GetAgentMetrics() const
void SetDeviceName(DeviceNameT &&value)
bool DeviceFleetNameHasBeenSet() const
bool AgentMetricsHasBeenSet() const
SendHeartbeatRequest & WithModels(ModelsT &&value)
const Aws::String & GetAgentVersion() const
const Aws::String & GetDeviceName() const
bool AgentVersionHasBeenSet() const
const DeploymentResult & GetDeploymentResult() const
SendHeartbeatRequest & AddAgentMetrics(AgentMetricsT &&value)
SendHeartbeatRequest & WithAgentMetrics(AgentMetricsT &&value)
SendHeartbeatRequest & AddModels(ModelsT &&value)
bool DeviceNameHasBeenSet() const
void SetModels(ModelsT &&value)
const Aws::String & GetDeviceFleetName() const
void SetDeviceFleetName(DeviceFleetNameT &&value)
AWS_SAGEMAKEREDGEMANAGER_API SendHeartbeatRequest()=default
bool DeploymentResultHasBeenSet() const
void SetAgentMetrics(AgentMetricsT &&value)
SendHeartbeatRequest & WithDeviceName(DeviceNameT &&value)
SendHeartbeatRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
SendHeartbeatRequest & WithAgentVersion(AgentVersionT &&value)
SendHeartbeatRequest & WithDeploymentResult(DeploymentResultT &&value)
void SetDeploymentResult(DeploymentResultT &&value)
void SetAgentVersion(AgentVersionT &&value)
bool ModelsHasBeenSet() const
AWS_SAGEMAKEREDGEMANAGER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector