AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterSummary.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 <aws/sagemaker/model/ClusterStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ClusterSummary();
38 AWS_SAGEMAKER_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
48 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
49 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
50 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
51 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
52 inline ClusterSummary& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
53 inline ClusterSummary& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
54 inline ClusterSummary& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
56
58
61 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
62 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
63 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
64 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
65 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
66 inline ClusterSummary& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
67 inline ClusterSummary& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
68 inline ClusterSummary& WithClusterName(const char* value) { SetClusterName(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
78 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
79 inline ClusterSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
80 inline ClusterSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
82
84
87 inline const ClusterStatus& GetClusterStatus() const{ return m_clusterStatus; }
88 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
89 inline void SetClusterStatus(const ClusterStatus& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = value; }
90 inline void SetClusterStatus(ClusterStatus&& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = std::move(value); }
91 inline ClusterSummary& WithClusterStatus(const ClusterStatus& value) { SetClusterStatus(value); return *this;}
92 inline ClusterSummary& WithClusterStatus(ClusterStatus&& value) { SetClusterStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_clusterArn;
97 bool m_clusterArnHasBeenSet = false;
98
99 Aws::String m_clusterName;
100 bool m_clusterNameHasBeenSet = false;
101
102 Aws::Utils::DateTime m_creationTime;
103 bool m_creationTimeHasBeenSet = false;
104
105 ClusterStatus m_clusterStatus;
106 bool m_clusterStatusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SageMaker
111} // namespace Aws
void SetClusterName(const char *value)
const Aws::String & GetClusterArn() const
ClusterSummary & WithClusterName(const Aws::String &value)
void SetClusterName(Aws::String &&value)
ClusterSummary & WithClusterName(Aws::String &&value)
void SetClusterArn(const Aws::String &value)
AWS_SAGEMAKER_API ClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue)
void SetClusterArn(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetClusterName() const
void SetClusterStatus(ClusterStatus &&value)
const ClusterStatus & GetClusterStatus() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ClusterSummary & WithClusterStatus(ClusterStatus &&value)
ClusterSummary & WithClusterName(const char *value)
ClusterSummary & WithClusterArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ClusterSummary & WithClusterStatus(const ClusterStatus &value)
ClusterSummary & WithClusterArn(const char *value)
void SetClusterStatus(const ClusterStatus &value)
ClusterSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ClusterSummary & WithClusterArn(Aws::String &&value)
void SetClusterName(const Aws::String &value)
ClusterSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetClusterArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue