AWS SDK for C++  1.9.160
AWS SDK for C++
CognitoMemberDefinition.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 
45  inline const Aws::String& GetUserPool() const{ return m_userPool; }
46 
51  inline bool UserPoolHasBeenSet() const { return m_userPoolHasBeenSet; }
52 
57  inline void SetUserPool(const Aws::String& value) { m_userPoolHasBeenSet = true; m_userPool = value; }
58 
63  inline void SetUserPool(Aws::String&& value) { m_userPoolHasBeenSet = true; m_userPool = std::move(value); }
64 
69  inline void SetUserPool(const char* value) { m_userPoolHasBeenSet = true; m_userPool.assign(value); }
70 
75  inline CognitoMemberDefinition& WithUserPool(const Aws::String& value) { SetUserPool(value); return *this;}
76 
81  inline CognitoMemberDefinition& WithUserPool(Aws::String&& value) { SetUserPool(std::move(value)); return *this;}
82 
87  inline CognitoMemberDefinition& WithUserPool(const char* value) { SetUserPool(value); return *this;}
88 
89 
93  inline const Aws::String& GetUserGroup() const{ return m_userGroup; }
94 
98  inline bool UserGroupHasBeenSet() const { return m_userGroupHasBeenSet; }
99 
103  inline void SetUserGroup(const Aws::String& value) { m_userGroupHasBeenSet = true; m_userGroup = value; }
104 
108  inline void SetUserGroup(Aws::String&& value) { m_userGroupHasBeenSet = true; m_userGroup = std::move(value); }
109 
113  inline void SetUserGroup(const char* value) { m_userGroupHasBeenSet = true; m_userGroup.assign(value); }
114 
118  inline CognitoMemberDefinition& WithUserGroup(const Aws::String& value) { SetUserGroup(value); return *this;}
119 
123  inline CognitoMemberDefinition& WithUserGroup(Aws::String&& value) { SetUserGroup(std::move(value)); return *this;}
124 
128  inline CognitoMemberDefinition& WithUserGroup(const char* value) { SetUserGroup(value); return *this;}
129 
130 
135  inline const Aws::String& GetClientId() const{ return m_clientId; }
136 
141  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
142 
147  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
148 
153  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
154 
159  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
160 
165  inline CognitoMemberDefinition& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
166 
171  inline CognitoMemberDefinition& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
172 
177  inline CognitoMemberDefinition& WithClientId(const char* value) { SetClientId(value); return *this;}
178 
179  private:
180 
181  Aws::String m_userPool;
182  bool m_userPoolHasBeenSet;
183 
184  Aws::String m_userGroup;
185  bool m_userGroupHasBeenSet;
186 
187  Aws::String m_clientId;
188  bool m_clientIdHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace SageMaker
193 } // namespace Aws
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserPool
CognitoMemberDefinition & WithUserPool(const char *value)
Definition: CognitoMemberDefinition.h:87
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserPool
void SetUserPool(Aws::String &&value)
Definition: CognitoMemberDefinition.h:63
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CognitoMemberDefinition
Definition: CognitoMemberDefinition.h:33
Aws::SageMaker::Model::CognitoMemberDefinition::WithClientId
CognitoMemberDefinition & WithClientId(Aws::String &&value)
Definition: CognitoMemberDefinition.h:171
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CognitoMemberDefinition::WithClientId
CognitoMemberDefinition & WithClientId(const char *value)
Definition: CognitoMemberDefinition.h:177
Aws::SageMaker::Model::CognitoMemberDefinition::SetClientId
void SetClientId(const char *value)
Definition: CognitoMemberDefinition.h:159
Aws::SageMaker::Model::CognitoMemberDefinition::SetClientId
void SetClientId(Aws::String &&value)
Definition: CognitoMemberDefinition.h:153
Aws::SageMaker::Model::CognitoMemberDefinition::CognitoMemberDefinition
CognitoMemberDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CognitoMemberDefinition::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: CognitoMemberDefinition.h:141
Aws::SageMaker::Model::CognitoMemberDefinition::WithClientId
CognitoMemberDefinition & WithClientId(const Aws::String &value)
Definition: CognitoMemberDefinition.h:165
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserGroup
void SetUserGroup(const char *value)
Definition: CognitoMemberDefinition.h:113
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserPool
void SetUserPool(const Aws::String &value)
Definition: CognitoMemberDefinition.h:57
Aws::SageMaker::Model::CognitoMemberDefinition::GetUserPool
const Aws::String & GetUserPool() const
Definition: CognitoMemberDefinition.h:45
Aws::SageMaker::Model::CognitoMemberDefinition::operator=
CognitoMemberDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserGroup
void SetUserGroup(const Aws::String &value)
Definition: CognitoMemberDefinition.h:103
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserPool
void SetUserPool(const char *value)
Definition: CognitoMemberDefinition.h:69
Aws::SageMaker::Model::CognitoMemberDefinition::UserGroupHasBeenSet
bool UserGroupHasBeenSet() const
Definition: CognitoMemberDefinition.h:98
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CognitoMemberDefinition::CognitoMemberDefinition
CognitoMemberDefinition()
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserGroup
CognitoMemberDefinition & WithUserGroup(const char *value)
Definition: CognitoMemberDefinition.h:128
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserGroup
CognitoMemberDefinition & WithUserGroup(const Aws::String &value)
Definition: CognitoMemberDefinition.h:118
Aws::SageMaker::Model::CognitoMemberDefinition::GetClientId
const Aws::String & GetClientId() const
Definition: CognitoMemberDefinition.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserGroup
CognitoMemberDefinition & WithUserGroup(Aws::String &&value)
Definition: CognitoMemberDefinition.h:123
Aws::SageMaker::Model::CognitoMemberDefinition::UserPoolHasBeenSet
bool UserPoolHasBeenSet() const
Definition: CognitoMemberDefinition.h:51
Aws::SageMaker::Model::CognitoMemberDefinition::SetUserGroup
void SetUserGroup(Aws::String &&value)
Definition: CognitoMemberDefinition.h:108
Aws::SageMaker::Model::CognitoMemberDefinition::GetUserGroup
const Aws::String & GetUserGroup() const
Definition: CognitoMemberDefinition.h:93
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CognitoMemberDefinition::SetClientId
void SetClientId(const Aws::String &value)
Definition: CognitoMemberDefinition.h:147
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserPool
CognitoMemberDefinition & WithUserPool(Aws::String &&value)
Definition: CognitoMemberDefinition.h:81
Aws::SageMaker::Model::CognitoMemberDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::CognitoMemberDefinition::WithUserPool
CognitoMemberDefinition & WithUserPool(const Aws::String &value)
Definition: CognitoMemberDefinition.h:75