AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyBackend {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj() = default;
30 AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const Aws::String& GetAwsCognitoIdentityPoolId() const { return m_awsCognitoIdentityPoolId; }
40 inline bool AwsCognitoIdentityPoolIdHasBeenSet() const { return m_awsCognitoIdentityPoolIdHasBeenSet; }
41 template <typename AwsCognitoIdentityPoolIdT = Aws::String>
42 void SetAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT&& value) {
43 m_awsCognitoIdentityPoolIdHasBeenSet = true;
44 m_awsCognitoIdentityPoolId = std::forward<AwsCognitoIdentityPoolIdT>(value);
45 }
46 template <typename AwsCognitoIdentityPoolIdT = Aws::String>
47 LoginAuthConfigReqObj& WithAwsCognitoIdentityPoolId(AwsCognitoIdentityPoolIdT&& value) {
48 SetAwsCognitoIdentityPoolId(std::forward<AwsCognitoIdentityPoolIdT>(value));
49 return *this;
50 }
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) {
61 m_awsCognitoRegionHasBeenSet = true;
62 m_awsCognitoRegion = std::forward<AwsCognitoRegionT>(value);
63 }
64 template <typename AwsCognitoRegionT = Aws::String>
65 LoginAuthConfigReqObj& WithAwsCognitoRegion(AwsCognitoRegionT&& value) {
66 SetAwsCognitoRegion(std::forward<AwsCognitoRegionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetAwsUserPoolsId() const { return m_awsUserPoolsId; }
77 inline bool AwsUserPoolsIdHasBeenSet() const { return m_awsUserPoolsIdHasBeenSet; }
78 template <typename AwsUserPoolsIdT = Aws::String>
79 void SetAwsUserPoolsId(AwsUserPoolsIdT&& value) {
80 m_awsUserPoolsIdHasBeenSet = true;
81 m_awsUserPoolsId = std::forward<AwsUserPoolsIdT>(value);
82 }
83 template <typename AwsUserPoolsIdT = Aws::String>
84 LoginAuthConfigReqObj& WithAwsUserPoolsId(AwsUserPoolsIdT&& value) {
85 SetAwsUserPoolsId(std::forward<AwsUserPoolsIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetAwsUserPoolsWebClientId() const { return m_awsUserPoolsWebClientId; }
95 inline bool AwsUserPoolsWebClientIdHasBeenSet() const { return m_awsUserPoolsWebClientIdHasBeenSet; }
96 template <typename AwsUserPoolsWebClientIdT = Aws::String>
97 void SetAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT&& value) {
98 m_awsUserPoolsWebClientIdHasBeenSet = true;
99 m_awsUserPoolsWebClientId = std::forward<AwsUserPoolsWebClientIdT>(value);
100 }
101 template <typename AwsUserPoolsWebClientIdT = Aws::String>
102 LoginAuthConfigReqObj& WithAwsUserPoolsWebClientId(AwsUserPoolsWebClientIdT&& value) {
103 SetAwsUserPoolsWebClientId(std::forward<AwsUserPoolsWebClientIdT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_awsCognitoIdentityPoolId;
109
110 Aws::String m_awsCognitoRegion;
111
112 Aws::String m_awsUserPoolsId;
113
114 Aws::String m_awsUserPoolsWebClientId;
115 bool m_awsCognitoIdentityPoolIdHasBeenSet = false;
116 bool m_awsCognitoRegionHasBeenSet = false;
117 bool m_awsUserPoolsIdHasBeenSet = false;
118 bool m_awsUserPoolsWebClientIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AmplifyBackend
123} // 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