AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UserProfileDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/UserProfileStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API UserProfileDetails() = default;
32 AWS_SAGEMAKER_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
42 template <typename DomainIdT = Aws::String>
43 void SetDomainId(DomainIdT&& value) {
44 m_domainIdHasBeenSet = true;
45 m_domainId = std::forward<DomainIdT>(value);
46 }
47 template <typename DomainIdT = Aws::String>
48 UserProfileDetails& WithDomainId(DomainIdT&& value) {
49 SetDomainId(std::forward<DomainIdT>(value));
50 return *this;
51 }
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) {
62 m_userProfileNameHasBeenSet = true;
63 m_userProfileName = std::forward<UserProfileNameT>(value);
64 }
65 template <typename UserProfileNameT = Aws::String>
66 UserProfileDetails& WithUserProfileName(UserProfileNameT&& value) {
67 SetUserProfileName(std::forward<UserProfileNameT>(value));
68 return *this;
69 }
71
73
76 inline UserProfileStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(UserProfileStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 template <typename CreationTimeT = Aws::Utils::DateTime>
95 void SetCreationTime(CreationTimeT&& value) {
96 m_creationTimeHasBeenSet = true;
97 m_creationTime = std::forward<CreationTimeT>(value);
98 }
99 template <typename CreationTimeT = Aws::Utils::DateTime>
100 UserProfileDetails& WithCreationTime(CreationTimeT&& value) {
101 SetCreationTime(std::forward<CreationTimeT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
111 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
112 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
113 void SetLastModifiedTime(LastModifiedTimeT&& value) {
114 m_lastModifiedTimeHasBeenSet = true;
115 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
116 }
117 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
118 UserProfileDetails& WithLastModifiedTime(LastModifiedTimeT&& value) {
119 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_domainId;
125
126 Aws::String m_userProfileName;
127
129
130 Aws::Utils::DateTime m_creationTime{};
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133 bool m_domainIdHasBeenSet = false;
134 bool m_userProfileNameHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136 bool m_creationTimeHasBeenSet = false;
137 bool m_lastModifiedTimeHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SageMaker
142} // 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