AWS SDK for C++  1.9.155
AWS SDK for C++
AppDetails.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDomainId() const{ return m_domainId; }
47 
51  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
52 
56  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
57 
61  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
62 
66  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
67 
71  inline AppDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
72 
76  inline AppDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
77 
81  inline AppDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
82 
83 
87  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
88 
92  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
93 
97  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
98 
102  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
103 
107  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
108 
112  inline AppDetails& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
113 
117  inline AppDetails& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
118 
122  inline AppDetails& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
123 
124 
128  inline const AppType& GetAppType() const{ return m_appType; }
129 
133  inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
134 
138  inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
139 
143  inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
144 
148  inline AppDetails& WithAppType(const AppType& value) { SetAppType(value); return *this;}
149 
153  inline AppDetails& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
154 
155 
159  inline const Aws::String& GetAppName() const{ return m_appName; }
160 
164  inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
165 
169  inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
170 
174  inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
175 
179  inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
180 
184  inline AppDetails& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
185 
189  inline AppDetails& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
190 
194  inline AppDetails& WithAppName(const char* value) { SetAppName(value); return *this;}
195 
196 
200  inline const AppStatus& GetStatus() const{ return m_status; }
201 
205  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
206 
210  inline void SetStatus(const AppStatus& value) { m_statusHasBeenSet = true; m_status = value; }
211 
215  inline void SetStatus(AppStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
216 
220  inline AppDetails& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
221 
225  inline AppDetails& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
226 
227 
231  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
232 
236  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
237 
241  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
242 
246  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
247 
251  inline AppDetails& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
252 
256  inline AppDetails& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
257 
258  private:
259 
260  Aws::String m_domainId;
261  bool m_domainIdHasBeenSet;
262 
263  Aws::String m_userProfileName;
264  bool m_userProfileNameHasBeenSet;
265 
266  AppType m_appType;
267  bool m_appTypeHasBeenSet;
268 
269  Aws::String m_appName;
270  bool m_appNameHasBeenSet;
271 
272  AppStatus m_status;
273  bool m_statusHasBeenSet;
274 
275  Aws::Utils::DateTime m_creationTime;
276  bool m_creationTimeHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace SageMaker
281 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::AppDetails::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: AppDetails.h:246
Aws::SageMaker::Model::AppDetails
Definition: AppDetails.h:35
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AppDetails::SetAppName
void SetAppName(Aws::String &&value)
Definition: AppDetails.h:174
Aws::SageMaker::Model::AppDetails::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: AppDetails.h:61
Aws::SageMaker::Model::AppDetails::WithDomainId
AppDetails & WithDomainId(const char *value)
Definition: AppDetails.h:81
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AppDetails::AppNameHasBeenSet
bool AppNameHasBeenSet() const
Definition: AppDetails.h:164
Aws::SageMaker::Model::AppDetails::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: AppDetails.h:236
Aws::SageMaker::Model::AppDetails::SetStatus
void SetStatus(AppStatus &&value)
Definition: AppDetails.h:215
Aws::SageMaker::Model::AppDetails::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: AppDetails.h:241
Aws::SageMaker::Model::AppDetails::WithAppType
AppDetails & WithAppType(AppType &&value)
Definition: AppDetails.h:153
Aws::SageMaker::Model::AppDetails::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: AppDetails.h:97
Aws::SageMaker::Model::AppType
AppType
Definition: AppType.h:17
Aws::SageMaker::Model::AppDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DateTime.h
Aws::SageMaker::Model::AppDetails::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: AppDetails.h:51
Aws::SageMaker::Model::AppDetails::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: AppDetails.h:56
Aws::SageMaker::Model::AppDetails::SetAppType
void SetAppType(const AppType &value)
Definition: AppDetails.h:138
Aws::SageMaker::Model::AppDetails::WithUserProfileName
AppDetails & WithUserProfileName(const Aws::String &value)
Definition: AppDetails.h:112
Aws::SageMaker::Model::AppDetails::WithCreationTime
AppDetails & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: AppDetails.h:256
Aws::SageMaker::Model::AppDetails::WithAppName
AppDetails & WithAppName(const char *value)
Definition: AppDetails.h:194
Aws::SageMaker::Model::AppDetails::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: AppDetails.h:92
Aws::SageMaker::Model::AppDetails::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: AppDetails.h:87
Aws::SageMaker::Model::AppDetails::WithDomainId
AppDetails & WithDomainId(Aws::String &&value)
Definition: AppDetails.h:76
Aws::SageMaker::Model::AppDetails::WithUserProfileName
AppDetails & WithUserProfileName(const char *value)
Definition: AppDetails.h:122
AppType.h
AppStatus.h
Aws::SageMaker::Model::AppDetails::GetAppName
const Aws::String & GetAppName() const
Definition: AppDetails.h:159
Aws::SageMaker::Model::AppDetails::operator=
AppDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AppDetails::WithAppName
AppDetails & WithAppName(const Aws::String &value)
Definition: AppDetails.h:184
Aws::SageMaker::Model::AppDetails::WithUserProfileName
AppDetails & WithUserProfileName(Aws::String &&value)
Definition: AppDetails.h:117
Aws::SageMaker::Model::AppDetails::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: AppDetails.h:231
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AppDetails::GetAppType
const AppType & GetAppType() const
Definition: AppDetails.h:128
Aws::SageMaker::Model::AppDetails::WithDomainId
AppDetails & WithDomainId(const Aws::String &value)
Definition: AppDetails.h:71
Aws::SageMaker::Model::AppDetails::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: AppDetails.h:102
Aws::SageMaker::Model::AppDetails::GetDomainId
const Aws::String & GetDomainId() const
Definition: AppDetails.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::AppStatus
AppStatus
Definition: AppStatus.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AppDetails::AppTypeHasBeenSet
bool AppTypeHasBeenSet() const
Definition: AppDetails.h:133
Aws::SageMaker::Model::AppDetails::SetAppName
void SetAppName(const char *value)
Definition: AppDetails.h:179
Aws::SageMaker::Model::AppDetails::SetDomainId
void SetDomainId(const char *value)
Definition: AppDetails.h:66
Aws::SageMaker::Model::AppDetails::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: AppDetails.h:107
Aws::SageMaker::Model::AppDetails::AppDetails
AppDetails()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AppDetails::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AppDetails.h:205
Aws::SageMaker::Model::AppDetails::WithCreationTime
AppDetails & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: AppDetails.h:251
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AppDetails::WithAppType
AppDetails & WithAppType(const AppType &value)
Definition: AppDetails.h:148
Aws::SageMaker::Model::AppDetails::SetStatus
void SetStatus(const AppStatus &value)
Definition: AppDetails.h:210
Aws::SageMaker::Model::AppDetails::AppDetails
AppDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AppDetails::WithStatus
AppDetails & WithStatus(AppStatus &&value)
Definition: AppDetails.h:225
Aws::SageMaker::Model::AppDetails::SetAppType
void SetAppType(AppType &&value)
Definition: AppDetails.h:143
Aws::SageMaker::Model::AppDetails::SetAppName
void SetAppName(const Aws::String &value)
Definition: AppDetails.h:169
Aws::SageMaker::Model::AppDetails::WithStatus
AppDetails & WithStatus(const AppStatus &value)
Definition: AppDetails.h:220
Aws::SageMaker::Model::AppDetails::WithAppName
AppDetails & WithAppName(Aws::String &&value)
Definition: AppDetails.h:189
Aws::SageMaker::Model::AppDetails::GetStatus
const AppStatus & GetStatus() const
Definition: AppDetails.h:200