AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStorageSystemResult.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/DiscoveryServerConfiguration.h>
10#include <aws/datasync/model/DiscoverySystemType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datasync/model/StorageSystemConnectivityStatus.h>
13#include <aws/core/utils/DateTime.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{
33 {
34 public:
35 AWS_DATASYNC_API DescribeStorageSystemResult();
38
39
41
45 inline const Aws::String& GetStorageSystemArn() const{ return m_storageSystemArn; }
46 inline void SetStorageSystemArn(const Aws::String& value) { m_storageSystemArn = value; }
47 inline void SetStorageSystemArn(Aws::String&& value) { m_storageSystemArn = std::move(value); }
48 inline void SetStorageSystemArn(const char* value) { m_storageSystemArn.assign(value); }
50 inline DescribeStorageSystemResult& WithStorageSystemArn(Aws::String&& value) { SetStorageSystemArn(std::move(value)); return *this;}
51 inline DescribeStorageSystemResult& WithStorageSystemArn(const char* value) { SetStorageSystemArn(value); return *this;}
53
55
59 inline const DiscoveryServerConfiguration& GetServerConfiguration() const{ return m_serverConfiguration; }
60 inline void SetServerConfiguration(const DiscoveryServerConfiguration& value) { m_serverConfiguration = value; }
61 inline void SetServerConfiguration(DiscoveryServerConfiguration&& value) { m_serverConfiguration = std::move(value); }
65
67
72 inline const DiscoverySystemType& GetSystemType() const{ return m_systemType; }
73 inline void SetSystemType(const DiscoverySystemType& value) { m_systemType = value; }
74 inline void SetSystemType(DiscoverySystemType&& value) { m_systemType = std::move(value); }
75 inline DescribeStorageSystemResult& WithSystemType(const DiscoverySystemType& value) { SetSystemType(value); return *this;}
76 inline DescribeStorageSystemResult& WithSystemType(DiscoverySystemType&& value) { SetSystemType(std::move(value)); return *this;}
78
80
84 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
85 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
86 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
88 inline DescribeStorageSystemResult& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
89 inline DescribeStorageSystemResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
90 inline DescribeStorageSystemResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
91 inline DescribeStorageSystemResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
93
95
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline void SetName(const Aws::String& value) { m_name = value; }
101 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
102 inline void SetName(const char* value) { m_name.assign(value); }
103 inline DescribeStorageSystemResult& WithName(const Aws::String& value) { SetName(value); return *this;}
104 inline DescribeStorageSystemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 inline DescribeStorageSystemResult& WithName(const char* value) { SetName(value); return *this;}
107
109
113 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
114 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
115 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
116 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
117 inline DescribeStorageSystemResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
118 inline DescribeStorageSystemResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
119 inline DescribeStorageSystemResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
121
123
127 inline const StorageSystemConnectivityStatus& GetConnectivityStatus() const{ return m_connectivityStatus; }
128 inline void SetConnectivityStatus(const StorageSystemConnectivityStatus& value) { m_connectivityStatus = value; }
129 inline void SetConnectivityStatus(StorageSystemConnectivityStatus&& value) { m_connectivityStatus = std::move(value); }
133
135
139 inline const Aws::String& GetCloudWatchLogGroupArn() const{ return m_cloudWatchLogGroupArn; }
140 inline void SetCloudWatchLogGroupArn(const Aws::String& value) { m_cloudWatchLogGroupArn = value; }
141 inline void SetCloudWatchLogGroupArn(Aws::String&& value) { m_cloudWatchLogGroupArn = std::move(value); }
142 inline void SetCloudWatchLogGroupArn(const char* value) { m_cloudWatchLogGroupArn.assign(value); }
145 inline DescribeStorageSystemResult& WithCloudWatchLogGroupArn(const char* value) { SetCloudWatchLogGroupArn(value); return *this;}
147
149
153 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
154 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
155 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
157 inline DescribeStorageSystemResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
159
161
167 inline const Aws::String& GetSecretsManagerArn() const{ return m_secretsManagerArn; }
168 inline void SetSecretsManagerArn(const Aws::String& value) { m_secretsManagerArn = value; }
169 inline void SetSecretsManagerArn(Aws::String&& value) { m_secretsManagerArn = std::move(value); }
170 inline void SetSecretsManagerArn(const char* value) { m_secretsManagerArn.assign(value); }
172 inline DescribeStorageSystemResult& WithSecretsManagerArn(Aws::String&& value) { SetSecretsManagerArn(std::move(value)); return *this;}
173 inline DescribeStorageSystemResult& WithSecretsManagerArn(const char* value) { SetSecretsManagerArn(value); return *this;}
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline DescribeStorageSystemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline DescribeStorageSystemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline DescribeStorageSystemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 Aws::String m_storageSystemArn;
189
190 DiscoveryServerConfiguration m_serverConfiguration;
191
192 DiscoverySystemType m_systemType;
193
194 Aws::Vector<Aws::String> m_agentArns;
195
196 Aws::String m_name;
197
198 Aws::String m_errorMessage;
199
200 StorageSystemConnectivityStatus m_connectivityStatus;
201
202 Aws::String m_cloudWatchLogGroupArn;
203
204 Aws::Utils::DateTime m_creationTime;
205
206 Aws::String m_secretsManagerArn;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace DataSync
213} // namespace Aws
DescribeStorageSystemResult & WithCloudWatchLogGroupArn(const char *value)
DescribeStorageSystemResult & WithRequestId(const Aws::String &value)
DescribeStorageSystemResult & WithName(const char *value)
DescribeStorageSystemResult & WithErrorMessage(const Aws::String &value)
DescribeStorageSystemResult & WithSecretsManagerArn(const char *value)
DescribeStorageSystemResult & WithStorageSystemArn(Aws::String &&value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
DescribeStorageSystemResult & WithServerConfiguration(const DiscoveryServerConfiguration &value)
DescribeStorageSystemResult & WithAgentArns(const Aws::Vector< Aws::String > &value)
void SetAgentArns(Aws::Vector< Aws::String > &&value)
void SetServerConfiguration(DiscoveryServerConfiguration &&value)
DescribeStorageSystemResult & AddAgentArns(const Aws::String &value)
DescribeStorageSystemResult & WithErrorMessage(Aws::String &&value)
DescribeStorageSystemResult & WithStorageSystemArn(const char *value)
DescribeStorageSystemResult & WithServerConfiguration(DiscoveryServerConfiguration &&value)
DescribeStorageSystemResult & WithCreationTime(Aws::Utils::DateTime &&value)
const DiscoveryServerConfiguration & GetServerConfiguration() const
DescribeStorageSystemResult & WithCloudWatchLogGroupArn(const Aws::String &value)
DescribeStorageSystemResult & WithSecretsManagerArn(const Aws::String &value)
void SetConnectivityStatus(StorageSystemConnectivityStatus &&value)
DescribeStorageSystemResult & WithAgentArns(Aws::Vector< Aws::String > &&value)
AWS_DATASYNC_API DescribeStorageSystemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConnectivityStatus(const StorageSystemConnectivityStatus &value)
DescribeStorageSystemResult & WithName(Aws::String &&value)
DescribeStorageSystemResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeStorageSystemResult & WithName(const Aws::String &value)
AWS_DATASYNC_API DescribeStorageSystemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStorageSystemResult & WithSystemType(DiscoverySystemType &&value)
DescribeStorageSystemResult & AddAgentArns(const char *value)
DescribeStorageSystemResult & WithConnectivityStatus(StorageSystemConnectivityStatus &&value)
const Aws::Vector< Aws::String > & GetAgentArns() const
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeStorageSystemResult & WithRequestId(Aws::String &&value)
DescribeStorageSystemResult & WithRequestId(const char *value)
const StorageSystemConnectivityStatus & GetConnectivityStatus() const
DescribeStorageSystemResult & WithStorageSystemArn(const Aws::String &value)
DescribeStorageSystemResult & WithSecretsManagerArn(Aws::String &&value)
DescribeStorageSystemResult & WithErrorMessage(const char *value)
DescribeStorageSystemResult & WithCloudWatchLogGroupArn(Aws::String &&value)
DescribeStorageSystemResult & WithConnectivityStatus(const StorageSystemConnectivityStatus &value)
void SetServerConfiguration(const DiscoveryServerConfiguration &value)
DescribeStorageSystemResult & AddAgentArns(Aws::String &&value)
DescribeStorageSystemResult & WithSystemType(const DiscoverySystemType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue