7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/AgentStatus.h>
12#include <aws/datasync/model/EndpointType.h>
13#include <aws/datasync/model/Platform.h>
14#include <aws/datasync/model/PrivateLinkConfig.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
45 template <
typename AgentArnT = Aws::String>
47 m_agentArnHasBeenSet =
true;
48 m_agentArn = std::forward<AgentArnT>(value);
50 template <
typename AgentArnT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
86 m_statusHasBeenSet =
true;
100 template <
typename LastConnectionTimeT = Aws::Utils::DateTime>
102 m_lastConnectionTimeHasBeenSet =
true;
103 m_lastConnectionTime = std::forward<LastConnectionTimeT>(value);
105 template <
typename LastConnectionTimeT = Aws::Utils::DateTime>
118 template <
typename CreationTimeT = Aws::Utils::DateTime>
120 m_creationTimeHasBeenSet =
true;
121 m_creationTime = std::forward<CreationTimeT>(value);
123 template <
typename CreationTimeT = Aws::Utils::DateTime>
138 m_endpointTypeHasBeenSet =
true;
139 m_endpointType = value;
154 template <
typename PrivateLinkConfigT = PrivateLinkConfig>
156 m_privateLinkConfigHasBeenSet =
true;
157 m_privateLinkConfig = std::forward<PrivateLinkConfigT>(value);
159 template <
typename PrivateLinkConfigT = PrivateLinkConfig>
171 template <
typename PlatformT = Platform>
173 m_platformHasBeenSet =
true;
174 m_platform = std::forward<PlatformT>(value);
176 template <
typename PlatformT = Platform>
186 template <
typename RequestIdT = Aws::String>
188 m_requestIdHasBeenSet =
true;
189 m_requestId = std::forward<RequestIdT>(value);
191 template <
typename RequestIdT = Aws::String>
212 PrivateLinkConfig m_privateLinkConfig;
218 bool m_agentArnHasBeenSet =
false;
219 bool m_nameHasBeenSet =
false;
220 bool m_statusHasBeenSet =
false;
221 bool m_lastConnectionTimeHasBeenSet =
false;
222 bool m_creationTimeHasBeenSet =
false;
223 bool m_endpointTypeHasBeenSet =
false;
224 bool m_privateLinkConfigHasBeenSet =
false;
225 bool m_platformHasBeenSet =
false;
226 bool m_requestIdHasBeenSet =
false;
const PrivateLinkConfig & GetPrivateLinkConfig() const
void SetStatus(AgentStatus value)
DescribeAgentResult & WithPlatform(PlatformT &&value)
const Platform & GetPlatform() const
AWS_DATASYNC_API DescribeAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EndpointType GetEndpointType() const
const Aws::String & GetName() const
void SetLastConnectionTime(LastConnectionTimeT &&value)
DescribeAgentResult & WithCreationTime(CreationTimeT &&value)
AWS_DATASYNC_API DescribeAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAgentResult & WithAgentArn(AgentArnT &&value)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAgentArn(AgentArnT &&value)
DescribeAgentResult & WithEndpointType(EndpointType value)
DescribeAgentResult & WithRequestId(RequestIdT &&value)
AgentStatus GetStatus() const
DescribeAgentResult & WithName(NameT &&value)
void SetPlatform(PlatformT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastConnectionTime() const
DescribeAgentResult & WithStatus(AgentStatus value)
const Aws::String & GetAgentArn() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_DATASYNC_API DescribeAgentResult()=default
void SetPrivateLinkConfig(PrivateLinkConfigT &&value)
const Aws::String & GetRequestId() const
void SetEndpointType(EndpointType value)
DescribeAgentResult & WithLastConnectionTime(LastConnectionTimeT &&value)
void SetName(NameT &&value)
DescribeAgentResult & WithPrivateLinkConfig(PrivateLinkConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue