AWS SDK for C++  1.9.108
AWS SDK for C++
UserContext.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUserProfileArn() const{ return m_userProfileArn; }
45 
49  inline bool UserProfileArnHasBeenSet() const { return m_userProfileArnHasBeenSet; }
50 
54  inline void SetUserProfileArn(const Aws::String& value) { m_userProfileArnHasBeenSet = true; m_userProfileArn = value; }
55 
59  inline void SetUserProfileArn(Aws::String&& value) { m_userProfileArnHasBeenSet = true; m_userProfileArn = std::move(value); }
60 
64  inline void SetUserProfileArn(const char* value) { m_userProfileArnHasBeenSet = true; m_userProfileArn.assign(value); }
65 
69  inline UserContext& WithUserProfileArn(const Aws::String& value) { SetUserProfileArn(value); return *this;}
70 
74  inline UserContext& WithUserProfileArn(Aws::String&& value) { SetUserProfileArn(std::move(value)); return *this;}
75 
79  inline UserContext& WithUserProfileArn(const char* value) { SetUserProfileArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
86 
90  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
91 
95  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
96 
100  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
101 
105  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
106 
110  inline UserContext& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
111 
115  inline UserContext& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
116 
120  inline UserContext& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
121 
122 
126  inline const Aws::String& GetDomainId() const{ return m_domainId; }
127 
131  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
132 
136  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
137 
141  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
142 
146  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
147 
151  inline UserContext& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
152 
156  inline UserContext& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
157 
161  inline UserContext& WithDomainId(const char* value) { SetDomainId(value); return *this;}
162 
163  private:
164 
165  Aws::String m_userProfileArn;
166  bool m_userProfileArnHasBeenSet;
167 
168  Aws::String m_userProfileName;
169  bool m_userProfileNameHasBeenSet;
170 
171  Aws::String m_domainId;
172  bool m_domainIdHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace SageMaker
177 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UserContext::UserProfileArnHasBeenSet
bool UserProfileArnHasBeenSet() const
Definition: UserContext.h:49
Aws::SageMaker::Model::UserContext::WithUserProfileArn
UserContext & WithUserProfileArn(const char *value)
Definition: UserContext.h:79
Aws::SageMaker::Model::UserContext::WithUserProfileArn
UserContext & WithUserProfileArn(Aws::String &&value)
Definition: UserContext.h:74
Aws::SageMaker::Model::UserContext::WithUserProfileName
UserContext & WithUserProfileName(const char *value)
Definition: UserContext.h:120
Aws::SageMaker::Model::UserContext::WithUserProfileName
UserContext & WithUserProfileName(const Aws::String &value)
Definition: UserContext.h:110
Aws::SageMaker::Model::UserContext::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: UserContext.h:85
Aws::SageMaker::Model::UserContext::GetDomainId
const Aws::String & GetDomainId() const
Definition: UserContext.h:126
Aws::SageMaker::Model::UserContext::UserContext
UserContext(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UserContext::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: UserContext.h:105
Aws::SageMaker::Model::UserContext::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: UserContext.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::UserContext::WithDomainId
UserContext & WithDomainId(const Aws::String &value)
Definition: UserContext.h:151
Aws::SageMaker::Model::UserContext::SetUserProfileArn
void SetUserProfileArn(Aws::String &&value)
Definition: UserContext.h:59
Aws::SageMaker::Model::UserContext::WithUserProfileArn
UserContext & WithUserProfileArn(const Aws::String &value)
Definition: UserContext.h:69
Aws::SageMaker::Model::UserContext::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: UserContext.h:131
Aws::SageMaker::Model::UserContext::SetDomainId
void SetDomainId(const char *value)
Definition: UserContext.h:146
Aws::SageMaker::Model::UserContext::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: UserContext.h:141
Aws::SageMaker::Model::UserContext::UserContext
UserContext()
Aws::SageMaker::Model::UserContext::WithDomainId
UserContext & WithDomainId(Aws::String &&value)
Definition: UserContext.h:156
Aws::SageMaker::Model::UserContext::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: UserContext.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UserContext::SetUserProfileArn
void SetUserProfileArn(const Aws::String &value)
Definition: UserContext.h:54
Aws::SageMaker::Model::UserContext::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::UserContext::operator=
UserContext & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UserContext::GetUserProfileArn
const Aws::String & GetUserProfileArn() const
Definition: UserContext.h:44
Aws::SageMaker::Model::UserContext::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: UserContext.h:90
Aws::SageMaker::Model::UserContext::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: UserContext.h:136
Aws::SageMaker::Model::UserContext::SetUserProfileArn
void SetUserProfileArn(const char *value)
Definition: UserContext.h:64
Aws::SageMaker::Model::UserContext::WithDomainId
UserContext & WithDomainId(const char *value)
Definition: UserContext.h:161
Aws::SageMaker::Model::UserContext::WithUserProfileName
UserContext & WithUserProfileName(Aws::String &&value)
Definition: UserContext.h:115