AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuthenticationMethodItem.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/model/AuthenticationMethodType.h>
9#include <aws/sso-admin/model/AuthenticationMethod.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSOAdmin
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSOADMIN_API AuthenticationMethodItem() = default;
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline AuthenticationMethodType GetAuthenticationMethodType() const { return m_authenticationMethodType; }
47 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
48 inline void SetAuthenticationMethodType(AuthenticationMethodType value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = value; }
51
53
57 inline const AuthenticationMethod& GetAuthenticationMethod() const { return m_authenticationMethod; }
58 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
59 template<typename AuthenticationMethodT = AuthenticationMethod>
60 void SetAuthenticationMethod(AuthenticationMethodT&& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = std::forward<AuthenticationMethodT>(value); }
61 template<typename AuthenticationMethodT = AuthenticationMethod>
62 AuthenticationMethodItem& WithAuthenticationMethod(AuthenticationMethodT&& value) { SetAuthenticationMethod(std::forward<AuthenticationMethodT>(value)); return *this;}
64 private:
65
67 bool m_authenticationMethodTypeHasBeenSet = false;
68
69 AuthenticationMethod m_authenticationMethod;
70 bool m_authenticationMethodHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SSOAdmin
75} // namespace Aws
AWS_SSOADMIN_API AuthenticationMethodItem(Aws::Utils::Json::JsonView jsonValue)
const AuthenticationMethod & GetAuthenticationMethod() const
AWS_SSOADMIN_API AuthenticationMethodItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthenticationMethodItem & WithAuthenticationMethod(AuthenticationMethodT &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthenticationMethodType(AuthenticationMethodType value)
void SetAuthenticationMethod(AuthenticationMethodT &&value)
AWS_SSOADMIN_API AuthenticationMethodItem()=default
AuthenticationMethodType GetAuthenticationMethodType() const
AuthenticationMethodItem & WithAuthenticationMethodType(AuthenticationMethodType value)
Aws::Utils::Json::JsonValue JsonValue