AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAgentResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataSync
29{
30namespace Model
31{
38 {
39 public:
40 AWS_DATASYNC_API DescribeAgentResult();
43
44
46
49 inline const Aws::String& GetAgentArn() const{ return m_agentArn; }
50 inline void SetAgentArn(const Aws::String& value) { m_agentArn = value; }
51 inline void SetAgentArn(Aws::String&& value) { m_agentArn = std::move(value); }
52 inline void SetAgentArn(const char* value) { m_agentArn.assign(value); }
53 inline DescribeAgentResult& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;}
54 inline DescribeAgentResult& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;}
55 inline DescribeAgentResult& WithAgentArn(const char* value) { SetAgentArn(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline void SetName(const Aws::String& value) { m_name = value; }
64 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
65 inline void SetName(const char* value) { m_name.assign(value); }
66 inline DescribeAgentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline DescribeAgentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline DescribeAgentResult& WithName(const char* value) { SetName(value); return *this;}
70
72
81 inline const AgentStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const AgentStatus& value) { m_status = value; }
83 inline void SetStatus(AgentStatus&& value) { m_status = std::move(value); }
84 inline DescribeAgentResult& WithStatus(const AgentStatus& value) { SetStatus(value); return *this;}
85 inline DescribeAgentResult& WithStatus(AgentStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetLastConnectionTime() const{ return m_lastConnectionTime; }
93 inline void SetLastConnectionTime(const Aws::Utils::DateTime& value) { m_lastConnectionTime = value; }
94 inline void SetLastConnectionTime(Aws::Utils::DateTime&& value) { m_lastConnectionTime = std::move(value); }
96 inline DescribeAgentResult& WithLastConnectionTime(Aws::Utils::DateTime&& value) { SetLastConnectionTime(std::move(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
106 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
107 inline DescribeAgentResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
108 inline DescribeAgentResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
110
112
117 inline const EndpointType& GetEndpointType() const{ return m_endpointType; }
118 inline void SetEndpointType(const EndpointType& value) { m_endpointType = value; }
119 inline void SetEndpointType(EndpointType&& value) { m_endpointType = std::move(value); }
120 inline DescribeAgentResult& WithEndpointType(const EndpointType& value) { SetEndpointType(value); return *this;}
121 inline DescribeAgentResult& WithEndpointType(EndpointType&& value) { SetEndpointType(std::move(value)); return *this;}
123
125
130 inline const PrivateLinkConfig& GetPrivateLinkConfig() const{ return m_privateLinkConfig; }
131 inline void SetPrivateLinkConfig(const PrivateLinkConfig& value) { m_privateLinkConfig = value; }
132 inline void SetPrivateLinkConfig(PrivateLinkConfig&& value) { m_privateLinkConfig = std::move(value); }
134 inline DescribeAgentResult& WithPrivateLinkConfig(PrivateLinkConfig&& value) { SetPrivateLinkConfig(std::move(value)); return *this;}
136
138
141 inline const Platform& GetPlatform() const{ return m_platform; }
142 inline void SetPlatform(const Platform& value) { m_platform = value; }
143 inline void SetPlatform(Platform&& value) { m_platform = std::move(value); }
144 inline DescribeAgentResult& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
145 inline DescribeAgentResult& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const{ return m_requestId; }
151 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
152 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
153 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
154 inline DescribeAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
155 inline DescribeAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
156 inline DescribeAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
158 private:
159
160 Aws::String m_agentArn;
161
162 Aws::String m_name;
163
164 AgentStatus m_status;
165
166 Aws::Utils::DateTime m_lastConnectionTime;
167
168 Aws::Utils::DateTime m_creationTime;
169
170 EndpointType m_endpointType;
171
172 PrivateLinkConfig m_privateLinkConfig;
173
174 Platform m_platform;
175
176 Aws::String m_requestId;
177 };
178
179} // namespace Model
180} // namespace DataSync
181} // namespace Aws
DescribeAgentResult & WithStatus(AgentStatus &&value)
const PrivateLinkConfig & GetPrivateLinkConfig() const
DescribeAgentResult & WithEndpointType(EndpointType &&value)
DescribeAgentResult & WithLastConnectionTime(Aws::Utils::DateTime &&value)
void SetLastConnectionTime(const Aws::Utils::DateTime &value)
DescribeAgentResult & WithRequestId(const char *value)
DescribeAgentResult & WithLastConnectionTime(const Aws::Utils::DateTime &value)
AWS_DATASYNC_API DescribeAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAgentResult & WithPlatform(const Platform &value)
DescribeAgentResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeAgentResult & WithRequestId(Aws::String &&value)
DescribeAgentResult & WithName(const Aws::String &value)
DescribeAgentResult & WithRequestId(const Aws::String &value)
DescribeAgentResult & WithAgentArn(const char *value)
DescribeAgentResult & WithPrivateLinkConfig(PrivateLinkConfig &&value)
void SetRequestId(const Aws::String &value)
AWS_DATASYNC_API DescribeAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const AgentStatus &value)
DescribeAgentResult & WithPlatform(Platform &&value)
void SetPrivateLinkConfig(PrivateLinkConfig &&value)
void SetLastConnectionTime(Aws::Utils::DateTime &&value)
void SetAgentArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastConnectionTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAgentResult & WithName(Aws::String &&value)
DescribeAgentResult & WithAgentArn(Aws::String &&value)
DescribeAgentResult & WithName(const char *value)
DescribeAgentResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeAgentResult & WithAgentArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeAgentResult & WithStatus(const AgentStatus &value)
DescribeAgentResult & WithEndpointType(const EndpointType &value)
void SetEndpointType(const EndpointType &value)
DescribeAgentResult & WithPrivateLinkConfig(const PrivateLinkConfig &value)
void SetPrivateLinkConfig(const PrivateLinkConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue