7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/ObjectStorageServerProtocol.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/Array.h>
13#include <aws/datasync/model/ManagedSecretConfig.h>
14#include <aws/datasync/model/CmkSecretConfig.h>
15#include <aws/datasync/model/CustomSecretConfig.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
52 template<
typename LocationArnT = Aws::String>
53 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet =
true; m_locationArn = std::forward<LocationArnT>(value); }
54 template<
typename LocationArnT = Aws::String>
63 template<
typename LocationUriT = Aws::String>
64 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet =
true; m_locationUri = std::forward<LocationUriT>(value); }
65 template<
typename LocationUriT = Aws::String>
75 template<
typename AccessKeyT = Aws::String>
76 void SetAccessKey(AccessKeyT&& value) { m_accessKeyHasBeenSet =
true; m_accessKey = std::forward<AccessKeyT>(value); }
77 template<
typename AccessKeyT = Aws::String>
87 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
106 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
107 void SetAgentArns(AgentArnsT&& value) { m_agentArnsHasBeenSet =
true; m_agentArns = std::forward<AgentArnsT>(value); }
108 template<
typename AgentArnsT = Aws::Vector<Aws::String>>
110 template<
typename AgentArnsT = Aws::String>
119 template<
typename CreationTimeT = Aws::Utils::DateTime>
120 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
121 template<
typename CreationTimeT = Aws::Utils::DateTime>
132 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
133 void SetServerCertificate(ServerCertificateT&& value) { m_serverCertificateHasBeenSet =
true; m_serverCertificate = std::forward<ServerCertificateT>(value); }
134 template<
typename ServerCertificateT = Aws::Utils::ByteBuffer>
146 template<
typename ManagedSecretConfigT = ManagedSecretConfig>
147 void SetManagedSecretConfig(ManagedSecretConfigT&& value) { m_managedSecretConfigHasBeenSet =
true; m_managedSecretConfig = std::forward<ManagedSecretConfigT>(value); }
148 template<
typename ManagedSecretConfigT = ManagedSecretConfig>
159 template<
typename CmkSecretConfigT = CmkSecretConfig>
160 void SetCmkSecretConfig(CmkSecretConfigT&& value) { m_cmkSecretConfigHasBeenSet =
true; m_cmkSecretConfig = std::forward<CmkSecretConfigT>(value); }
161 template<
typename CmkSecretConfigT = CmkSecretConfig>
172 template<
typename CustomSecretConfigT = CustomSecretConfig>
173 void SetCustomSecretConfig(CustomSecretConfigT&& value) { m_customSecretConfigHasBeenSet =
true; m_customSecretConfig = std::forward<CustomSecretConfigT>(value); }
174 template<
typename CustomSecretConfigT = CustomSecretConfig>
181 template<
typename RequestIdT = Aws::String>
182 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
183 template<
typename RequestIdT = Aws::String>
189 bool m_locationArnHasBeenSet =
false;
192 bool m_locationUriHasBeenSet =
false;
195 bool m_accessKeyHasBeenSet =
false;
198 bool m_serverPortHasBeenSet =
false;
201 bool m_serverProtocolHasBeenSet =
false;
204 bool m_agentArnsHasBeenSet =
false;
207 bool m_creationTimeHasBeenSet =
false;
210 bool m_serverCertificateHasBeenSet =
false;
212 ManagedSecretConfig m_managedSecretConfig;
213 bool m_managedSecretConfigHasBeenSet =
false;
215 CmkSecretConfig m_cmkSecretConfig;
216 bool m_cmkSecretConfigHasBeenSet =
false;
218 CustomSecretConfig m_customSecretConfig;
219 bool m_customSecretConfigHasBeenSet =
false;
222 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetAccessKey() const
void SetCreationTime(CreationTimeT &&value)
const CustomSecretConfig & GetCustomSecretConfig() const
DescribeLocationObjectStorageResult & WithLocationUri(LocationUriT &&value)
DescribeLocationObjectStorageResult & WithRequestId(RequestIdT &&value)
AWS_DATASYNC_API DescribeLocationObjectStorageResult()=default
DescribeLocationObjectStorageResult & WithCreationTime(CreationTimeT &&value)
const ManagedSecretConfig & GetManagedSecretConfig() const
DescribeLocationObjectStorageResult & WithServerProtocol(ObjectStorageServerProtocol value)
void SetRequestId(RequestIdT &&value)
void SetCmkSecretConfig(CmkSecretConfigT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCustomSecretConfig(CustomSecretConfigT &&value)
void SetManagedSecretConfig(ManagedSecretConfigT &&value)
const Aws::String & GetLocationUri() const
DescribeLocationObjectStorageResult & WithAccessKey(AccessKeyT &&value)
DescribeLocationObjectStorageResult & WithCmkSecretConfig(CmkSecretConfigT &&value)
void SetServerCertificate(ServerCertificateT &&value)
AWS_DATASYNC_API DescribeLocationObjectStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CmkSecretConfig & GetCmkSecretConfig() const
int GetServerPort() const
DescribeLocationObjectStorageResult & WithManagedSecretConfig(ManagedSecretConfigT &&value)
DescribeLocationObjectStorageResult & WithAgentArns(AgentArnsT &&value)
void SetServerPort(int value)
DescribeLocationObjectStorageResult & WithServerCertificate(ServerCertificateT &&value)
const Aws::Utils::ByteBuffer & GetServerCertificate() const
DescribeLocationObjectStorageResult & WithServerPort(int value)
void SetAgentArns(AgentArnsT &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
AWS_DATASYNC_API DescribeLocationObjectStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationObjectStorageResult & WithCustomSecretConfig(CustomSecretConfigT &&value)
DescribeLocationObjectStorageResult & AddAgentArns(AgentArnsT &&value)
void SetServerProtocol(ObjectStorageServerProtocol value)
ObjectStorageServerProtocol GetServerProtocol() const
void SetLocationUri(LocationUriT &&value)
const Aws::String & GetRequestId() const
void SetAccessKey(AccessKeyT &&value)
void SetLocationArn(LocationArnT &&value)
const Aws::String & GetLocationArn() const
DescribeLocationObjectStorageResult & WithLocationArn(LocationArnT &&value)
ObjectStorageServerProtocol
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue