AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CognitoConfig.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApiGatewayV2 {
20namespace Model {
21
29 public:
30 AWS_APIGATEWAYV2_API CognitoConfig() = default;
31 AWS_APIGATEWAYV2_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APIGATEWAYV2_API CognitoConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAppClientId() const { return m_appClientId; }
40 inline bool AppClientIdHasBeenSet() const { return m_appClientIdHasBeenSet; }
41 template <typename AppClientIdT = Aws::String>
42 void SetAppClientId(AppClientIdT&& value) {
43 m_appClientIdHasBeenSet = true;
44 m_appClientId = std::forward<AppClientIdT>(value);
45 }
46 template <typename AppClientIdT = Aws::String>
47 CognitoConfig& WithAppClientId(AppClientIdT&& value) {
48 SetAppClientId(std::forward<AppClientIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetUserPoolArn() const { return m_userPoolArn; }
58 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
59 template <typename UserPoolArnT = Aws::String>
60 void SetUserPoolArn(UserPoolArnT&& value) {
61 m_userPoolArnHasBeenSet = true;
62 m_userPoolArn = std::forward<UserPoolArnT>(value);
63 }
64 template <typename UserPoolArnT = Aws::String>
65 CognitoConfig& WithUserPoolArn(UserPoolArnT&& value) {
66 SetUserPoolArn(std::forward<UserPoolArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetUserPoolDomain() const { return m_userPoolDomain; }
76 inline bool UserPoolDomainHasBeenSet() const { return m_userPoolDomainHasBeenSet; }
77 template <typename UserPoolDomainT = Aws::String>
78 void SetUserPoolDomain(UserPoolDomainT&& value) {
79 m_userPoolDomainHasBeenSet = true;
80 m_userPoolDomain = std::forward<UserPoolDomainT>(value);
81 }
82 template <typename UserPoolDomainT = Aws::String>
83 CognitoConfig& WithUserPoolDomain(UserPoolDomainT&& value) {
84 SetUserPoolDomain(std::forward<UserPoolDomainT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_appClientId;
90
91 Aws::String m_userPoolArn;
92
93 Aws::String m_userPoolDomain;
94 bool m_appClientIdHasBeenSet = false;
95 bool m_userPoolArnHasBeenSet = false;
96 bool m_userPoolDomainHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ApiGatewayV2
101} // namespace Aws
AWS_APIGATEWAYV2_API CognitoConfig(Aws::Utils::Json::JsonView jsonValue)
void SetUserPoolDomain(UserPoolDomainT &&value)
const Aws::String & GetAppClientId() const
CognitoConfig & WithUserPoolDomain(UserPoolDomainT &&value)
CognitoConfig & WithAppClientId(AppClientIdT &&value)
void SetAppClientId(AppClientIdT &&value)
const Aws::String & GetUserPoolDomain() const
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API CognitoConfig()=default
const Aws::String & GetUserPoolArn() const
CognitoConfig & WithUserPoolArn(UserPoolArnT &&value)
void SetUserPoolArn(UserPoolArnT &&value)
AWS_APIGATEWAYV2_API CognitoConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue