AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IdentityProviderDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/SftpAuthenticationMethods.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 Transfer
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TRANSFER_API IdentityProviderDetails() = default;
40 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetUrl() const { return m_url; }
48 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
49 template<typename UrlT = Aws::String>
50 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
51 template<typename UrlT = Aws::String>
52 IdentityProviderDetails& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
54
56
61 inline const Aws::String& GetInvocationRole() const { return m_invocationRole; }
62 inline bool InvocationRoleHasBeenSet() const { return m_invocationRoleHasBeenSet; }
63 template<typename InvocationRoleT = Aws::String>
64 void SetInvocationRole(InvocationRoleT&& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = std::forward<InvocationRoleT>(value); }
65 template<typename InvocationRoleT = Aws::String>
66 IdentityProviderDetails& WithInvocationRole(InvocationRoleT&& value) { SetInvocationRole(std::forward<InvocationRoleT>(value)); return *this;}
68
70
74 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
75 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
76 template<typename DirectoryIdT = Aws::String>
77 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
78 template<typename DirectoryIdT = Aws::String>
79 IdentityProviderDetails& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetFunction() const { return m_function; }
87 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
88 template<typename FunctionT = Aws::String>
89 void SetFunction(FunctionT&& value) { m_functionHasBeenSet = true; m_function = std::forward<FunctionT>(value); }
90 template<typename FunctionT = Aws::String>
91 IdentityProviderDetails& WithFunction(FunctionT&& value) { SetFunction(std::forward<FunctionT>(value)); return *this;}
93
95
108 inline SftpAuthenticationMethods GetSftpAuthenticationMethods() const { return m_sftpAuthenticationMethods; }
109 inline bool SftpAuthenticationMethodsHasBeenSet() const { return m_sftpAuthenticationMethodsHasBeenSet; }
110 inline void SetSftpAuthenticationMethods(SftpAuthenticationMethods value) { m_sftpAuthenticationMethodsHasBeenSet = true; m_sftpAuthenticationMethods = value; }
113 private:
114
115 Aws::String m_url;
116 bool m_urlHasBeenSet = false;
117
118 Aws::String m_invocationRole;
119 bool m_invocationRoleHasBeenSet = false;
120
121 Aws::String m_directoryId;
122 bool m_directoryIdHasBeenSet = false;
123
124 Aws::String m_function;
125 bool m_functionHasBeenSet = false;
126
128 bool m_sftpAuthenticationMethodsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Transfer
133} // namespace Aws
AWS_TRANSFER_API IdentityProviderDetails()=default
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API IdentityProviderDetails(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderDetails & WithFunction(FunctionT &&value)
AWS_TRANSFER_API IdentityProviderDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderDetails & WithInvocationRole(InvocationRoleT &&value)
IdentityProviderDetails & WithDirectoryId(DirectoryIdT &&value)
void SetSftpAuthenticationMethods(SftpAuthenticationMethods value)
IdentityProviderDetails & WithUrl(UrlT &&value)
SftpAuthenticationMethods GetSftpAuthenticationMethods() const
IdentityProviderDetails & WithSftpAuthenticationMethods(SftpAuthenticationMethods value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue