AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
IdentityProviderDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/SftpAuthenticationMethods.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Transfer {
21namespace Model {
22
31 public:
32 AWS_TRANSFER_API IdentityProviderDetails() = default;
35 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetUrl() const { return m_url; }
42 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
43 template <typename UrlT = Aws::String>
44 void SetUrl(UrlT&& value) {
45 m_urlHasBeenSet = true;
46 m_url = std::forward<UrlT>(value);
47 }
48 template <typename UrlT = Aws::String>
50 SetUrl(std::forward<UrlT>(value));
51 return *this;
52 }
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) {
65 m_invocationRoleHasBeenSet = true;
66 m_invocationRole = std::forward<InvocationRoleT>(value);
67 }
68 template <typename InvocationRoleT = Aws::String>
69 IdentityProviderDetails& WithInvocationRole(InvocationRoleT&& value) {
70 SetInvocationRole(std::forward<InvocationRoleT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
81 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
82 template <typename DirectoryIdT = Aws::String>
83 void SetDirectoryId(DirectoryIdT&& value) {
84 m_directoryIdHasBeenSet = true;
85 m_directoryId = std::forward<DirectoryIdT>(value);
86 }
87 template <typename DirectoryIdT = Aws::String>
89 SetDirectoryId(std::forward<DirectoryIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetFunction() const { return m_function; }
99 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
100 template <typename FunctionT = Aws::String>
101 void SetFunction(FunctionT&& value) {
102 m_functionHasBeenSet = true;
103 m_function = std::forward<FunctionT>(value);
104 }
105 template <typename FunctionT = Aws::String>
107 SetFunction(std::forward<FunctionT>(value));
108 return *this;
109 }
111
113
126 inline SftpAuthenticationMethods GetSftpAuthenticationMethods() const { return m_sftpAuthenticationMethods; }
127 inline bool SftpAuthenticationMethodsHasBeenSet() const { return m_sftpAuthenticationMethodsHasBeenSet; }
129 m_sftpAuthenticationMethodsHasBeenSet = true;
130 m_sftpAuthenticationMethods = value;
131 }
134 return *this;
135 }
137 private:
138 Aws::String m_url;
139
140 Aws::String m_invocationRole;
141
142 Aws::String m_directoryId;
143
144 Aws::String m_function;
145
147 bool m_urlHasBeenSet = false;
148 bool m_invocationRoleHasBeenSet = false;
149 bool m_directoryIdHasBeenSet = false;
150 bool m_functionHasBeenSet = false;
151 bool m_sftpAuthenticationMethodsHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace Transfer
156} // 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