AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutApplicationAuthenticationMethodRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/AuthenticationMethodType.h>
11#include <aws/sso-admin/model/AuthenticationMethod.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSOAdmin
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSOADMIN_API PutApplicationAuthenticationMethodRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutApplicationAuthenticationMethod"; }
33
34 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
45 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
46 template<typename ApplicationArnT = Aws::String>
47 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::forward<ApplicationArnT>(value); }
48 template<typename ApplicationArnT = Aws::String>
49 PutApplicationAuthenticationMethodRequest& WithApplicationArn(ApplicationArnT&& value) { SetApplicationArn(std::forward<ApplicationArnT>(value)); return *this;}
51
53
57 inline AuthenticationMethodType GetAuthenticationMethodType() const { return m_authenticationMethodType; }
58 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
59 inline void SetAuthenticationMethodType(AuthenticationMethodType value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = value; }
62
64
69 inline const AuthenticationMethod& GetAuthenticationMethod() const { return m_authenticationMethod; }
70 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
71 template<typename AuthenticationMethodT = AuthenticationMethod>
72 void SetAuthenticationMethod(AuthenticationMethodT&& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = std::forward<AuthenticationMethodT>(value); }
73 template<typename AuthenticationMethodT = AuthenticationMethod>
74 PutApplicationAuthenticationMethodRequest& WithAuthenticationMethod(AuthenticationMethodT&& value) { SetAuthenticationMethod(std::forward<AuthenticationMethodT>(value)); return *this;}
76 private:
77
78 Aws::String m_applicationArn;
79 bool m_applicationArnHasBeenSet = false;
80
82 bool m_authenticationMethodTypeHasBeenSet = false;
83
84 AuthenticationMethod m_authenticationMethod;
85 bool m_authenticationMethodHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SSOAdmin
90} // namespace Aws
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethod(AuthenticationMethodT &&value)
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethodType(AuthenticationMethodType value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSOADMIN_API Aws::String SerializePayload() const override
PutApplicationAuthenticationMethodRequest & WithApplicationArn(ApplicationArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String