AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
PutApplicationAuthenticationMethodRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
10#include <aws/sso-admin/model/AuthenticationMethod.h>
11#include <aws/sso-admin/model/AuthenticationMethodType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSOAdmin {
17namespace Model {
18
22 public:
23 AWS_SSOADMIN_API PutApplicationAuthenticationMethodRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "PutApplicationAuthenticationMethod"; }
30
31 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
41 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
42 template <typename ApplicationArnT = Aws::String>
43 void SetApplicationArn(ApplicationArnT&& value) {
44 m_applicationArnHasBeenSet = true;
45 m_applicationArn = std::forward<ApplicationArnT>(value);
46 }
47 template <typename ApplicationArnT = Aws::String>
49 SetApplicationArn(std::forward<ApplicationArnT>(value));
50 return *this;
51 }
53
55
59 inline AuthenticationMethodType GetAuthenticationMethodType() const { return m_authenticationMethodType; }
60 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
62 m_authenticationMethodTypeHasBeenSet = true;
63 m_authenticationMethodType = value;
64 }
70
72
77 inline const AuthenticationMethod& GetAuthenticationMethod() const { return m_authenticationMethod; }
78 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
79 template <typename AuthenticationMethodT = AuthenticationMethod>
80 void SetAuthenticationMethod(AuthenticationMethodT&& value) {
81 m_authenticationMethodHasBeenSet = true;
82 m_authenticationMethod = std::forward<AuthenticationMethodT>(value);
83 }
84 template <typename AuthenticationMethodT = AuthenticationMethod>
86 SetAuthenticationMethod(std::forward<AuthenticationMethodT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_applicationArn;
92
94
95 AuthenticationMethod m_authenticationMethod;
96 bool m_applicationArnHasBeenSet = false;
97 bool m_authenticationMethodTypeHasBeenSet = false;
98 bool m_authenticationMethodHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SSOAdmin
103} // 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