AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackendAuthResourceConfig.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/AuthResources.h>
9#include <aws/amplifybackend/model/UpdateBackendAuthIdentityPoolConfig.h>
10#include <aws/amplifybackend/model/Service.h>
11#include <aws/amplifybackend/model/UpdateBackendAuthUserPoolConfig.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 UpdateBackendAuthResourceConfig();
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 UpdateBackendAuthResourceConfig& WithAuthResources(AuthResources&& value) { SetAuthResources(std::move(value)); return *this;}
56
58
62 inline const UpdateBackendAuthIdentityPoolConfig& GetIdentityPoolConfigs() const{ return m_identityPoolConfigs; }
63 inline bool IdentityPoolConfigsHasBeenSet() const { return m_identityPoolConfigsHasBeenSet; }
64 inline void SetIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig& value) { m_identityPoolConfigsHasBeenSet = true; m_identityPoolConfigs = value; }
65 inline void SetIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig&& 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 UpdateBackendAuthResourceConfig& WithService(const Service& value) { SetService(value); return *this;}
80 inline UpdateBackendAuthResourceConfig& WithService(Service&& value) { SetService(std::move(value)); return *this;}
82
84
88 inline const UpdateBackendAuthUserPoolConfig& GetUserPoolConfigs() const{ return m_userPoolConfigs; }
89 inline bool UserPoolConfigsHasBeenSet() const { return m_userPoolConfigsHasBeenSet; }
90 inline void SetUserPoolConfigs(const UpdateBackendAuthUserPoolConfig& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = value; }
91 inline void SetUserPoolConfigs(UpdateBackendAuthUserPoolConfig&& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = std::move(value); }
95 private:
96
97 AuthResources m_authResources;
98 bool m_authResourcesHasBeenSet = false;
99
100 UpdateBackendAuthIdentityPoolConfig m_identityPoolConfigs;
101 bool m_identityPoolConfigsHasBeenSet = false;
102
103 Service m_service;
104 bool m_serviceHasBeenSet = false;
105
106 UpdateBackendAuthUserPoolConfig m_userPoolConfigs;
107 bool m_userPoolConfigsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AmplifyBackend
112} // namespace Aws
UpdateBackendAuthResourceConfig & WithService(const Service &value)
UpdateBackendAuthResourceConfig & WithUserPoolConfigs(const UpdateBackendAuthUserPoolConfig &value)
const UpdateBackendAuthUserPoolConfig & GetUserPoolConfigs() const
UpdateBackendAuthResourceConfig & WithService(Service &&value)
UpdateBackendAuthResourceConfig & WithAuthResources(AuthResources &&value)
UpdateBackendAuthResourceConfig & WithIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig &&value)
UpdateBackendAuthResourceConfig & WithAuthResources(const AuthResources &value)
AWS_AMPLIFYBACKEND_API UpdateBackendAuthResourceConfig(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendAuthResourceConfig & WithUserPoolConfigs(UpdateBackendAuthUserPoolConfig &&value)
const UpdateBackendAuthIdentityPoolConfig & GetIdentityPoolConfigs() const
UpdateBackendAuthResourceConfig & WithIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig &value)
void SetUserPoolConfigs(const UpdateBackendAuthUserPoolConfig &value)
void SetIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendAuthResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue