AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateBackendAuthResourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AmplifyBackend
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
48  inline const AuthResources& GetAuthResources() const{ return m_authResources; }
49 
54  inline bool AuthResourcesHasBeenSet() const { return m_authResourcesHasBeenSet; }
55 
60  inline void SetAuthResources(const AuthResources& value) { m_authResourcesHasBeenSet = true; m_authResources = value; }
61 
66  inline void SetAuthResources(AuthResources&& value) { m_authResourcesHasBeenSet = true; m_authResources = std::move(value); }
67 
72  inline UpdateBackendAuthResourceConfig& WithAuthResources(const AuthResources& value) { SetAuthResources(value); return *this;}
73 
78  inline UpdateBackendAuthResourceConfig& WithAuthResources(AuthResources&& value) { SetAuthResources(std::move(value)); return *this;}
79 
80 
85  inline const UpdateBackendAuthIdentityPoolConfig& GetIdentityPoolConfigs() const{ return m_identityPoolConfigs; }
86 
91  inline bool IdentityPoolConfigsHasBeenSet() const { return m_identityPoolConfigsHasBeenSet; }
92 
97  inline void SetIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig& value) { m_identityPoolConfigsHasBeenSet = true; m_identityPoolConfigs = value; }
98 
103  inline void SetIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig&& value) { m_identityPoolConfigsHasBeenSet = true; m_identityPoolConfigs = std::move(value); }
104 
109  inline UpdateBackendAuthResourceConfig& WithIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig& value) { SetIdentityPoolConfigs(value); return *this;}
110 
115  inline UpdateBackendAuthResourceConfig& WithIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig&& value) { SetIdentityPoolConfigs(std::move(value)); return *this;}
116 
117 
122  inline const Service& GetService() const{ return m_service; }
123 
128  inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
129 
134  inline void SetService(const Service& value) { m_serviceHasBeenSet = true; m_service = value; }
135 
140  inline void SetService(Service&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
141 
146  inline UpdateBackendAuthResourceConfig& WithService(const Service& value) { SetService(value); return *this;}
147 
152  inline UpdateBackendAuthResourceConfig& WithService(Service&& value) { SetService(std::move(value)); return *this;}
153 
154 
159  inline const UpdateBackendAuthUserPoolConfig& GetUserPoolConfigs() const{ return m_userPoolConfigs; }
160 
165  inline bool UserPoolConfigsHasBeenSet() const { return m_userPoolConfigsHasBeenSet; }
166 
171  inline void SetUserPoolConfigs(const UpdateBackendAuthUserPoolConfig& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = value; }
172 
177  inline void SetUserPoolConfigs(UpdateBackendAuthUserPoolConfig&& value) { m_userPoolConfigsHasBeenSet = true; m_userPoolConfigs = std::move(value); }
178 
183  inline UpdateBackendAuthResourceConfig& WithUserPoolConfigs(const UpdateBackendAuthUserPoolConfig& value) { SetUserPoolConfigs(value); return *this;}
184 
189  inline UpdateBackendAuthResourceConfig& WithUserPoolConfigs(UpdateBackendAuthUserPoolConfig&& value) { SetUserPoolConfigs(std::move(value)); return *this;}
190 
191  private:
192 
193  AuthResources m_authResources;
194  bool m_authResourcesHasBeenSet;
195 
196  UpdateBackendAuthIdentityPoolConfig m_identityPoolConfigs;
197  bool m_identityPoolConfigsHasBeenSet;
198 
199  Service m_service;
200  bool m_serviceHasBeenSet;
201 
202  UpdateBackendAuthUserPoolConfig m_userPoolConfigs;
203  bool m_userPoolConfigsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace AmplifyBackend
208 } // namespace Aws
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::IdentityPoolConfigsHasBeenSet
bool IdentityPoolConfigsHasBeenSet() const
Definition: UpdateBackendAuthResourceConfig.h:91
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithIdentityPoolConfigs
UpdateBackendAuthResourceConfig & WithIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig &value)
Definition: UpdateBackendAuthResourceConfig.h:109
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::UserPoolConfigsHasBeenSet
bool UserPoolConfigsHasBeenSet() const
Definition: UpdateBackendAuthResourceConfig.h:165
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetUserPoolConfigs
void SetUserPoolConfigs(UpdateBackendAuthUserPoolConfig &&value)
Definition: UpdateBackendAuthResourceConfig.h:177
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithUserPoolConfigs
UpdateBackendAuthResourceConfig & WithUserPoolConfigs(const UpdateBackendAuthUserPoolConfig &value)
Definition: UpdateBackendAuthResourceConfig.h:183
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::GetUserPoolConfigs
const UpdateBackendAuthUserPoolConfig & GetUserPoolConfigs() const
Definition: UpdateBackendAuthResourceConfig.h:159
AWS_AMPLIFYBACKEND_API
#define AWS_AMPLIFYBACKEND_API
Definition: AmplifyBackend_EXPORTS.h:28
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::ServiceHasBeenSet
bool ServiceHasBeenSet() const
Definition: UpdateBackendAuthResourceConfig.h:128
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetAuthResources
void SetAuthResources(AuthResources &&value)
Definition: UpdateBackendAuthResourceConfig.h:66
AuthResources.h
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig
Definition: UpdateBackendAuthResourceConfig.h:36
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::operator=
UpdateBackendAuthResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendAuthUserPoolConfig.h
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetService
void SetService(Service &&value)
Definition: UpdateBackendAuthResourceConfig.h:140
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetService
void SetService(const Service &value)
Definition: UpdateBackendAuthResourceConfig.h:134
Aws::AmplifyBackend::Model::UpdateBackendAuthUserPoolConfig
Definition: UpdateBackendAuthUserPoolConfig.h:37
Aws::AmplifyBackend::Model::Service
Service
Definition: Service.h:17
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetIdentityPoolConfigs
void SetIdentityPoolConfigs(const UpdateBackendAuthIdentityPoolConfig &value)
Definition: UpdateBackendAuthResourceConfig.h:97
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetIdentityPoolConfigs
void SetIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig &&value)
Definition: UpdateBackendAuthResourceConfig.h:103
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::UpdateBackendAuthResourceConfig
UpdateBackendAuthResourceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithUserPoolConfigs
UpdateBackendAuthResourceConfig & WithUserPoolConfigs(UpdateBackendAuthUserPoolConfig &&value)
Definition: UpdateBackendAuthResourceConfig.h:189
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::AuthResourcesHasBeenSet
bool AuthResourcesHasBeenSet() const
Definition: UpdateBackendAuthResourceConfig.h:54
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::GetAuthResources
const AuthResources & GetAuthResources() const
Definition: UpdateBackendAuthResourceConfig.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AmplifyBackend::Model::AuthResources
AuthResources
Definition: AuthResources.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AmplifyBackend_EXPORTS.h
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithIdentityPoolConfigs
UpdateBackendAuthResourceConfig & WithIdentityPoolConfigs(UpdateBackendAuthIdentityPoolConfig &&value)
Definition: UpdateBackendAuthResourceConfig.h:115
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::GetIdentityPoolConfigs
const UpdateBackendAuthIdentityPoolConfig & GetIdentityPoolConfigs() const
Definition: UpdateBackendAuthResourceConfig.h:85
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithAuthResources
UpdateBackendAuthResourceConfig & WithAuthResources(AuthResources &&value)
Definition: UpdateBackendAuthResourceConfig.h:78
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithService
UpdateBackendAuthResourceConfig & WithService(const Service &value)
Definition: UpdateBackendAuthResourceConfig.h:146
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetUserPoolConfigs
void SetUserPoolConfigs(const UpdateBackendAuthUserPoolConfig &value)
Definition: UpdateBackendAuthResourceConfig.h:171
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::SetAuthResources
void SetAuthResources(const AuthResources &value)
Definition: UpdateBackendAuthResourceConfig.h:60
Aws
Definition: AccessManagementClient.h:15
Service.h
UpdateBackendAuthIdentityPoolConfig.h
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithService
UpdateBackendAuthResourceConfig & WithService(Service &&value)
Definition: UpdateBackendAuthResourceConfig.h:152
Aws::AmplifyBackend::Model::UpdateBackendAuthIdentityPoolConfig
Definition: UpdateBackendAuthIdentityPoolConfig.h:32
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::UpdateBackendAuthResourceConfig
UpdateBackendAuthResourceConfig()
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::WithAuthResources
UpdateBackendAuthResourceConfig & WithAuthResources(const AuthResources &value)
Definition: UpdateBackendAuthResourceConfig.h:72
Aws::AmplifyBackend::Model::UpdateBackendAuthResourceConfig::GetService
const Service & GetService() const
Definition: UpdateBackendAuthResourceConfig.h:122