7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/AgentStatus.h>
11#include <aws/datasync/model/EndpointType.h>
12#include <aws/datasync/model/Platform.h>
13#include <aws/datasync/model/PrivateLinkConfig.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
44 template <
typename AgentArnT = Aws::String>
46 m_agentArnHasBeenSet =
true;
47 m_agentArn = std::forward<AgentArnT>(value);
49 template <
typename AgentArnT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
85 m_statusHasBeenSet =
true;
99 template <
typename LastConnectionTimeT = Aws::Utils::DateTime>
101 m_lastConnectionTimeHasBeenSet =
true;
102 m_lastConnectionTime = std::forward<LastConnectionTimeT>(value);
104 template <
typename LastConnectionTimeT = Aws::Utils::DateTime>
117 template <
typename CreationTimeT = Aws::Utils::DateTime>
119 m_creationTimeHasBeenSet =
true;
120 m_creationTime = std::forward<CreationTimeT>(value);
122 template <
typename CreationTimeT = Aws::Utils::DateTime>
137 m_endpointTypeHasBeenSet =
true;
138 m_endpointType = value;
153 template <
typename PrivateLinkConfigT = PrivateLinkConfig>
155 m_privateLinkConfigHasBeenSet =
true;
156 m_privateLinkConfig = std::forward<PrivateLinkConfigT>(value);
158 template <
typename PrivateLinkConfigT = PrivateLinkConfig>
170 template <
typename PlatformT = Platform>
172 m_platformHasBeenSet =
true;
173 m_platform = std::forward<PlatformT>(value);
175 template <
typename PlatformT = Platform>
185 template <
typename RequestIdT = Aws::String>
187 m_requestIdHasBeenSet =
true;
188 m_requestId = std::forward<RequestIdT>(value);
190 template <
typename RequestIdT = Aws::String>
209 PrivateLinkConfig m_privateLinkConfig;
214 bool m_agentArnHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
217 bool m_lastConnectionTimeHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
219 bool m_endpointTypeHasBeenSet =
false;
220 bool m_privateLinkConfigHasBeenSet =
false;
221 bool m_platformHasBeenSet =
false;
222 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)
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