AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUserPool(const Aws::String& value) { m_userPoolHasBeenSet = true; m_userPool = value; }
55 inline void SetUserPool(Aws::String&& value) { m_userPoolHasBeenSet = true; m_userPool = std::move(value); }
56 inline void SetUserPool(const char* value) { m_userPoolHasBeenSet = true; m_userPool.assign(value); }
57 inline CognitoConfig& WithUserPool(const Aws::String& value) { SetUserPool(value); return *this;}
58 inline CognitoConfig& WithUserPool(Aws::String&& value) { SetUserPool(std::move(value)); return *this;}
59 inline CognitoConfig& WithUserPool(const char* value) { SetUserPool(value); return *this;}
61
63
66 inline const Aws::String& GetClientId() const{ return m_clientId; }
67 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
68 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
69 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
70 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
71 inline CognitoConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
72 inline CognitoConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
73 inline CognitoConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
75 private:
76
77 Aws::String m_userPool;
78 bool m_userPoolHasBeenSet = false;
79
80 Aws::String m_clientId;
81 bool m_clientIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
const Aws::String & GetUserPool() const
CognitoConfig & WithUserPool(const char *value)
const Aws::String & GetClientId() const
void SetUserPool(const Aws::String &value)
CognitoConfig & WithUserPool(Aws::String &&value)
CognitoConfig & WithClientId(const Aws::String &value)
AWS_SAGEMAKER_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CognitoConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserPool(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserPool(const char *value)
CognitoConfig & WithClientId(Aws::String &&value)
void SetClientId(const Aws::String &value)
void SetClientId(const char *value)
CognitoConfig & WithClientId(const char *value)
void SetClientId(Aws::String &&value)
CognitoConfig & WithUserPool(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue