AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeviceFleetSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29 public:
30 AWS_SAGEMAKER_API DeviceFleetSummary() = default;
31 AWS_SAGEMAKER_API DeviceFleetSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDeviceFleetArn() const { return m_deviceFleetArn; }
40 inline bool DeviceFleetArnHasBeenSet() const { return m_deviceFleetArnHasBeenSet; }
41 template <typename DeviceFleetArnT = Aws::String>
42 void SetDeviceFleetArn(DeviceFleetArnT&& value) {
43 m_deviceFleetArnHasBeenSet = true;
44 m_deviceFleetArn = std::forward<DeviceFleetArnT>(value);
45 }
46 template <typename DeviceFleetArnT = Aws::String>
47 DeviceFleetSummary& WithDeviceFleetArn(DeviceFleetArnT&& value) {
48 SetDeviceFleetArn(std::forward<DeviceFleetArnT>(value));
49 return *this;
50 }
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) {
61 m_deviceFleetNameHasBeenSet = true;
62 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
63 }
64 template <typename DeviceFleetNameT = Aws::String>
65 DeviceFleetSummary& WithDeviceFleetName(DeviceFleetNameT&& value) {
66 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) {
79 m_creationTimeHasBeenSet = true;
80 m_creationTime = std::forward<CreationTimeT>(value);
81 }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 DeviceFleetSummary& WithCreationTime(CreationTimeT&& value) {
84 SetCreationTime(std::forward<CreationTimeT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
94 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
95 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
96 void SetLastModifiedTime(LastModifiedTimeT&& value) {
97 m_lastModifiedTimeHasBeenSet = true;
98 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
99 }
100 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
101 DeviceFleetSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
102 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_deviceFleetArn;
108
109 Aws::String m_deviceFleetName;
110
111 Aws::Utils::DateTime m_creationTime{};
112
113 Aws::Utils::DateTime m_lastModifiedTime{};
114 bool m_deviceFleetArnHasBeenSet = false;
115 bool m_deviceFleetNameHasBeenSet = false;
116 bool m_creationTimeHasBeenSet = false;
117 bool m_lastModifiedTimeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SageMaker
122} // 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