AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClusterSchedulerConfigSummary.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/SchedulerResourceStatus.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
34 {
35 public:
36 AWS_SAGEMAKER_API ClusterSchedulerConfigSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetClusterSchedulerConfigArn() const { return m_clusterSchedulerConfigArn; }
47 inline bool ClusterSchedulerConfigArnHasBeenSet() const { return m_clusterSchedulerConfigArnHasBeenSet; }
48 template<typename ClusterSchedulerConfigArnT = Aws::String>
49 void SetClusterSchedulerConfigArn(ClusterSchedulerConfigArnT&& value) { m_clusterSchedulerConfigArnHasBeenSet = true; m_clusterSchedulerConfigArn = std::forward<ClusterSchedulerConfigArnT>(value); }
50 template<typename ClusterSchedulerConfigArnT = Aws::String>
51 ClusterSchedulerConfigSummary& WithClusterSchedulerConfigArn(ClusterSchedulerConfigArnT&& value) { SetClusterSchedulerConfigArn(std::forward<ClusterSchedulerConfigArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetClusterSchedulerConfigId() const { return m_clusterSchedulerConfigId; }
59 inline bool ClusterSchedulerConfigIdHasBeenSet() const { return m_clusterSchedulerConfigIdHasBeenSet; }
60 template<typename ClusterSchedulerConfigIdT = Aws::String>
61 void SetClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) { m_clusterSchedulerConfigIdHasBeenSet = true; m_clusterSchedulerConfigId = std::forward<ClusterSchedulerConfigIdT>(value); }
62 template<typename ClusterSchedulerConfigIdT = Aws::String>
63 ClusterSchedulerConfigSummary& WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) { SetClusterSchedulerConfigId(std::forward<ClusterSchedulerConfigIdT>(value)); return *this;}
65
67
70 inline int GetClusterSchedulerConfigVersion() const { return m_clusterSchedulerConfigVersion; }
71 inline bool ClusterSchedulerConfigVersionHasBeenSet() const { return m_clusterSchedulerConfigVersionHasBeenSet; }
72 inline void SetClusterSchedulerConfigVersion(int value) { m_clusterSchedulerConfigVersionHasBeenSet = true; m_clusterSchedulerConfigVersion = value; }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 ClusterSchedulerConfigSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
96 template<typename CreationTimeT = Aws::Utils::DateTime>
97 ClusterSchedulerConfigSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
105 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
106 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
107 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
108 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
109 ClusterSchedulerConfigSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
111
113
116 inline SchedulerResourceStatus GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(SchedulerResourceStatus value) { m_statusHasBeenSet = true; m_status = value; }
121
123
126 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
127 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
128 template<typename ClusterArnT = Aws::String>
129 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
130 template<typename ClusterArnT = Aws::String>
131 ClusterSchedulerConfigSummary& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
133 private:
134
135 Aws::String m_clusterSchedulerConfigArn;
136 bool m_clusterSchedulerConfigArnHasBeenSet = false;
137
138 Aws::String m_clusterSchedulerConfigId;
139 bool m_clusterSchedulerConfigIdHasBeenSet = false;
140
141 int m_clusterSchedulerConfigVersion{0};
142 bool m_clusterSchedulerConfigVersionHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationTime{};
148 bool m_creationTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedTime{};
151 bool m_lastModifiedTimeHasBeenSet = false;
152
154 bool m_statusHasBeenSet = false;
155
156 Aws::String m_clusterArn;
157 bool m_clusterArnHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SageMaker
162} // namespace Aws
ClusterSchedulerConfigSummary & WithCreationTime(CreationTimeT &&value)
void SetClusterSchedulerConfigArn(ClusterSchedulerConfigArnT &&value)
ClusterSchedulerConfigSummary & WithClusterArn(ClusterArnT &&value)
ClusterSchedulerConfigSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ClusterSchedulerConfigSummary & WithClusterSchedulerConfigVersion(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterSchedulerConfigSummary & WithClusterSchedulerConfigArn(ClusterSchedulerConfigArnT &&value)
ClusterSchedulerConfigSummary & WithName(NameT &&value)
void SetClusterSchedulerConfigId(ClusterSchedulerConfigIdT &&value)
ClusterSchedulerConfigSummary & WithStatus(SchedulerResourceStatus value)
ClusterSchedulerConfigSummary & WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT &&value)
AWS_SAGEMAKER_API ClusterSchedulerConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterSchedulerConfigSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterSchedulerConfigSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue