AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AuthenticationMethod.h>
11#include <aws/sso-admin/model/AuthenticationMethodType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSOAdmin
17{
18namespace Model
19{
20
24 {
25 public:
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 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
47 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
48 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
51 inline PutApplicationAuthenticationMethodRequest& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
53
55
60 inline const AuthenticationMethod& GetAuthenticationMethod() const{ return m_authenticationMethod; }
61 inline bool AuthenticationMethodHasBeenSet() const { return m_authenticationMethodHasBeenSet; }
62 inline void SetAuthenticationMethod(const AuthenticationMethod& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = value; }
63 inline void SetAuthenticationMethod(AuthenticationMethod&& value) { m_authenticationMethodHasBeenSet = true; m_authenticationMethod = std::move(value); }
67
69
73 inline const AuthenticationMethodType& GetAuthenticationMethodType() const{ return m_authenticationMethodType; }
74 inline bool AuthenticationMethodTypeHasBeenSet() const { return m_authenticationMethodTypeHasBeenSet; }
75 inline void SetAuthenticationMethodType(const AuthenticationMethodType& value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = value; }
76 inline void SetAuthenticationMethodType(AuthenticationMethodType&& value) { m_authenticationMethodTypeHasBeenSet = true; m_authenticationMethodType = std::move(value); }
80 private:
81
82 Aws::String m_applicationArn;
83 bool m_applicationArnHasBeenSet = false;
84
85 AuthenticationMethod m_authenticationMethod;
86 bool m_authenticationMethodHasBeenSet = false;
87
88 AuthenticationMethodType m_authenticationMethodType;
89 bool m_authenticationMethodTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSOAdmin
94} // namespace Aws
PutApplicationAuthenticationMethodRequest & WithApplicationArn(const char *value)
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethodType(AuthenticationMethodType &&value)
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethod(AuthenticationMethod &&value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSOADMIN_API Aws::String SerializePayload() const override
PutApplicationAuthenticationMethodRequest & WithApplicationArn(const Aws::String &value)
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethodType(const AuthenticationMethodType &value)
PutApplicationAuthenticationMethodRequest & WithApplicationArn(Aws::String &&value)
PutApplicationAuthenticationMethodRequest & WithAuthenticationMethod(const AuthenticationMethod &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String