AWS SDK for C++  1.9.155
AWS SDK for C++
CognitoConfig.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 
35  {
36  public:
41 
42 
51  inline const Aws::String& GetUserPool() const{ return m_userPool; }
52 
61  inline bool UserPoolHasBeenSet() const { return m_userPoolHasBeenSet; }
62 
71  inline void SetUserPool(const Aws::String& value) { m_userPoolHasBeenSet = true; m_userPool = value; }
72 
81  inline void SetUserPool(Aws::String&& value) { m_userPoolHasBeenSet = true; m_userPool = std::move(value); }
82 
91  inline void SetUserPool(const char* value) { m_userPoolHasBeenSet = true; m_userPool.assign(value); }
92 
101  inline CognitoConfig& WithUserPool(const Aws::String& value) { SetUserPool(value); return *this;}
102 
111  inline CognitoConfig& WithUserPool(Aws::String&& value) { SetUserPool(std::move(value)); return *this;}
112 
121  inline CognitoConfig& WithUserPool(const char* value) { SetUserPool(value); return *this;}
122 
123 
127  inline const Aws::String& GetClientId() const{ return m_clientId; }
128 
132  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
133 
137  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
138 
142  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
143 
147  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
148 
152  inline CognitoConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
153 
157  inline CognitoConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
158 
162  inline CognitoConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
163 
164  private:
165 
166  Aws::String m_userPool;
167  bool m_userPoolHasBeenSet;
168 
169  Aws::String m_clientId;
170  bool m_clientIdHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace SageMaker
175 } // namespace Aws
Aws::SageMaker::Model::CognitoConfig::operator=
CognitoConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CognitoConfig::CognitoConfig
CognitoConfig()
Aws::SageMaker::Model::CognitoConfig::SetUserPool
void SetUserPool(const Aws::String &value)
Definition: CognitoConfig.h:71
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CognitoConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::CognitoConfig::GetClientId
const Aws::String & GetClientId() const
Definition: CognitoConfig.h:127
Aws::SageMaker::Model::CognitoConfig::CognitoConfig
CognitoConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CognitoConfig::WithUserPool
CognitoConfig & WithUserPool(Aws::String &&value)
Definition: CognitoConfig.h:111
Aws::SageMaker::Model::CognitoConfig::SetClientId
void SetClientId(const Aws::String &value)
Definition: CognitoConfig.h:137
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CognitoConfig::WithClientId
CognitoConfig & WithClientId(const Aws::String &value)
Definition: CognitoConfig.h:152
Aws::SageMaker::Model::CognitoConfig::SetUserPool
void SetUserPool(const char *value)
Definition: CognitoConfig.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::CognitoConfig::WithClientId
CognitoConfig & WithClientId(Aws::String &&value)
Definition: CognitoConfig.h:157
AWSString.h
Aws::SageMaker::Model::CognitoConfig::WithClientId
CognitoConfig & WithClientId(const char *value)
Definition: CognitoConfig.h:162
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CognitoConfig::WithUserPool
CognitoConfig & WithUserPool(const char *value)
Definition: CognitoConfig.h:121
Aws::SageMaker::Model::CognitoConfig::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: CognitoConfig.h:132
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CognitoConfig
Definition: CognitoConfig.h:35
Aws::SageMaker::Model::CognitoConfig::SetClientId
void SetClientId(Aws::String &&value)
Definition: CognitoConfig.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CognitoConfig::GetUserPool
const Aws::String & GetUserPool() const
Definition: CognitoConfig.h:51
Aws::SageMaker::Model::CognitoConfig::SetUserPool
void SetUserPool(Aws::String &&value)
Definition: CognitoConfig.h:81
Aws::SageMaker::Model::CognitoConfig::UserPoolHasBeenSet
bool UserPoolHasBeenSet() const
Definition: CognitoConfig.h:61
Aws::SageMaker::Model::CognitoConfig::WithUserPool
CognitoConfig & WithUserPool(const Aws::String &value)
Definition: CognitoConfig.h:101
Aws::SageMaker::Model::CognitoConfig::SetClientId
void SetClientId(const char *value)
Definition: CognitoConfig.h:147