AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LoginAuthConfigReqObj.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_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 AmplifyBackend
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj() = default;
35 AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetAwsCognitoIdentityPoolId() const { return m_awsCognitoIdentityPoolId; }
46 inline bool AwsCognitoIdentityPoolIdHasBeenSet() const { return m_awsCognitoIdentityPoolIdHasBeenSet; }
47 template<typename AwsCognitoIdentityPoolIdT = Aws::String>
48 void SetAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT&& value) { m_awsCognitoIdentityPoolIdHasBeenSet = true; m_awsCognitoIdentityPoolId = std::forward<AwsCognitoIdentityPoolIdT>(value); }
49 template<typename AwsCognitoIdentityPoolIdT = Aws::String>
50 LoginAuthConfigReqObj& WithAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT&& value) { SetAwsCognitoIdentityPoolId(std::forward<AwsCognitoIdentityPoolIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAwsCognitoRegion() const { return m_awsCognitoRegion; }
58 inline bool AwsCognitoRegionHasBeenSet() const { return m_awsCognitoRegionHasBeenSet; }
59 template<typename AwsCognitoRegionT = Aws::String>
60 void SetAwsCognitoRegion(AwsCognitoRegionT&& value) { m_awsCognitoRegionHasBeenSet = true; m_awsCognitoRegion = std::forward<AwsCognitoRegionT>(value); }
61 template<typename AwsCognitoRegionT = Aws::String>
62 LoginAuthConfigReqObj& WithAwsCognitoRegion(AwsCognitoRegionT&& value) { SetAwsCognitoRegion(std::forward<AwsCognitoRegionT>(value)); return *this;}
64
66
70 inline const Aws::String& GetAwsUserPoolsId() const { return m_awsUserPoolsId; }
71 inline bool AwsUserPoolsIdHasBeenSet() const { return m_awsUserPoolsIdHasBeenSet; }
72 template<typename AwsUserPoolsIdT = Aws::String>
73 void SetAwsUserPoolsId(AwsUserPoolsIdT&& value) { m_awsUserPoolsIdHasBeenSet = true; m_awsUserPoolsId = std::forward<AwsUserPoolsIdT>(value); }
74 template<typename AwsUserPoolsIdT = Aws::String>
75 LoginAuthConfigReqObj& WithAwsUserPoolsId(AwsUserPoolsIdT&& value) { SetAwsUserPoolsId(std::forward<AwsUserPoolsIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetAwsUserPoolsWebClientId() const { return m_awsUserPoolsWebClientId; }
83 inline bool AwsUserPoolsWebClientIdHasBeenSet() const { return m_awsUserPoolsWebClientIdHasBeenSet; }
84 template<typename AwsUserPoolsWebClientIdT = Aws::String>
85 void SetAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT&& value) { m_awsUserPoolsWebClientIdHasBeenSet = true; m_awsUserPoolsWebClientId = std::forward<AwsUserPoolsWebClientIdT>(value); }
86 template<typename AwsUserPoolsWebClientIdT = Aws::String>
87 LoginAuthConfigReqObj& WithAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT&& value) { SetAwsUserPoolsWebClientId(std::forward<AwsUserPoolsWebClientIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_awsCognitoIdentityPoolId;
92 bool m_awsCognitoIdentityPoolIdHasBeenSet = false;
93
94 Aws::String m_awsCognitoRegion;
95 bool m_awsCognitoRegionHasBeenSet = false;
96
97 Aws::String m_awsUserPoolsId;
98 bool m_awsUserPoolsIdHasBeenSet = false;
99
100 Aws::String m_awsUserPoolsWebClientId;
101 bool m_awsUserPoolsWebClientIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace AmplifyBackend
106} // namespace Aws
LoginAuthConfigReqObj & WithAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT &&value)
AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT &&value)
AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT &&value)
LoginAuthConfigReqObj & WithAwsCognitoRegion(AwsCognitoRegionT &&value)
LoginAuthConfigReqObj & WithAwsUserPoolsId(AwsUserPoolsIdT &&value)
AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj()=default
LoginAuthConfigReqObj & WithAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue