AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectSummary.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/ProjectStatus.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 ProjectSummary();
37 AWS_SAGEMAKER_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProjectName() const{ return m_projectName; }
47 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
48 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
49 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
50 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
51 inline ProjectSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
52 inline ProjectSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
53 inline ProjectSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
55
57
60 inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
61 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
62 inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
63 inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
64 inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
65 inline ProjectSummary& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;}
66 inline ProjectSummary& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
67 inline ProjectSummary& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
69
71
74 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
75 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
76 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
77 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
78 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
79 inline ProjectSummary& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
80 inline ProjectSummary& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
81 inline ProjectSummary& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
83
85
88 inline const Aws::String& GetProjectId() const{ return m_projectId; }
89 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
90 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
91 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
92 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
93 inline ProjectSummary& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
94 inline ProjectSummary& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
95 inline ProjectSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
103 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
106 inline ProjectSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
107 inline ProjectSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
109
111
114 inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; }
115 inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; }
116 inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
117 inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatusHasBeenSet = true; m_projectStatus = std::move(value); }
118 inline ProjectSummary& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;}
119 inline ProjectSummary& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_projectName;
124 bool m_projectNameHasBeenSet = false;
125
126 Aws::String m_projectDescription;
127 bool m_projectDescriptionHasBeenSet = false;
128
129 Aws::String m_projectArn;
130 bool m_projectArnHasBeenSet = false;
131
132 Aws::String m_projectId;
133 bool m_projectIdHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationTime;
136 bool m_creationTimeHasBeenSet = false;
137
138 ProjectStatus m_projectStatus;
139 bool m_projectStatusHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
void SetProjectStatus(ProjectStatus &&value)
AWS_SAGEMAKER_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & WithProjectId(Aws::String &&value)
ProjectSummary & WithProjectArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const ProjectStatus & GetProjectStatus() const
ProjectSummary & WithProjectId(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ProjectSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProjectDescription() const
void SetProjectDescription(const char *value)
const Aws::String & GetProjectId() const
const Aws::String & GetProjectName() const
ProjectSummary & WithProjectStatus(ProjectStatus &&value)
void SetProjectId(Aws::String &&value)
ProjectSummary & WithProjectDescription(const Aws::String &value)
ProjectSummary & WithProjectName(Aws::String &&value)
ProjectSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ProjectSummary & WithProjectId(const char *value)
void SetProjectArn(const Aws::String &value)
void SetProjectName(Aws::String &&value)
ProjectSummary & WithProjectName(const char *value)
ProjectSummary & WithProjectArn(const Aws::String &value)
ProjectSummary & WithProjectName(const Aws::String &value)
ProjectSummary & WithProjectArn(Aws::String &&value)
void SetProjectName(const char *value)
void SetProjectName(const Aws::String &value)
void SetProjectDescription(const Aws::String &value)
void SetProjectArn(Aws::String &&value)
ProjectSummary & WithProjectStatus(const ProjectStatus &value)
void SetProjectStatus(const ProjectStatus &value)
void SetProjectArn(const char *value)
const Aws::String & GetProjectArn() const
void SetProjectId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ProjectSummary & WithProjectDescription(const char *value)
ProjectSummary & WithProjectDescription(Aws::String &&value)
void SetProjectId(const char *value)
void SetProjectDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue