7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/AgentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/datasync/model/EndpointType.h>
12#include <aws/datasync/model/PrivateLinkConfig.h>
13#include <aws/datasync/model/Platform.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
50 template<
typename AgentArnT = Aws::String>
51 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet =
true; m_agentArn = std::forward<AgentArnT>(value); }
52 template<
typename AgentArnT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
87 template<
typename LastConnectionTimeT = Aws::Utils::DateTime>
88 void SetLastConnectionTime(LastConnectionTimeT&& value) { m_lastConnectionTimeHasBeenSet =
true; m_lastConnectionTime = std::forward<LastConnectionTimeT>(value); }
89 template<
typename LastConnectionTimeT = Aws::Utils::DateTime>
99 template<
typename CreationTimeT = Aws::Utils::DateTime>
100 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
101 template<
typename CreationTimeT = Aws::Utils::DateTime>
123 template<
typename PrivateLinkConfigT = PrivateLinkConfig>
124 void SetPrivateLinkConfig(PrivateLinkConfigT&& value) { m_privateLinkConfigHasBeenSet =
true; m_privateLinkConfig = std::forward<PrivateLinkConfigT>(value); }
125 template<
typename PrivateLinkConfigT = PrivateLinkConfig>
134 template<
typename PlatformT = Platform>
135 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet =
true; m_platform = std::forward<PlatformT>(value); }
136 template<
typename PlatformT = Platform>
143 template<
typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
145 template<
typename RequestIdT = Aws::String>
151 bool m_agentArnHasBeenSet =
false;
154 bool m_nameHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
160 bool m_lastConnectionTimeHasBeenSet =
false;
163 bool m_creationTimeHasBeenSet =
false;
166 bool m_endpointTypeHasBeenSet =
false;
168 PrivateLinkConfig m_privateLinkConfig;
169 bool m_privateLinkConfigHasBeenSet =
false;
172 bool m_platformHasBeenSet =
false;
175 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