AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UserProfileDetails.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/UserProfileStatus.h>
10#include <aws/core/utils/DateTime.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 UserProfileDetails() = default;
37 AWS_SAGEMAKER_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDomainId() const { return m_domainId; }
47 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
48 template<typename DomainIdT = Aws::String>
49 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
50 template<typename DomainIdT = Aws::String>
51 UserProfileDetails& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
59 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
60 template<typename UserProfileNameT = Aws::String>
61 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
62 template<typename UserProfileNameT = Aws::String>
63 UserProfileDetails& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
65
67
70 inline UserProfileStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(UserProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline UserProfileDetails& WithStatus(UserProfileStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
81 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
82 template<typename CreationTimeT = Aws::Utils::DateTime>
83 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 UserProfileDetails& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
93 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
94 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
95 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
96 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
97 UserProfileDetails& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
99 private:
100
101 Aws::String m_domainId;
102 bool m_domainIdHasBeenSet = false;
103
104 Aws::String m_userProfileName;
105 bool m_userProfileNameHasBeenSet = false;
106
108 bool m_statusHasBeenSet = false;
109
110 Aws::Utils::DateTime m_creationTime{};
111 bool m_creationTimeHasBeenSet = false;
112
113 Aws::Utils::DateTime m_lastModifiedTime{};
114 bool m_lastModifiedTimeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SageMaker
119} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
UserProfileDetails & WithUserProfileName(UserProfileNameT &&value)
AWS_SAGEMAKER_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
UserProfileDetails & WithDomainId(DomainIdT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(CreationTimeT &&value)
void SetUserProfileName(UserProfileNameT &&value)
const Aws::String & GetUserProfileName() const
UserProfileDetails & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API UserProfileDetails()=default
AWS_SAGEMAKER_API UserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
UserProfileDetails & WithStatus(UserProfileStatus value)
void SetStatus(UserProfileStatus value)
UserProfileDetails & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue