7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchServiceRequest.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/IamIdentityCenterOptionsInput.h>
15#include <aws/opensearch/model/Tag.h>
20namespace OpenSearchService {
43 template <
typename ClientTokenT = Aws::String>
45 m_clientTokenHasBeenSet =
true;
46 m_clientToken = std::forward<ClientTokenT>(value);
48 template <
typename ClientTokenT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename DataSourcesT = Aws::Vector<DataSource>>
82 m_dataSourcesHasBeenSet =
true;
83 m_dataSources = std::forward<DataSourcesT>(value);
85 template <
typename DataSourcesT = Aws::Vector<DataSource>>
90 template <
typename DataSourcesT = DataSource>
92 m_dataSourcesHasBeenSet =
true;
93 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
105 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
107 m_iamIdentityCenterOptionsHasBeenSet =
true;
108 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
110 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
124 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
126 m_appConfigsHasBeenSet =
true;
127 m_appConfigs = std::forward<AppConfigsT>(value);
129 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
134 template <
typename AppConfigsT = AppConfig>
136 m_appConfigsHasBeenSet =
true;
137 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
146 template <
typename TagListT = Aws::Vector<Tag>>
148 m_tagListHasBeenSet =
true;
149 m_tagList = std::forward<TagListT>(value);
151 template <
typename TagListT = Aws::Vector<Tag>>
156 template <
typename TagListT = Tag>
158 m_tagListHasBeenSet =
true;
159 m_tagList.emplace_back(std::forward<TagListT>(value));
173 template <
typename KmsKeyArnT = Aws::String>
175 m_kmsKeyArnHasBeenSet =
true;
176 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
178 template <
typename KmsKeyArnT = Aws::String>
191 IamIdentityCenterOptionsInput m_iamIdentityCenterOptions;
198 bool m_clientTokenHasBeenSet =
true;
199 bool m_nameHasBeenSet =
false;
200 bool m_dataSourcesHasBeenSet =
false;
201 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
202 bool m_appConfigsHasBeenSet =
false;
203 bool m_tagListHasBeenSet =
false;
204 bool m_kmsKeyArnHasBeenSet =
false;
CreateApplicationRequest & WithKmsKeyArn(KmsKeyArnT &&value)
CreateApplicationRequest & WithAppConfigs(AppConfigsT &&value)
void SetName(NameT &&value)
CreateApplicationRequest & AddDataSources(DataSourcesT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
bool AppConfigsHasBeenSet() const
const Aws::String & GetKmsKeyArn() const
const Aws::String & GetClientToken() const
CreateApplicationRequest & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_OPENSEARCHSERVICE_API CreateApplicationRequest()=default
const Aws::String & GetName() const
CreateApplicationRequest & WithClientToken(ClientTokenT &&value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
const IamIdentityCenterOptionsInput & GetIamIdentityCenterOptions() const
CreateApplicationRequest & AddAppConfigs(AppConfigsT &&value)
CreateApplicationRequest & WithDataSources(DataSourcesT &&value)
const Aws::Vector< DataSource > & GetDataSources() const
bool TagListHasBeenSet() const
bool IamIdentityCenterOptionsHasBeenSet() const
bool KmsKeyArnHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetTagList(TagListT &&value)
const Aws::Vector< Tag > & GetTagList() const
void SetAppConfigs(AppConfigsT &&value)
bool ClientTokenHasBeenSet() const
bool DataSourcesHasBeenSet() const
void SetDataSources(DataSourcesT &&value)
bool NameHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
CreateApplicationRequest & AddTagList(TagListT &&value)
virtual const char * GetServiceRequestName() const override
CreateApplicationRequest & WithName(NameT &&value)
CreateApplicationRequest & WithTagList(TagListT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector