7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opensearch/OpenSearchService_EXPORTS.h>
12#include <aws/opensearch/model/AppConfig.h>
13#include <aws/opensearch/model/ApplicationStatus.h>
14#include <aws/opensearch/model/DataSource.h>
15#include <aws/opensearch/model/IamIdentityCenterOptions.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace OpenSearchService {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
90 template <
typename Endpo
intT = Aws::String>
92 m_endpointHasBeenSet =
true;
93 m_endpoint = std::forward<EndpointT>(value);
95 template <
typename Endpo
intT = Aws::String>
110 m_statusHasBeenSet =
true;
125 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
127 m_iamIdentityCenterOptionsHasBeenSet =
true;
128 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
130 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
142 template <
typename DataSourcesT = Aws::Vector<DataSource>>
144 m_dataSourcesHasBeenSet =
true;
145 m_dataSources = std::forward<DataSourcesT>(value);
147 template <
typename DataSourcesT = Aws::Vector<DataSource>>
152 template <
typename DataSourcesT = DataSource>
154 m_dataSourcesHasBeenSet =
true;
155 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
165 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
167 m_appConfigsHasBeenSet =
true;
168 m_appConfigs = std::forward<AppConfigsT>(value);
170 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
175 template <
typename AppConfigsT = AppConfig>
177 m_appConfigsHasBeenSet =
true;
178 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
205 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
207 m_lastUpdatedAtHasBeenSet =
true;
208 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
210 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
223 template <
typename KmsKeyArnT = Aws::String>
225 m_kmsKeyArnHasBeenSet =
true;
226 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
228 template <
typename KmsKeyArnT = Aws::String>
238 template <
typename RequestIdT = Aws::String>
240 m_requestIdHasBeenSet =
true;
241 m_requestId = std::forward<RequestIdT>(value);
243 template <
typename RequestIdT = Aws::String>
262 IamIdentityCenterOptions m_iamIdentityCenterOptions;
276 bool m_idHasBeenSet =
false;
277 bool m_arnHasBeenSet =
false;
278 bool m_nameHasBeenSet =
false;
279 bool m_endpointHasBeenSet =
false;
280 bool m_statusHasBeenSet =
false;
281 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
282 bool m_dataSourcesHasBeenSet =
false;
283 bool m_appConfigsHasBeenSet =
false;
284 bool m_createdAtHasBeenSet =
false;
285 bool m_lastUpdatedAtHasBeenSet =
false;
286 bool m_kmsKeyArnHasBeenSet =
false;
287 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
void SetAppConfigs(AppConfigsT &&value)
void SetDataSources(DataSourcesT &&value)
GetApplicationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
GetApplicationResult & WithDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithEndpoint(EndpointT &&value)
GetApplicationResult & AddDataSources(DataSourcesT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Vector< DataSource > & GetDataSources() const
GetApplicationResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetApplicationResult & WithArn(ArnT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
ApplicationStatus GetStatus() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_OPENSEARCHSERVICE_API GetApplicationResult()=default
void SetStatus(ApplicationStatus value)
void SetKmsKeyArn(KmsKeyArnT &&value)
GetApplicationResult & WithAppConfigs(AppConfigsT &&value)
void SetEndpoint(EndpointT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetKmsKeyArn() const
GetApplicationResult & WithStatus(ApplicationStatus value)
GetApplicationResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_OPENSEARCHSERVICE_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithId(IdT &&value)
GetApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
const Aws::String & GetName() const
const Aws::String & GetEndpoint() const
void SetCreatedAt(CreatedAtT &&value)
GetApplicationResult & AddAppConfigs(AppConfigsT &&value)
void SetArn(ArnT &&value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue