7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
13#include <aws/resource-explorer-2/model/IndexState.h>
14#include <aws/resource-explorer-2/model/IndexType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace ResourceExplorer2 {
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));
63 m_typeHasBeenSet =
true;
78 m_stateHasBeenSet =
true;
94 template <
typename ReplicatingFromT = Aws::Vector<Aws::String>>
96 m_replicatingFromHasBeenSet =
true;
97 m_replicatingFrom = std::forward<ReplicatingFromT>(value);
99 template <
typename ReplicatingFromT = Aws::Vector<Aws::String>>
104 template <
typename ReplicatingFromT = Aws::String>
106 m_replicatingFromHasBeenSet =
true;
107 m_replicatingFrom.emplace_back(std::forward<ReplicatingFromT>(value));
121 template <
typename ReplicatingToT = Aws::Vector<Aws::String>>
123 m_replicatingToHasBeenSet =
true;
124 m_replicatingTo = std::forward<ReplicatingToT>(value);
126 template <
typename ReplicatingToT = Aws::Vector<Aws::String>>
131 template <
typename ReplicatingToT = Aws::String>
133 m_replicatingToHasBeenSet =
true;
134 m_replicatingTo.emplace_back(std::forward<ReplicatingToT>(value));
144 template <
typename CreatedAtT = Aws::Utils::DateTime>
146 m_createdAtHasBeenSet =
true;
147 m_createdAt = std::forward<CreatedAtT>(value);
149 template <
typename CreatedAtT = Aws::Utils::DateTime>
161 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
163 m_lastUpdatedAtHasBeenSet =
true;
164 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
166 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
178 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 m_tagsHasBeenSet =
true;
181 m_tags = std::forward<TagsT>(value);
183 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 SetTags(std::forward<TagsT>(value));
188 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
190 m_tagsHasBeenSet =
true;
191 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 template <
typename RequestIdT = Aws::String>
201 m_requestIdHasBeenSet =
true;
202 m_requestId = std::forward<RequestIdT>(value);
204 template <
typename RequestIdT = Aws::String>
231 bool m_arnHasBeenSet =
false;
232 bool m_typeHasBeenSet =
false;
233 bool m_stateHasBeenSet =
false;
234 bool m_replicatingFromHasBeenSet =
false;
235 bool m_replicatingToHasBeenSet =
false;
236 bool m_createdAtHasBeenSet =
false;
237 bool m_lastUpdatedAtHasBeenSet =
false;
238 bool m_tagsHasBeenSet =
false;
239 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetReplicatingTo() const
void SetReplicatingFrom(ReplicatingFromT &&value)
GetIndexResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetReplicatingFrom() const
AWS_RESOURCEEXPLORER2_API GetIndexResult()=default
void SetCreatedAt(CreatedAtT &&value)
GetIndexResult & WithCreatedAt(CreatedAtT &&value)
GetIndexResult & WithArn(ArnT &&value)
GetIndexResult & WithReplicatingTo(ReplicatingToT &&value)
AWS_RESOURCEEXPLORER2_API GetIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetIndexResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetIndexResult & WithState(IndexState value)
GetIndexResult & WithType(IndexType value)
GetIndexResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetTags(TagsT &&value)
GetIndexResult & WithReplicatingFrom(ReplicatingFromT &&value)
const Aws::String & GetArn() const
IndexType GetType() const
void SetArn(ArnT &&value)
void SetState(IndexState value)
AWS_RESOURCEEXPLORER2_API GetIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetReplicatingTo(ReplicatingToT &&value)
GetIndexResult & WithTags(TagsT &&value)
IndexState GetState() const
void SetType(IndexType value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GetIndexResult & AddReplicatingFrom(ReplicatingFromT &&value)
GetIndexResult & AddReplicatingTo(ReplicatingToT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue