AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeviceFleetSummary.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API DeviceFleetSummary() = default;
36 AWS_SAGEMAKER_API DeviceFleetSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDeviceFleetArn() const { return m_deviceFleetArn; }
46 inline bool DeviceFleetArnHasBeenSet() const { return m_deviceFleetArnHasBeenSet; }
47 template<typename DeviceFleetArnT = Aws::String>
48 void SetDeviceFleetArn(DeviceFleetArnT&& value) { m_deviceFleetArnHasBeenSet = true; m_deviceFleetArn = std::forward<DeviceFleetArnT>(value); }
49 template<typename DeviceFleetArnT = Aws::String>
50 DeviceFleetSummary& WithDeviceFleetArn(DeviceFleetArnT&& value) { SetDeviceFleetArn(std::forward<DeviceFleetArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
58 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
59 template<typename DeviceFleetNameT = Aws::String>
60 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
61 template<typename DeviceFleetNameT = Aws::String>
62 DeviceFleetSummary& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
71 template<typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 DeviceFleetSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
82 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
83 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
84 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 DeviceFleetSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
88 private:
89
90 Aws::String m_deviceFleetArn;
91 bool m_deviceFleetArnHasBeenSet = false;
92
93 Aws::String m_deviceFleetName;
94 bool m_deviceFleetNameHasBeenSet = false;
95
96 Aws::Utils::DateTime m_creationTime{};
97 bool m_creationTimeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastModifiedTime{};
100 bool m_lastModifiedTimeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetDeviceFleetName(DeviceFleetNameT &&value)
DeviceFleetSummary & WithCreationTime(CreationTimeT &&value)
void SetDeviceFleetArn(DeviceFleetArnT &&value)
AWS_SAGEMAKER_API DeviceFleetSummary()=default
AWS_SAGEMAKER_API DeviceFleetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DeviceFleetSummary(Aws::Utils::Json::JsonView jsonValue)
DeviceFleetSummary & WithDeviceFleetName(DeviceFleetNameT &&value)
const Aws::String & GetDeviceFleetName() const
const Aws::String & GetDeviceFleetArn() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
DeviceFleetSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
DeviceFleetSummary & WithDeviceFleetArn(DeviceFleetArnT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue