AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBackendAuthResourceConfig.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/AuthResources.h>
9#include <aws/amplifybackend/model/CreateBackendAuthIdentityPoolConfig.h>
10#include <aws/amplifybackend/model/Service.h>
11#include <aws/amplifybackend/model/CreateBackendAuthUserPoolConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AmplifyBackend
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig();
41 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const AuthResources& GetAuthResources() const{ return m_authResources; }
50 inline bool AuthResourcesHasBeenSet() const { return m_authResourcesHasBeenSet; }
51 inline void SetAuthResources(const AuthResources& value) { m_authResourcesHasBeenSet = true; m_authResources = value; }
52 inline void SetAuthResources(AuthResources&& value) { m_authResourcesHasBeenSet = true; m_authResources = std::move(value); }
54 inline CreateBackendAuthResourceConfig& WithAuthResources(AuthResources&& value) { SetAuthResources(std::move(value)); return *this;}
56
58
62 inline const CreateBackendAuthIdentityPoolConfig& GetIdentityPoolConfigs() const{ return m_identityPoolConfigs; }
63 inline bool IdentityPoolConfigsHasBeenSet() const { return m_identityPoolConfigsHasBeenSet; }
64 inline void SetIdentityPoolConfigs(const CreateBackendAuthIdentityPoolConfig& value) { m_identityPoolConfigsHasBeenSet = true; m_identityPoolConfigs = value; }
65 inline void SetIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig&& value) { m_identityPoolConfigsHasBeenSet = true; m_identityPoolConfigs = std::move(value); }
69
71
75 inline const Service& GetService() const{ return m_service; }
76 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
77 inline void SetService(const Service& value) { m_serviceHasBeenSet = true; m_service = value; }
78 inline void SetService(Service&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
79 inline CreateBackendAuthResourceConfig& WithService(const Service& value) { SetService(value); return *this;}
80 inline CreateBackendAuthResourceConfig& WithService(Service&& value) { SetService(std::move(value)); return *this;}
82
84
88 inline const CreateBackendAuthUserPoolConfig& GetUserPoolConfigs() const{ return m_userPoolConfigs; }
89 inline bool UserPoolConfigsHasBeenSet() const { return m_userPoolConfigsHasBeenSet; }
90 inline void SetUserPoolConfigs(const CreateBackendAuthUserPoolConfig& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = value; }
91 inline void SetUserPoolConfigs(CreateBackendAuthUserPoolConfig&& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = std::move(value); }
95 private:
96
97 AuthResources m_authResources;
98 bool m_authResourcesHasBeenSet = false;
99
100 CreateBackendAuthIdentityPoolConfig m_identityPoolConfigs;
101 bool m_identityPoolConfigsHasBeenSet = false;
102
103 Service m_service;
104 bool m_serviceHasBeenSet = false;
105
106 CreateBackendAuthUserPoolConfig m_userPoolConfigs;
107 bool m_userPoolConfigsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AmplifyBackend
112} // namespace Aws
AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig(Aws::Utils::Json::JsonView jsonValue)
CreateBackendAuthResourceConfig & WithUserPoolConfigs(CreateBackendAuthUserPoolConfig &&value)
const CreateBackendAuthIdentityPoolConfig & GetIdentityPoolConfigs() const
CreateBackendAuthResourceConfig & WithUserPoolConfigs(const CreateBackendAuthUserPoolConfig &value)
void SetIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig &&value)
CreateBackendAuthResourceConfig & WithService(Service &&value)
CreateBackendAuthResourceConfig & WithAuthResources(AuthResources &&value)
CreateBackendAuthResourceConfig & WithIdentityPoolConfigs(const CreateBackendAuthIdentityPoolConfig &value)
CreateBackendAuthResourceConfig & WithIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig &&value)
CreateBackendAuthResourceConfig & WithAuthResources(const AuthResources &value)
AWS_AMPLIFYBACKEND_API CreateBackendAuthResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserPoolConfigs(const CreateBackendAuthUserPoolConfig &value)
void SetIdentityPoolConfigs(const CreateBackendAuthIdentityPoolConfig &value)
const CreateBackendAuthUserPoolConfig & GetUserPoolConfigs() const
CreateBackendAuthResourceConfig & WithService(const Service &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue