AWS SDK for C++

AWS SDK for C++ Version 1.11.926

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSOAdmin {
21namespace Model {
22
30 public:
31 AWS_SSOADMIN_API AuthenticationMethodItem() = default;
34 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline AuthenticationMethodType GetAuthenticationMethodType() const { return m_authenticationMethodType; }
41 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
43 m_authenticationMethodTypeHasBeenSet = true;
44 m_authenticationMethodType = value;
45 }
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) {
61 m_authenticationMethodHasBeenSet = true;
62 m_authenticationMethod = std::forward<AuthenticationMethodT>(value);
63 }
64 template <typename AuthenticationMethodT = AuthenticationMethod>
65 AuthenticationMethodItem& WithAuthenticationMethod(AuthenticationMethodT&& value) {
66 SetAuthenticationMethod(std::forward<AuthenticationMethodT>(value));
67 return *this;
68 }
70 private:
72
73 AuthenticationMethod m_authenticationMethod;
74 bool m_authenticationMethodTypeHasBeenSet = false;
75 bool m_authenticationMethodHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SSOAdmin
80} // 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