AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationMethodItem.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/model/AuthenticationMethod.h>
9#include <aws/sso-admin/model/AuthenticationMethodType.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();
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AuthenticationMethod& GetAuthenticationMethod() const{ return m_authenticationMethod; }
48 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
49 inline void SetAuthenticationMethod(const AuthenticationMethod& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = value; }
50 inline void SetAuthenticationMethod(AuthenticationMethod&& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = std::move(value); }
54
56
59 inline const AuthenticationMethodType& GetAuthenticationMethodType() const{ return m_authenticationMethodType; }
60 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
61 inline void SetAuthenticationMethodType(const AuthenticationMethodType& value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = value; }
62 inline void SetAuthenticationMethodType(AuthenticationMethodType&& value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = std::move(value); }
66 private:
67
68 AuthenticationMethod m_authenticationMethod;
69 bool m_authenticationMethodHasBeenSet = false;
70
71 AuthenticationMethodType m_authenticationMethodType;
72 bool m_authenticationMethodTypeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SSOAdmin
77} // namespace Aws
AuthenticationMethodItem & WithAuthenticationMethod(const AuthenticationMethod &value)
AWS_SSOADMIN_API AuthenticationMethodItem(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationMethod(AuthenticationMethod &&value)
void SetAuthenticationMethodType(AuthenticationMethodType &&value)
AuthenticationMethodItem & WithAuthenticationMethodType(const AuthenticationMethodType &value)
const AuthenticationMethod & GetAuthenticationMethod() const
AWS_SSOADMIN_API AuthenticationMethodItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const AuthenticationMethodType & GetAuthenticationMethodType() const
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthenticationMethod(const AuthenticationMethod &value)
AuthenticationMethodItem & WithAuthenticationMethod(AuthenticationMethod &&value)
AuthenticationMethodItem & WithAuthenticationMethodType(AuthenticationMethodType &&value)
void SetAuthenticationMethodType(const AuthenticationMethodType &value)
Aws::Utils::Json::JsonValue JsonValue