7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/EdgeModelSummary.h>
49 template<
typename DeviceNameT = Aws::String>
50 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
51 template<
typename DeviceNameT = Aws::String>
61 template<
typename DeviceArnT = Aws::String>
62 void SetDeviceArn(DeviceArnT&& value) { m_deviceArnHasBeenSet =
true; m_deviceArn = std::forward<DeviceArnT>(value); }
63 template<
typename DeviceArnT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
85 template<
typename DeviceFleetNameT = Aws::String>
86 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet =
true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
87 template<
typename DeviceFleetNameT = Aws::String>
98 template<
typename IotThingNameT = Aws::String>
99 void SetIotThingName(IotThingNameT&& value) { m_iotThingNameHasBeenSet =
true; m_iotThingName = std::forward<IotThingNameT>(value); }
100 template<
typename IotThingNameT = Aws::String>
110 template<
typename RegistrationTimeT = Aws::Utils::DateTime>
111 void SetRegistrationTime(RegistrationTimeT&& value) { m_registrationTimeHasBeenSet =
true; m_registrationTime = std::forward<RegistrationTimeT>(value); }
112 template<
typename RegistrationTimeT = Aws::Utils::DateTime>
122 template<
typename LatestHeartbeatT = Aws::Utils::DateTime>
123 void SetLatestHeartbeat(LatestHeartbeatT&& value) { m_latestHeartbeatHasBeenSet =
true; m_latestHeartbeat = std::forward<LatestHeartbeatT>(value); }
124 template<
typename LatestHeartbeatT = Aws::Utils::DateTime>
134 template<
typename ModelsT = Aws::Vector<EdgeModelSummary>>
135 void SetModels(ModelsT&& value) { m_modelsHasBeenSet =
true; m_models = std::forward<ModelsT>(value); }
136 template<
typename ModelsT = Aws::Vector<EdgeModelSummary>>
138 template<
typename ModelsT = EdgeModelSummary>
139 DeviceSummary&
AddModels(ModelsT&& value) { m_modelsHasBeenSet =
true; m_models.emplace_back(std::forward<ModelsT>(value));
return *
this; }
148 template<
typename AgentVersionT = Aws::String>
149 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
150 template<
typename AgentVersionT = Aws::String>
156 bool m_deviceNameHasBeenSet =
false;
159 bool m_deviceArnHasBeenSet =
false;
162 bool m_descriptionHasBeenSet =
false;
165 bool m_deviceFleetNameHasBeenSet =
false;
168 bool m_iotThingNameHasBeenSet =
false;
171 bool m_registrationTimeHasBeenSet =
false;
174 bool m_latestHeartbeatHasBeenSet =
false;
177 bool m_modelsHasBeenSet =
false;
180 bool m_agentVersionHasBeenSet =
false;
DeviceSummary & WithRegistrationTime(RegistrationTimeT &&value)
const Aws::String & GetDeviceName() const
const Aws::Utils::DateTime & GetLatestHeartbeat() const
void SetDeviceArn(DeviceArnT &&value)
const Aws::String & GetIotThingName() const
bool DeviceNameHasBeenSet() const
const Aws::String & GetAgentVersion() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDeviceFleetName() const
const Aws::String & GetDeviceArn() const
DeviceSummary & WithAgentVersion(AgentVersionT &&value)
void SetIotThingName(IotThingNameT &&value)
bool IotThingNameHasBeenSet() const
const Aws::Utils::DateTime & GetRegistrationTime() const
void SetRegistrationTime(RegistrationTimeT &&value)
const Aws::Vector< EdgeModelSummary > & GetModels() const
void SetDescription(DescriptionT &&value)
DeviceSummary & WithDescription(DescriptionT &&value)
bool DeviceFleetNameHasBeenSet() const
DeviceSummary & WithDeviceName(DeviceNameT &&value)
bool LatestHeartbeatHasBeenSet() const
const Aws::String & GetDescription() const
bool ModelsHasBeenSet() const
DeviceSummary & AddModels(ModelsT &&value)
bool RegistrationTimeHasBeenSet() const
bool AgentVersionHasBeenSet() const
void SetLatestHeartbeat(LatestHeartbeatT &&value)
AWS_SAGEMAKER_API DeviceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAgentVersion(AgentVersionT &&value)
DeviceSummary & WithLatestHeartbeat(LatestHeartbeatT &&value)
void SetDeviceFleetName(DeviceFleetNameT &&value)
DeviceSummary & WithDeviceFleetName(DeviceFleetNameT &&value)
AWS_SAGEMAKER_API DeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModels(ModelsT &&value)
void SetDeviceName(DeviceNameT &&value)
AWS_SAGEMAKER_API DeviceSummary()=default
bool DeviceArnHasBeenSet() const
bool DescriptionHasBeenSet() const
DeviceSummary & WithModels(ModelsT &&value)
DeviceSummary & WithIotThingName(IotThingNameT &&value)
DeviceSummary & WithDeviceArn(DeviceArnT &&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