AWS SDK for C++  1.9.132
AWS SDK for C++
UpdateBackendAuthOAuthConfig.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace AmplifyBackend
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetDomainPrefix() const{ return m_domainPrefix; }
50 
55  inline bool DomainPrefixHasBeenSet() const { return m_domainPrefixHasBeenSet; }
56 
61  inline void SetDomainPrefix(const Aws::String& value) { m_domainPrefixHasBeenSet = true; m_domainPrefix = value; }
62 
67  inline void SetDomainPrefix(Aws::String&& value) { m_domainPrefixHasBeenSet = true; m_domainPrefix = std::move(value); }
68 
73  inline void SetDomainPrefix(const char* value) { m_domainPrefixHasBeenSet = true; m_domainPrefix.assign(value); }
74 
79  inline UpdateBackendAuthOAuthConfig& WithDomainPrefix(const Aws::String& value) { SetDomainPrefix(value); return *this;}
80 
85  inline UpdateBackendAuthOAuthConfig& WithDomainPrefix(Aws::String&& value) { SetDomainPrefix(std::move(value)); return *this;}
86 
91  inline UpdateBackendAuthOAuthConfig& WithDomainPrefix(const char* value) { SetDomainPrefix(value); return *this;}
92 
93 
98  inline const OAuthGrantType& GetOAuthGrantType() const{ return m_oAuthGrantType; }
99 
104  inline bool OAuthGrantTypeHasBeenSet() const { return m_oAuthGrantTypeHasBeenSet; }
105 
110  inline void SetOAuthGrantType(const OAuthGrantType& value) { m_oAuthGrantTypeHasBeenSet = true; m_oAuthGrantType = value; }
111 
116  inline void SetOAuthGrantType(OAuthGrantType&& value) { m_oAuthGrantTypeHasBeenSet = true; m_oAuthGrantType = std::move(value); }
117 
122  inline UpdateBackendAuthOAuthConfig& WithOAuthGrantType(const OAuthGrantType& value) { SetOAuthGrantType(value); return *this;}
123 
128  inline UpdateBackendAuthOAuthConfig& WithOAuthGrantType(OAuthGrantType&& value) { SetOAuthGrantType(std::move(value)); return *this;}
129 
130 
135  inline const Aws::Vector<OAuthScopesElement>& GetOAuthScopes() const{ return m_oAuthScopes; }
136 
141  inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
142 
147  inline void SetOAuthScopes(const Aws::Vector<OAuthScopesElement>& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = value; }
148 
153  inline void SetOAuthScopes(Aws::Vector<OAuthScopesElement>&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = std::move(value); }
154 
159  inline UpdateBackendAuthOAuthConfig& WithOAuthScopes(const Aws::Vector<OAuthScopesElement>& value) { SetOAuthScopes(value); return *this;}
160 
165  inline UpdateBackendAuthOAuthConfig& WithOAuthScopes(Aws::Vector<OAuthScopesElement>&& value) { SetOAuthScopes(std::move(value)); return *this;}
166 
171  inline UpdateBackendAuthOAuthConfig& AddOAuthScopes(const OAuthScopesElement& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
172 
177  inline UpdateBackendAuthOAuthConfig& AddOAuthScopes(OAuthScopesElement&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; }
178 
179 
183  inline const Aws::Vector<Aws::String>& GetRedirectSignInURIs() const{ return m_redirectSignInURIs; }
184 
188  inline bool RedirectSignInURIsHasBeenSet() const { return m_redirectSignInURIsHasBeenSet; }
189 
193  inline void SetRedirectSignInURIs(const Aws::Vector<Aws::String>& value) { m_redirectSignInURIsHasBeenSet = true; m_redirectSignInURIs = value; }
194 
198  inline void SetRedirectSignInURIs(Aws::Vector<Aws::String>&& value) { m_redirectSignInURIsHasBeenSet = true; m_redirectSignInURIs = std::move(value); }
199 
203  inline UpdateBackendAuthOAuthConfig& WithRedirectSignInURIs(const Aws::Vector<Aws::String>& value) { SetRedirectSignInURIs(value); return *this;}
204 
208  inline UpdateBackendAuthOAuthConfig& WithRedirectSignInURIs(Aws::Vector<Aws::String>&& value) { SetRedirectSignInURIs(std::move(value)); return *this;}
209 
213  inline UpdateBackendAuthOAuthConfig& AddRedirectSignInURIs(const Aws::String& value) { m_redirectSignInURIsHasBeenSet = true; m_redirectSignInURIs.push_back(value); return *this; }
214 
218  inline UpdateBackendAuthOAuthConfig& AddRedirectSignInURIs(Aws::String&& value) { m_redirectSignInURIsHasBeenSet = true; m_redirectSignInURIs.push_back(std::move(value)); return *this; }
219 
223  inline UpdateBackendAuthOAuthConfig& AddRedirectSignInURIs(const char* value) { m_redirectSignInURIsHasBeenSet = true; m_redirectSignInURIs.push_back(value); return *this; }
224 
225 
229  inline const Aws::Vector<Aws::String>& GetRedirectSignOutURIs() const{ return m_redirectSignOutURIs; }
230 
234  inline bool RedirectSignOutURIsHasBeenSet() const { return m_redirectSignOutURIsHasBeenSet; }
235 
239  inline void SetRedirectSignOutURIs(const Aws::Vector<Aws::String>& value) { m_redirectSignOutURIsHasBeenSet = true; m_redirectSignOutURIs = value; }
240 
244  inline void SetRedirectSignOutURIs(Aws::Vector<Aws::String>&& value) { m_redirectSignOutURIsHasBeenSet = true; m_redirectSignOutURIs = std::move(value); }
245 
249  inline UpdateBackendAuthOAuthConfig& WithRedirectSignOutURIs(const Aws::Vector<Aws::String>& value) { SetRedirectSignOutURIs(value); return *this;}
250 
254  inline UpdateBackendAuthOAuthConfig& WithRedirectSignOutURIs(Aws::Vector<Aws::String>&& value) { SetRedirectSignOutURIs(std::move(value)); return *this;}
255 
259  inline UpdateBackendAuthOAuthConfig& AddRedirectSignOutURIs(const Aws::String& value) { m_redirectSignOutURIsHasBeenSet = true; m_redirectSignOutURIs.push_back(value); return *this; }
260 
264  inline UpdateBackendAuthOAuthConfig& AddRedirectSignOutURIs(Aws::String&& value) { m_redirectSignOutURIsHasBeenSet = true; m_redirectSignOutURIs.push_back(std::move(value)); return *this; }
265 
269  inline UpdateBackendAuthOAuthConfig& AddRedirectSignOutURIs(const char* value) { m_redirectSignOutURIsHasBeenSet = true; m_redirectSignOutURIs.push_back(value); return *this; }
270 
271 
276  inline const SocialProviderSettings& GetSocialProviderSettings() const{ return m_socialProviderSettings; }
277 
282  inline bool SocialProviderSettingsHasBeenSet() const { return m_socialProviderSettingsHasBeenSet; }
283 
288  inline void SetSocialProviderSettings(const SocialProviderSettings& value) { m_socialProviderSettingsHasBeenSet = true; m_socialProviderSettings = value; }
289 
294  inline void SetSocialProviderSettings(SocialProviderSettings&& value) { m_socialProviderSettingsHasBeenSet = true; m_socialProviderSettings = std::move(value); }
295 
300  inline UpdateBackendAuthOAuthConfig& WithSocialProviderSettings(const SocialProviderSettings& value) { SetSocialProviderSettings(value); return *this;}
301 
306  inline UpdateBackendAuthOAuthConfig& WithSocialProviderSettings(SocialProviderSettings&& value) { SetSocialProviderSettings(std::move(value)); return *this;}
307 
308  private:
309 
310  Aws::String m_domainPrefix;
311  bool m_domainPrefixHasBeenSet;
312 
313  OAuthGrantType m_oAuthGrantType;
314  bool m_oAuthGrantTypeHasBeenSet;
315 
316  Aws::Vector<OAuthScopesElement> m_oAuthScopes;
317  bool m_oAuthScopesHasBeenSet;
318 
319  Aws::Vector<Aws::String> m_redirectSignInURIs;
320  bool m_redirectSignInURIsHasBeenSet;
321 
322  Aws::Vector<Aws::String> m_redirectSignOutURIs;
323  bool m_redirectSignOutURIsHasBeenSet;
324 
325  SocialProviderSettings m_socialProviderSettings;
326  bool m_socialProviderSettingsHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace AmplifyBackend
331 } // namespace Aws
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::RedirectSignOutURIsHasBeenSet
bool RedirectSignOutURIsHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:234
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetOAuthScopes
void SetOAuthScopes(Aws::Vector< OAuthScopesElement > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:153
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithDomainPrefix
UpdateBackendAuthOAuthConfig & WithDomainPrefix(Aws::String &&value)
Definition: UpdateBackendAuthOAuthConfig.h:85
Aws::AmplifyBackend::Model::SocialProviderSettings
Definition: SocialProviderSettings.h:34
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetDomainPrefix
void SetDomainPrefix(const char *value)
Definition: UpdateBackendAuthOAuthConfig.h:73
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithOAuthScopes
UpdateBackendAuthOAuthConfig & WithOAuthScopes(Aws::Vector< OAuthScopesElement > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:165
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::OAuthGrantTypeHasBeenSet
bool OAuthGrantTypeHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:104
AWS_AMPLIFYBACKEND_API
#define AWS_AMPLIFYBACKEND_API
Definition: AmplifyBackend_EXPORTS.h:28
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::operator=
UpdateBackendAuthOAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::DomainPrefixHasBeenSet
bool DomainPrefixHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:55
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetRedirectSignInURIs
void SetRedirectSignInURIs(Aws::Vector< Aws::String > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:198
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SocialProviderSettingsHasBeenSet
bool SocialProviderSettingsHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:282
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::OAuthScopesHasBeenSet
bool OAuthScopesHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:141
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetOAuthScopes
const Aws::Vector< OAuthScopesElement > & GetOAuthScopes() const
Definition: UpdateBackendAuthOAuthConfig.h:135
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddOAuthScopes
UpdateBackendAuthOAuthConfig & AddOAuthScopes(OAuthScopesElement &&value)
Definition: UpdateBackendAuthOAuthConfig.h:177
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignInURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignInURIs(const char *value)
Definition: UpdateBackendAuthOAuthConfig.h:223
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetRedirectSignInURIs
const Aws::Vector< Aws::String > & GetRedirectSignInURIs() const
Definition: UpdateBackendAuthOAuthConfig.h:183
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithDomainPrefix
UpdateBackendAuthOAuthConfig & WithDomainPrefix(const char *value)
Definition: UpdateBackendAuthOAuthConfig.h:91
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithRedirectSignInURIs
UpdateBackendAuthOAuthConfig & WithRedirectSignInURIs(const Aws::Vector< Aws::String > &value)
Definition: UpdateBackendAuthOAuthConfig.h:203
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithRedirectSignOutURIs
UpdateBackendAuthOAuthConfig & WithRedirectSignOutURIs(const Aws::Vector< Aws::String > &value)
Definition: UpdateBackendAuthOAuthConfig.h:249
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::UpdateBackendAuthOAuthConfig
UpdateBackendAuthOAuthConfig()
AWSVector.h
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetDomainPrefix
void SetDomainPrefix(Aws::String &&value)
Definition: UpdateBackendAuthOAuthConfig.h:67
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignOutURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignOutURIs(const Aws::String &value)
Definition: UpdateBackendAuthOAuthConfig.h:259
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetDomainPrefix
void SetDomainPrefix(const Aws::String &value)
Definition: UpdateBackendAuthOAuthConfig.h:61
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetRedirectSignOutURIs
const Aws::Vector< Aws::String > & GetRedirectSignOutURIs() const
Definition: UpdateBackendAuthOAuthConfig.h:229
Aws::AmplifyBackend::Model::OAuthScopesElement
OAuthScopesElement
Definition: OAuthScopesElement.h:17
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithDomainPrefix
UpdateBackendAuthOAuthConfig & WithDomainPrefix(const Aws::String &value)
Definition: UpdateBackendAuthOAuthConfig.h:79
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetRedirectSignOutURIs
void SetRedirectSignOutURIs(const Aws::Vector< Aws::String > &value)
Definition: UpdateBackendAuthOAuthConfig.h:239
OAuthGrantType.h
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetOAuthScopes
void SetOAuthScopes(const Aws::Vector< OAuthScopesElement > &value)
Definition: UpdateBackendAuthOAuthConfig.h:147
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignInURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignInURIs(const Aws::String &value)
Definition: UpdateBackendAuthOAuthConfig.h:213
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetOAuthGrantType
void SetOAuthGrantType(const OAuthGrantType &value)
Definition: UpdateBackendAuthOAuthConfig.h:110
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetOAuthGrantType
void SetOAuthGrantType(OAuthGrantType &&value)
Definition: UpdateBackendAuthOAuthConfig.h:116
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
SocialProviderSettings.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AmplifyBackend_EXPORTS.h
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig
Definition: UpdateBackendAuthOAuthConfig.h:37
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetRedirectSignOutURIs
void SetRedirectSignOutURIs(Aws::Vector< Aws::String > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:244
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithRedirectSignInURIs
UpdateBackendAuthOAuthConfig & WithRedirectSignInURIs(Aws::Vector< Aws::String > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:208
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignInURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignInURIs(Aws::String &&value)
Definition: UpdateBackendAuthOAuthConfig.h:218
Aws::AmplifyBackend::Model::OAuthGrantType
OAuthGrantType
Definition: OAuthGrantType.h:17
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddOAuthScopes
UpdateBackendAuthOAuthConfig & AddOAuthScopes(const OAuthScopesElement &value)
Definition: UpdateBackendAuthOAuthConfig.h:171
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithSocialProviderSettings
UpdateBackendAuthOAuthConfig & WithSocialProviderSettings(SocialProviderSettings &&value)
Definition: UpdateBackendAuthOAuthConfig.h:306
OAuthScopesElement.h
Aws
Definition: AccessManagementClient.h:15
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetDomainPrefix
const Aws::String & GetDomainPrefix() const
Definition: UpdateBackendAuthOAuthConfig.h:49
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetSocialProviderSettings
const SocialProviderSettings & GetSocialProviderSettings() const
Definition: UpdateBackendAuthOAuthConfig.h:276
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetRedirectSignInURIs
void SetRedirectSignInURIs(const Aws::Vector< Aws::String > &value)
Definition: UpdateBackendAuthOAuthConfig.h:193
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::UpdateBackendAuthOAuthConfig
UpdateBackendAuthOAuthConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithOAuthGrantType
UpdateBackendAuthOAuthConfig & WithOAuthGrantType(OAuthGrantType &&value)
Definition: UpdateBackendAuthOAuthConfig.h:128
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithOAuthGrantType
UpdateBackendAuthOAuthConfig & WithOAuthGrantType(const OAuthGrantType &value)
Definition: UpdateBackendAuthOAuthConfig.h:122
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithSocialProviderSettings
UpdateBackendAuthOAuthConfig & WithSocialProviderSettings(const SocialProviderSettings &value)
Definition: UpdateBackendAuthOAuthConfig.h:300
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignOutURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignOutURIs(Aws::String &&value)
Definition: UpdateBackendAuthOAuthConfig.h:264
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::AddRedirectSignOutURIs
UpdateBackendAuthOAuthConfig & AddRedirectSignOutURIs(const char *value)
Definition: UpdateBackendAuthOAuthConfig.h:269
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::RedirectSignInURIsHasBeenSet
bool RedirectSignInURIsHasBeenSet() const
Definition: UpdateBackendAuthOAuthConfig.h:188
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithRedirectSignOutURIs
UpdateBackendAuthOAuthConfig & WithRedirectSignOutURIs(Aws::Vector< Aws::String > &&value)
Definition: UpdateBackendAuthOAuthConfig.h:254
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::WithOAuthScopes
UpdateBackendAuthOAuthConfig & WithOAuthScopes(const Aws::Vector< OAuthScopesElement > &value)
Definition: UpdateBackendAuthOAuthConfig.h:159
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::GetOAuthGrantType
const OAuthGrantType & GetOAuthGrantType() const
Definition: UpdateBackendAuthOAuthConfig.h:98
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetSocialProviderSettings
void SetSocialProviderSettings(SocialProviderSettings &&value)
Definition: UpdateBackendAuthOAuthConfig.h:294
Aws::AmplifyBackend::Model::UpdateBackendAuthOAuthConfig::SetSocialProviderSettings
void SetSocialProviderSettings(const SocialProviderSettings &value)
Definition: UpdateBackendAuthOAuthConfig.h:288