AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CognitoConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SAGEMAKER_API CognitoConfig() = default;
38 AWS_SAGEMAKER_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API CognitoConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetUserPool() const { return m_userPool; }
53 inline bool UserPoolHasBeenSet() const { return m_userPoolHasBeenSet; }
54 template<typename UserPoolT = Aws::String>
55 void SetUserPool(UserPoolT&& value) { m_userPoolHasBeenSet = true; m_userPool = std::forward<UserPoolT>(value); }
56 template<typename UserPoolT = Aws::String>
57 CognitoConfig& WithUserPool(UserPoolT&& value) { SetUserPool(std::forward<UserPoolT>(value)); return *this;}
59
61
64 inline const Aws::String& GetClientId() const { return m_clientId; }
65 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
66 template<typename ClientIdT = Aws::String>
67 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
68 template<typename ClientIdT = Aws::String>
69 CognitoConfig& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_userPool;
74 bool m_userPoolHasBeenSet = false;
75
76 Aws::String m_clientId;
77 bool m_clientIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
const Aws::String & GetUserPool() const
CognitoConfig & WithClientId(ClientIdT &&value)
const Aws::String & GetClientId() const
void SetClientId(ClientIdT &&value)
AWS_SAGEMAKER_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CognitoConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CognitoConfig()=default
CognitoConfig & WithUserPool(UserPoolT &&value)
void SetUserPool(UserPoolT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue