7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opensearch/model/IamIdentityCenterOptionsInput.h>
12#include <aws/opensearch/model/DataSource.h>
13#include <aws/opensearch/model/AppConfig.h>
14#include <aws/opensearch/model/Tag.h>
16#include <aws/core/utils/UUID.h>
20namespace OpenSearchService
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename DataSourcesT = Aws::Vector<DataSource>>
73 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources = std::forward<DataSourcesT>(value); }
74 template<
typename DataSourcesT = Aws::Vector<DataSource>>
76 template<
typename DataSourcesT = DataSource>
87 template<
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
88 void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT&& value) { m_iamIdentityCenterOptionsHasBeenSet =
true; m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value); }
89 template<
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
100 template<
typename AppConfigsT = Aws::Vector<AppConfig>>
101 void SetAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet =
true; m_appConfigs = std::forward<AppConfigsT>(value); }
102 template<
typename AppConfigsT = Aws::Vector<AppConfig>>
104 template<
typename AppConfigsT = AppConfig>
112 template<
typename TagListT = Aws::Vector<Tag>>
113 void SetTagList(TagListT&& value) { m_tagListHasBeenSet =
true; m_tagList = std::forward<TagListT>(value); }
114 template<
typename TagListT = Aws::Vector<Tag>>
116 template<
typename TagListT = Tag>
122 bool m_clientTokenHasBeenSet =
true;
125 bool m_nameHasBeenSet =
false;
128 bool m_dataSourcesHasBeenSet =
false;
130 IamIdentityCenterOptionsInput m_iamIdentityCenterOptions;
131 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
134 bool m_appConfigsHasBeenSet =
false;
137 bool m_tagListHasBeenSet =
false;
CreateApplicationRequest & WithAppConfigs(AppConfigsT &&value)
void SetName(NameT &&value)
CreateApplicationRequest & AddDataSources(DataSourcesT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
bool AppConfigsHasBeenSet() 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
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
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