AWS SDK for C++  1.9.157
AWS SDK for C++
UserProfileDetails.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDomainId() const{ return m_domainId; }
46 
50  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
51 
55  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
56 
60  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
61 
65  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
66 
70  inline UserProfileDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
71 
75  inline UserProfileDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
76 
80  inline UserProfileDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
81 
82 
86  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
87 
91  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
92 
96  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
97 
101  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
102 
106  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
107 
111  inline UserProfileDetails& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
112 
116  inline UserProfileDetails& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
117 
121  inline UserProfileDetails& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
122 
123 
127  inline const UserProfileStatus& GetStatus() const{ return m_status; }
128 
132  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 
137  inline void SetStatus(const UserProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
138 
142  inline void SetStatus(UserProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
143 
147  inline UserProfileDetails& WithStatus(const UserProfileStatus& value) { SetStatus(value); return *this;}
148 
152  inline UserProfileDetails& WithStatus(UserProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
153 
154 
158  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
159 
163  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
164 
168  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
169 
173  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
174 
178  inline UserProfileDetails& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
179 
183  inline UserProfileDetails& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
184 
185 
189  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
190 
194  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
195 
199  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
200 
204  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
205 
209  inline UserProfileDetails& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
210 
214  inline UserProfileDetails& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
215 
216  private:
217 
218  Aws::String m_domainId;
219  bool m_domainIdHasBeenSet;
220 
221  Aws::String m_userProfileName;
222  bool m_userProfileNameHasBeenSet;
223 
224  UserProfileStatus m_status;
225  bool m_statusHasBeenSet;
226 
227  Aws::Utils::DateTime m_creationTime;
228  bool m_creationTimeHasBeenSet;
229 
230  Aws::Utils::DateTime m_lastModifiedTime;
231  bool m_lastModifiedTimeHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace SageMaker
236 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UserProfileDetails::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: UserProfileDetails.h:163
Aws::SageMaker::Model::UserProfileDetails::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: UserProfileDetails.h:60
SageMaker_EXPORTS.h
UserProfileStatus.h
Aws::SageMaker::Model::UserProfileDetails::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: UserProfileDetails.h:189
Aws::SageMaker::Model::UserProfileDetails::UserProfileDetails
UserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserProfileDetails::WithStatus
UserProfileDetails & WithStatus(const UserProfileStatus &value)
Definition: UserProfileDetails.h:147
Aws::SageMaker::Model::UserProfileDetails::SetStatus
void SetStatus(const UserProfileStatus &value)
Definition: UserProfileDetails.h:137
Aws::SageMaker::Model::UserProfileStatus
UserProfileStatus
Definition: UserProfileStatus.h:17
Aws::SageMaker::Model::UserProfileDetails::UserProfileDetails
UserProfileDetails()
Aws::SageMaker::Model::UserProfileDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UserProfileDetails
Definition: UserProfileDetails.h:34
DateTime.h
Aws::SageMaker::Model::UserProfileDetails::SetStatus
void SetStatus(UserProfileStatus &&value)
Definition: UserProfileDetails.h:142
Aws::SageMaker::Model::UserProfileDetails::GetDomainId
const Aws::String & GetDomainId() const
Definition: UserProfileDetails.h:45
Aws::SageMaker::Model::UserProfileDetails::WithLastModifiedTime
UserProfileDetails & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: UserProfileDetails.h:214
Aws::SageMaker::Model::UserProfileDetails::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: UserProfileDetails.h:204
Aws::SageMaker::Model::UserProfileDetails::WithCreationTime
UserProfileDetails & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: UserProfileDetails.h:178
Aws::SageMaker::Model::UserProfileDetails::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: UserProfileDetails.h:106
Aws::SageMaker::Model::UserProfileDetails::WithDomainId
UserProfileDetails & WithDomainId(const Aws::String &value)
Definition: UserProfileDetails.h:70
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UserProfileDetails::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: UserProfileDetails.h:194
Aws::SageMaker::Model::UserProfileDetails::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: UserProfileDetails.h:158
Aws::SageMaker::Model::UserProfileDetails::WithDomainId
UserProfileDetails & WithDomainId(const char *value)
Definition: UserProfileDetails.h:80
Aws::SageMaker::Model::UserProfileDetails::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UserProfileDetails.h:132
Aws::SageMaker::Model::UserProfileDetails::WithUserProfileName
UserProfileDetails & WithUserProfileName(Aws::String &&value)
Definition: UserProfileDetails.h:116
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::UserProfileDetails::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: UserProfileDetails.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::UserProfileDetails::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: UserProfileDetails.h:86
Aws::SageMaker::Model::UserProfileDetails::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: UserProfileDetails.h:50
Aws::SageMaker::Model::UserProfileDetails::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: UserProfileDetails.h:173
Aws::SageMaker::Model::UserProfileDetails::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: UserProfileDetails.h:168
Aws::SageMaker::Model::UserProfileDetails::SetDomainId
void SetDomainId(const char *value)
Definition: UserProfileDetails.h:65
Aws::SageMaker::Model::UserProfileDetails::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: UserProfileDetails.h:91
Aws::SageMaker::Model::UserProfileDetails::GetStatus
const UserProfileStatus & GetStatus() const
Definition: UserProfileDetails.h:127
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UserProfileDetails::WithStatus
UserProfileDetails & WithStatus(UserProfileStatus &&value)
Definition: UserProfileDetails.h:152
Aws::SageMaker::Model::UserProfileDetails::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: UserProfileDetails.h:55
Aws::SageMaker::Model::UserProfileDetails::WithUserProfileName
UserProfileDetails & WithUserProfileName(const char *value)
Definition: UserProfileDetails.h:121
Aws::SageMaker::Model::UserProfileDetails::WithCreationTime
UserProfileDetails & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: UserProfileDetails.h:183
Aws::SageMaker::Model::UserProfileDetails::WithDomainId
UserProfileDetails & WithDomainId(Aws::String &&value)
Definition: UserProfileDetails.h:75
Aws::SageMaker::Model::UserProfileDetails::WithUserProfileName
UserProfileDetails & WithUserProfileName(const Aws::String &value)
Definition: UserProfileDetails.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UserProfileDetails::operator=
UserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::UserProfileDetails::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: UserProfileDetails.h:199
Aws::SageMaker::Model::UserProfileDetails::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: UserProfileDetails.h:96
Aws::SageMaker::Model::UserProfileDetails::WithLastModifiedTime
UserProfileDetails & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: UserProfileDetails.h:209