AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
50 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
51 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
52 inline IdentityProviderDetails& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
53 inline IdentityProviderDetails& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
54 inline IdentityProviderDetails& WithUrl(const char* value) { SetUrl(value); return *this;}
56
58
63 inline const Aws::String& GetInvocationRole() const{ return m_invocationRole; }
64 inline bool InvocationRoleHasBeenSet() const { return m_invocationRoleHasBeenSet; }
65 inline void SetInvocationRole(const Aws::String& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = value; }
66 inline void SetInvocationRole(Aws::String&& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = std::move(value); }
67 inline void SetInvocationRole(const char* value) { m_invocationRoleHasBeenSet = true; m_invocationRole.assign(value); }
68 inline IdentityProviderDetails& WithInvocationRole(const Aws::String& value) { SetInvocationRole(value); return *this;}
69 inline IdentityProviderDetails& WithInvocationRole(Aws::String&& value) { SetInvocationRole(std::move(value)); return *this;}
70 inline IdentityProviderDetails& WithInvocationRole(const char* value) { SetInvocationRole(value); return *this;}
72
74
78 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
79 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
80 inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
81 inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
82 inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
83 inline IdentityProviderDetails& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
84 inline IdentityProviderDetails& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
85 inline IdentityProviderDetails& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
87
89
92 inline const Aws::String& GetFunction() const{ return m_function; }
93 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
94 inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; }
95 inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); }
96 inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); }
97 inline IdentityProviderDetails& WithFunction(const Aws::String& value) { SetFunction(value); return *this;}
98 inline IdentityProviderDetails& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;}
99 inline IdentityProviderDetails& WithFunction(const char* value) { SetFunction(value); return *this;}
101
103
116 inline const SftpAuthenticationMethods& GetSftpAuthenticationMethods() const{ return m_sftpAuthenticationMethods; }
117 inline bool SftpAuthenticationMethodsHasBeenSet() const { return m_sftpAuthenticationMethodsHasBeenSet; }
118 inline void SetSftpAuthenticationMethods(const SftpAuthenticationMethods& value) { m_sftpAuthenticationMethodsHasBeenSet = true; m_sftpAuthenticationMethods = value; }
119 inline void SetSftpAuthenticationMethods(SftpAuthenticationMethods&& value) { m_sftpAuthenticationMethodsHasBeenSet = true; m_sftpAuthenticationMethods = std::move(value); }
123 private:
124
125 Aws::String m_url;
126 bool m_urlHasBeenSet = false;
127
128 Aws::String m_invocationRole;
129 bool m_invocationRoleHasBeenSet = false;
130
131 Aws::String m_directoryId;
132 bool m_directoryIdHasBeenSet = false;
133
134 Aws::String m_function;
135 bool m_functionHasBeenSet = false;
136
137 SftpAuthenticationMethods m_sftpAuthenticationMethods;
138 bool m_sftpAuthenticationMethodsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Transfer
143} // namespace Aws
IdentityProviderDetails & WithSftpAuthenticationMethods(SftpAuthenticationMethods &&value)
IdentityProviderDetails & WithDirectoryId(const char *value)
IdentityProviderDetails & WithInvocationRole(const Aws::String &value)
IdentityProviderDetails & WithSftpAuthenticationMethods(const SftpAuthenticationMethods &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API IdentityProviderDetails(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderDetails & WithInvocationRole(const char *value)
AWS_TRANSFER_API IdentityProviderDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSftpAuthenticationMethods(SftpAuthenticationMethods &&value)
IdentityProviderDetails & WithDirectoryId(const Aws::String &value)
const SftpAuthenticationMethods & GetSftpAuthenticationMethods() const
void SetSftpAuthenticationMethods(const SftpAuthenticationMethods &value)
IdentityProviderDetails & WithUrl(Aws::String &&value)
IdentityProviderDetails & WithUrl(const Aws::String &value)
IdentityProviderDetails & WithDirectoryId(Aws::String &&value)
IdentityProviderDetails & WithFunction(const char *value)
IdentityProviderDetails & WithInvocationRole(Aws::String &&value)
IdentityProviderDetails & WithFunction(const Aws::String &value)
IdentityProviderDetails & WithFunction(Aws::String &&value)
IdentityProviderDetails & WithUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue