AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeviceFleetArn(const Aws::String& value) { m_deviceFleetArnHasBeenSet = true; m_deviceFleetArn = value; }
48 inline void SetDeviceFleetArn(Aws::String&& value) { m_deviceFleetArnHasBeenSet = true; m_deviceFleetArn = std::move(value); }
49 inline void SetDeviceFleetArn(const char* value) { m_deviceFleetArnHasBeenSet = true; m_deviceFleetArn.assign(value); }
50 inline DeviceFleetSummary& WithDeviceFleetArn(const Aws::String& value) { SetDeviceFleetArn(value); return *this;}
51 inline DeviceFleetSummary& WithDeviceFleetArn(Aws::String&& value) { SetDeviceFleetArn(std::move(value)); return *this;}
52 inline DeviceFleetSummary& WithDeviceFleetArn(const char* value) { SetDeviceFleetArn(value); return *this;}
54
56
59 inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
60 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
61 inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
62 inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
63 inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
64 inline DeviceFleetSummary& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
65 inline DeviceFleetSummary& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
66 inline DeviceFleetSummary& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
74 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
75 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
76 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
77 inline DeviceFleetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
78 inline DeviceFleetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
86 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
87 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
88 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
90 inline DeviceFleetSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_deviceFleetArn;
95 bool m_deviceFleetArnHasBeenSet = false;
96
97 Aws::String m_deviceFleetName;
98 bool m_deviceFleetNameHasBeenSet = false;
99
100 Aws::Utils::DateTime m_creationTime;
101 bool m_creationTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_lastModifiedTime;
104 bool m_lastModifiedTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SageMaker
109} // namespace Aws
DeviceFleetSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DeviceFleetSummary & WithDeviceFleetArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
DeviceFleetSummary & WithDeviceFleetName(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DeviceFleetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDeviceFleetName(const Aws::String &value)
AWS_SAGEMAKER_API DeviceFleetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API DeviceFleetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(const Aws::Utils::DateTime &value)
DeviceFleetSummary & WithDeviceFleetArn(const char *value)
const Aws::String & GetDeviceFleetName() const
DeviceFleetSummary & WithDeviceFleetName(const Aws::String &value)
void SetDeviceFleetArn(const Aws::String &value)
DeviceFleetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDeviceFleetArn() const
DeviceFleetSummary & WithDeviceFleetArn(const Aws::String &value)
DeviceFleetSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DeviceFleetSummary & WithDeviceFleetName(const char *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