7#include <aws/backup-external/BackupExternal_EXPORTS.h>
8#include <aws/backup-external/model/ResourceProviderType.h>
9#include <aws/backup-external/model/ResourceTargetConfiguration.h>
10#include <aws/backup-external/model/ResourceTargetConfigurationSource.h>
11#include <aws/backup-external/model/ResourceTargetMetadata.h>
12#include <aws/backup-external/model/ResourceTargetStatus.h>
13#include <aws/backup-external/model/ResourceTargetType.h>
14#include <aws/core/http/HttpResponse.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace BackupExternal {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
59 template <
typename CreatedAtT = Aws::Utils::DateTime>
61 m_createdAtHasBeenSet =
true;
62 m_createdAt = std::forward<CreatedAtT>(value);
64 template <
typename CreatedAtT = Aws::Utils::DateTime>
76 template <
typename ExternalIdentifierT = Aws::String>
78 m_externalIdentifierHasBeenSet =
true;
79 m_externalIdentifier = std::forward<ExternalIdentifierT>(value);
81 template <
typename ExternalIdentifierT = Aws::String>
93 template <
typename ExternalNameT = Aws::String>
95 m_externalNameHasBeenSet =
true;
96 m_externalName = std::forward<ExternalNameT>(value);
98 template <
typename ExternalNameT = Aws::String>
111 template <
typename LastSyncedAtT = Aws::Utils::DateTime>
113 m_lastSyncedAtHasBeenSet =
true;
114 m_lastSyncedAt = std::forward<LastSyncedAtT>(value);
116 template <
typename LastSyncedAtT = Aws::Utils::DateTime>
128 template <
typename NameT = Aws::String>
130 m_nameHasBeenSet =
true;
131 m_name = std::forward<NameT>(value);
133 template <
typename NameT = Aws::String>
135 SetName(std::forward<NameT>(value));
145 template <
typename Prov
iderArnT = Aws::String>
147 m_providerArnHasBeenSet =
true;
148 m_providerArn = std::forward<ProviderArnT>(value);
150 template <
typename Prov
iderArnT = Aws::String>
163 m_providerTypeHasBeenSet =
true;
164 m_providerType = value;
178 m_statusHasBeenSet =
true;
192 template <
typename StatusMessageT = Aws::String>
194 m_statusMessageHasBeenSet =
true;
195 m_statusMessage = std::forward<StatusMessageT>(value);
197 template <
typename StatusMessageT = Aws::String>
209 template <
typename TargetConfigurationT = ResourceTargetConfiguration>
211 m_targetConfigurationHasBeenSet =
true;
212 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
214 template <
typename TargetConfigurationT = ResourceTargetConfiguration>
227 m_targetConfigurationSourceHasBeenSet =
true;
228 m_targetConfigurationSource = value;
241 template <
typename TargetMetadataT = ResourceTargetMetadata>
243 m_targetMetadataHasBeenSet =
true;
244 m_targetMetadata = std::forward<TargetMetadataT>(value);
246 template <
typename TargetMetadataT = ResourceTargetMetadata>
259 m_targetTypeHasBeenSet =
true;
260 m_targetType = value;
273 template <
typename UpdatedAtT = Aws::Utils::DateTime>
275 m_updatedAtHasBeenSet =
true;
276 m_updatedAt = std::forward<UpdatedAtT>(value);
278 template <
typename UpdatedAtT = Aws::Utils::DateTime>
288 template <
typename RequestIdT = Aws::String>
290 m_requestIdHasBeenSet =
true;
291 m_requestId = std::forward<RequestIdT>(value);
293 template <
typename RequestIdT = Aws::String>
322 ResourceTargetConfiguration m_targetConfiguration;
326 ResourceTargetMetadata m_targetMetadata;
334 bool m_arnHasBeenSet =
false;
335 bool m_createdAtHasBeenSet =
false;
336 bool m_externalIdentifierHasBeenSet =
false;
337 bool m_externalNameHasBeenSet =
false;
338 bool m_lastSyncedAtHasBeenSet =
false;
339 bool m_nameHasBeenSet =
false;
340 bool m_providerArnHasBeenSet =
false;
341 bool m_providerTypeHasBeenSet =
false;
342 bool m_statusHasBeenSet =
false;
343 bool m_statusMessageHasBeenSet =
false;
344 bool m_targetConfigurationHasBeenSet =
false;
345 bool m_targetConfigurationSourceHasBeenSet =
false;
346 bool m_targetMetadataHasBeenSet =
false;
347 bool m_targetTypeHasBeenSet =
false;
348 bool m_updatedAtHasBeenSet =
false;
349 bool m_requestIdHasBeenSet =
false;
AWS_BACKUPEXTERNAL_API GetResourceTargetResult()=default
ResourceProviderType GetProviderType() const
GetResourceTargetResult & WithTargetConfigurationSource(ResourceTargetConfigurationSource value)
void SetProviderArn(ProviderArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetExternalName() const
void SetStatus(ResourceTargetStatus value)
void SetStatusMessage(StatusMessageT &&value)
GetResourceTargetResult & WithName(NameT &&value)
const Aws::String & GetProviderArn() const
GetResourceTargetResult & WithTargetType(ResourceTargetType value)
GetResourceTargetResult & WithProviderArn(ProviderArnT &&value)
const Aws::Utils::DateTime & GetLastSyncedAt() const
const Aws::String & GetExternalIdentifier() const
GetResourceTargetResult & WithTargetMetadata(TargetMetadataT &&value)
void SetTargetConfigurationSource(ResourceTargetConfigurationSource value)
const ResourceTargetConfiguration & GetTargetConfiguration() const
GetResourceTargetResult & WithLastSyncedAt(LastSyncedAtT &&value)
void SetTargetType(ResourceTargetType value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetName() const
ResourceTargetStatus GetStatus() const
GetResourceTargetResult & WithExternalName(ExternalNameT &&value)
GetResourceTargetResult & WithArn(ArnT &&value)
ResourceTargetType GetTargetType() const
void SetTargetMetadata(TargetMetadataT &&value)
void SetExternalIdentifier(ExternalIdentifierT &&value)
GetResourceTargetResult & WithUpdatedAt(UpdatedAtT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetArn() const
GetResourceTargetResult & WithStatus(ResourceTargetStatus value)
void SetTargetConfiguration(TargetConfigurationT &&value)
void SetName(NameT &&value)
void SetExternalName(ExternalNameT &&value)
GetResourceTargetResult & WithTargetConfiguration(TargetConfigurationT &&value)
GetResourceTargetResult & WithStatusMessage(StatusMessageT &&value)
ResourceTargetConfigurationSource GetTargetConfigurationSource() const
const Aws::String & GetStatusMessage() const
AWS_BACKUPEXTERNAL_API GetResourceTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProviderType(ResourceProviderType value)
const ResourceTargetMetadata & GetTargetMetadata() const
GetResourceTargetResult & WithRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetResourceTargetResult & WithExternalIdentifier(ExternalIdentifierT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_BACKUPEXTERNAL_API GetResourceTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(CreatedAtT &&value)
GetResourceTargetResult & WithCreatedAt(CreatedAtT &&value)
void SetArn(ArnT &&value)
void SetLastSyncedAt(LastSyncedAtT &&value)
GetResourceTargetResult & WithProviderType(ResourceProviderType value)
const Aws::String & GetRequestId() const
ResourceTargetConfigurationSource
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue