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/DataSource.h>
14#include <aws/opensearch/model/IamIdentityCenterOptions.h>
15#include <aws/opensearch/model/Tag.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));
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
73 template <
typename ArnT = Aws::String>
75 m_arnHasBeenSet =
true;
76 m_arn = std::forward<ArnT>(value);
78 template <
typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
90 template <
typename DataSourcesT = Aws::Vector<DataSource>>
92 m_dataSourcesHasBeenSet =
true;
93 m_dataSources = std::forward<DataSourcesT>(value);
95 template <
typename DataSourcesT = Aws::Vector<DataSource>>
100 template <
typename DataSourcesT = DataSource>
102 m_dataSourcesHasBeenSet =
true;
103 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
114 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
116 m_iamIdentityCenterOptionsHasBeenSet =
true;
117 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
119 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
132 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
134 m_appConfigsHasBeenSet =
true;
135 m_appConfigs = std::forward<AppConfigsT>(value);
137 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
142 template <
typename AppConfigsT = AppConfig>
144 m_appConfigsHasBeenSet =
true;
145 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
153 template <
typename TagListT = Aws::Vector<Tag>>
155 m_tagListHasBeenSet =
true;
156 m_tagList = std::forward<TagListT>(value);
158 template <
typename TagListT = Aws::Vector<Tag>>
163 template <
typename TagListT = Tag>
165 m_tagListHasBeenSet =
true;
166 m_tagList.emplace_back(std::forward<TagListT>(value));
176 template <
typename CreatedAtT = Aws::Utils::DateTime>
178 m_createdAtHasBeenSet =
true;
179 m_createdAt = std::forward<CreatedAtT>(value);
181 template <
typename CreatedAtT = Aws::Utils::DateTime>
194 template <
typename KmsKeyArnT = Aws::String>
196 m_kmsKeyArnHasBeenSet =
true;
197 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
199 template <
typename KmsKeyArnT = Aws::String>
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
243 bool m_idHasBeenSet =
false;
244 bool m_nameHasBeenSet =
false;
245 bool m_arnHasBeenSet =
false;
246 bool m_dataSourcesHasBeenSet =
false;
247 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
248 bool m_appConfigsHasBeenSet =
false;
249 bool m_tagListHasBeenSet =
false;
250 bool m_createdAtHasBeenSet =
false;
251 bool m_kmsKeyArnHasBeenSet =
false;
252 bool m_requestIdHasBeenSet =
false;
CreateApplicationResult & WithRequestId(RequestIdT &&value)
CreateApplicationResult & WithAppConfigs(AppConfigsT &&value)
CreateApplicationResult & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult()=default
const Aws::String & GetId() const
CreateApplicationResult & WithId(IdT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
CreateApplicationResult & WithArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTagList(TagListT &&value)
void SetDataSources(DataSourcesT &&value)
CreateApplicationResult & WithDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithTagList(TagListT &&value)
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetAppConfigs(AppConfigsT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
CreateApplicationResult & AddDataSources(DataSourcesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateApplicationResult & AddAppConfigs(AppConfigsT &&value)
void SetArn(ArnT &&value)
CreateApplicationResult & AddTagList(TagListT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
CreateApplicationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Tag > & GetTagList() const
const Aws::String & GetRequestId() const
const Aws::String & GetKmsKeyArn() const
CreateApplicationResult & WithName(NameT &&value)
const IamIdentityCenterOptions & GetIamIdentityCenterOptions() const
const Aws::Vector< AppConfig > & GetAppConfigs() const
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
const Aws::Vector< DataSource > & GetDataSources() 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