AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/AppType.h>
10#include <aws/sagemaker/model/AppStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/ResourceSpec.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SAGEMAKER_API AppDetails();
39 AWS_SAGEMAKER_API AppDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API AppDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDomainId() const{ return m_domainId; }
49 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
50 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
51 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
52 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
53 inline AppDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
54 inline AppDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
55 inline AppDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
57
59
62 inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
63 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
64 inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
65 inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
66 inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
67 inline AppDetails& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
68 inline AppDetails& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
69 inline AppDetails& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
71
73
76 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
77 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
78 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
79 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
80 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
81 inline AppDetails& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
82 inline AppDetails& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
83 inline AppDetails& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
85
87
90 inline const AppType& GetAppType() const{ return m_appType; }
91 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
92 inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
93 inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
94 inline AppDetails& WithAppType(const AppType& value) { SetAppType(value); return *this;}
95 inline AppDetails& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetAppName() const{ return m_appName; }
103 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
104 inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
105 inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
106 inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
107 inline AppDetails& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
108 inline AppDetails& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
109 inline AppDetails& WithAppName(const char* value) { SetAppName(value); return *this;}
111
113
116 inline const AppStatus& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const AppStatus& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(AppStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline AppDetails& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
121 inline AppDetails& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
130 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
131 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
132 inline AppDetails& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
133 inline AppDetails& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
135
137
138 inline const ResourceSpec& GetResourceSpec() const{ return m_resourceSpec; }
139 inline bool ResourceSpecHasBeenSet() const { return m_resourceSpecHasBeenSet; }
140 inline void SetResourceSpec(const ResourceSpec& value) { m_resourceSpecHasBeenSet = true; m_resourceSpec = value; }
141 inline void SetResourceSpec(ResourceSpec&& value) { m_resourceSpecHasBeenSet = true; m_resourceSpec = std::move(value); }
142 inline AppDetails& WithResourceSpec(const ResourceSpec& value) { SetResourceSpec(value); return *this;}
143 inline AppDetails& WithResourceSpec(ResourceSpec&& value) { SetResourceSpec(std::move(value)); return *this;}
145 private:
146
147 Aws::String m_domainId;
148 bool m_domainIdHasBeenSet = false;
149
150 Aws::String m_userProfileName;
151 bool m_userProfileNameHasBeenSet = false;
152
153 Aws::String m_spaceName;
154 bool m_spaceNameHasBeenSet = false;
155
156 AppType m_appType;
157 bool m_appTypeHasBeenSet = false;
158
159 Aws::String m_appName;
160 bool m_appNameHasBeenSet = false;
161
162 AppStatus m_status;
163 bool m_statusHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationTime;
166 bool m_creationTimeHasBeenSet = false;
167
168 ResourceSpec m_resourceSpec;
169 bool m_resourceSpecHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace SageMaker
174} // namespace Aws
AppDetails & WithCreationTime(Aws::Utils::DateTime &&value)
Definition AppDetails.h:133
void SetUserProfileName(const Aws::String &value)
Definition AppDetails.h:64
AppDetails & WithAppType(AppType &&value)
Definition AppDetails.h:95
const AppType & GetAppType() const
Definition AppDetails.h:90
void SetStatus(const AppStatus &value)
Definition AppDetails.h:118
void SetDomainId(Aws::String &&value)
Definition AppDetails.h:51
void SetUserProfileName(const char *value)
Definition AppDetails.h:66
AppDetails & WithDomainId(const Aws::String &value)
Definition AppDetails.h:53
AppDetails & WithDomainId(const char *value)
Definition AppDetails.h:55
AppDetails & WithResourceSpec(const ResourceSpec &value)
Definition AppDetails.h:142
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition AppDetails.h:130
AppDetails & WithSpaceName(const char *value)
Definition AppDetails.h:83
AppDetails & WithCreationTime(const Aws::Utils::DateTime &value)
Definition AppDetails.h:132
void SetDomainId(const char *value)
Definition AppDetails.h:52
AWS_SAGEMAKER_API AppDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserProfileName() const
Definition AppDetails.h:62
AppDetails & WithStatus(const AppStatus &value)
Definition AppDetails.h:120
const ResourceSpec & GetResourceSpec() const
Definition AppDetails.h:138
AppDetails & WithSpaceName(Aws::String &&value)
Definition AppDetails.h:82
void SetAppName(Aws::String &&value)
Definition AppDetails.h:105
AppDetails & WithAppName(const char *value)
Definition AppDetails.h:109
AppDetails & WithUserProfileName(const char *value)
Definition AppDetails.h:69
AppDetails & WithSpaceName(const Aws::String &value)
Definition AppDetails.h:81
AppDetails & WithDomainId(Aws::String &&value)
Definition AppDetails.h:54
void SetAppType(AppType &&value)
Definition AppDetails.h:93
AWS_SAGEMAKER_API AppDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainId(const Aws::String &value)
Definition AppDetails.h:50
void SetSpaceName(const Aws::String &value)
Definition AppDetails.h:78
const Aws::String & GetDomainId() const
Definition AppDetails.h:48
AppDetails & WithAppName(const Aws::String &value)
Definition AppDetails.h:107
void SetAppName(const char *value)
Definition AppDetails.h:106
AppDetails & WithAppType(const AppType &value)
Definition AppDetails.h:94
void SetSpaceName(Aws::String &&value)
Definition AppDetails.h:79
const Aws::String & GetSpaceName() const
Definition AppDetails.h:76
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition AppDetails.h:131
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpaceName(const char *value)
Definition AppDetails.h:80
AppDetails & WithStatus(AppStatus &&value)
Definition AppDetails.h:121
void SetResourceSpec(ResourceSpec &&value)
Definition AppDetails.h:141
const AppStatus & GetStatus() const
Definition AppDetails.h:116
void SetUserProfileName(Aws::String &&value)
Definition AppDetails.h:65
AppDetails & WithUserProfileName(const Aws::String &value)
Definition AppDetails.h:67
AppDetails & WithResourceSpec(ResourceSpec &&value)
Definition AppDetails.h:143
void SetAppName(const Aws::String &value)
Definition AppDetails.h:104
const Aws::String & GetAppName() const
Definition AppDetails.h:102
AppDetails & WithAppName(Aws::String &&value)
Definition AppDetails.h:108
const Aws::Utils::DateTime & GetCreationTime() const
Definition AppDetails.h:128
void SetStatus(AppStatus &&value)
Definition AppDetails.h:119
AWS_SAGEMAKER_API AppDetails()
AppDetails & WithUserProfileName(Aws::String &&value)
Definition AppDetails.h:68
void SetResourceSpec(const ResourceSpec &value)
Definition AppDetails.h:140
void SetAppType(const AppType &value)
Definition AppDetails.h:92
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue