7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/AppConfig.h>
12#include <aws/opensearch/model/DataSource.h>
13#include <aws/opensearch/model/IamIdentityCenterOptions.h>
14#include <aws/opensearch/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace OpenSearchService {
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
72 template <
typename ArnT = Aws::String>
74 m_arnHasBeenSet =
true;
75 m_arn = std::forward<ArnT>(value);
77 template <
typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
89 template <
typename DataSourcesT = Aws::Vector<DataSource>>
91 m_dataSourcesHasBeenSet =
true;
92 m_dataSources = std::forward<DataSourcesT>(value);
94 template <
typename DataSourcesT = Aws::Vector<DataSource>>
99 template <
typename DataSourcesT = DataSource>
101 m_dataSourcesHasBeenSet =
true;
102 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
113 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
115 m_iamIdentityCenterOptionsHasBeenSet =
true;
116 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
118 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptions>
131 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
133 m_appConfigsHasBeenSet =
true;
134 m_appConfigs = std::forward<AppConfigsT>(value);
136 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
141 template <
typename AppConfigsT = AppConfig>
143 m_appConfigsHasBeenSet =
true;
144 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
152 template <
typename TagListT = Aws::Vector<Tag>>
154 m_tagListHasBeenSet =
true;
155 m_tagList = std::forward<TagListT>(value);
157 template <
typename TagListT = Aws::Vector<Tag>>
162 template <
typename TagListT = Tag>
164 m_tagListHasBeenSet =
true;
165 m_tagList.emplace_back(std::forward<TagListT>(value));
175 template <
typename CreatedAtT = Aws::Utils::DateTime>
177 m_createdAtHasBeenSet =
true;
178 m_createdAt = std::forward<CreatedAtT>(value);
180 template <
typename CreatedAtT = Aws::Utils::DateTime>
193 template <
typename KmsKeyArnT = Aws::String>
195 m_kmsKeyArnHasBeenSet =
true;
196 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
198 template <
typename KmsKeyArnT = Aws::String>
208 template <
typename RequestIdT = Aws::String>
210 m_requestIdHasBeenSet =
true;
211 m_requestId = std::forward<RequestIdT>(value);
213 template <
typename RequestIdT = Aws::String>
239 bool m_idHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
241 bool m_arnHasBeenSet =
false;
242 bool m_dataSourcesHasBeenSet =
false;
243 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
244 bool m_appConfigsHasBeenSet =
false;
245 bool m_tagListHasBeenSet =
false;
246 bool m_createdAtHasBeenSet =
false;
247 bool m_kmsKeyArnHasBeenSet =
false;
248 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)
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