7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchServiceRequest.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/IamIdentityCenterOptionsInput.h>
18namespace 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));
59 template <
typename DataSourcesT = Aws::Vector<DataSource>>
61 m_dataSourcesHasBeenSet =
true;
62 m_dataSources = std::forward<DataSourcesT>(value);
64 template <
typename DataSourcesT = Aws::Vector<DataSource>>
69 template <
typename DataSourcesT = DataSource>
71 m_dataSourcesHasBeenSet =
true;
72 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
83 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
85 m_appConfigsHasBeenSet =
true;
86 m_appConfigs = std::forward<AppConfigsT>(value);
88 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
93 template <
typename AppConfigsT = AppConfig>
95 m_appConfigsHasBeenSet =
true;
96 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
108 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
110 m_iamIdentityCenterOptionsHasBeenSet =
true;
111 m_iamIdentityCenterOptions = std::forward<IamIdentityCenterOptionsT>(value);
113 template <
typename IamIdentityCenterOptionsT = IamIdentityCenterOptionsInput>
127 bool m_idHasBeenSet =
false;
128 bool m_dataSourcesHasBeenSet =
false;
129 bool m_appConfigsHasBeenSet =
false;
130 bool m_iamIdentityCenterOptionsHasBeenSet =
false;
void SetDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API UpdateApplicationRequest()=default
void SetAppConfigs(AppConfigsT &&value)
void SetIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
UpdateApplicationRequest & WithDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateApplicationRequest & AddAppConfigs(AppConfigsT &&value)
bool AppConfigsHasBeenSet() const
bool IamIdentityCenterOptionsHasBeenSet() const
UpdateApplicationRequest & WithAppConfigs(AppConfigsT &&value)
UpdateApplicationRequest & WithId(IdT &&value)
UpdateApplicationRequest & AddDataSources(DataSourcesT &&value)
virtual const char * GetServiceRequestName() const override
bool IdHasBeenSet() const
const Aws::Vector< DataSource > & GetDataSources() const
UpdateApplicationRequest & WithIamIdentityCenterOptions(IamIdentityCenterOptionsT &&value)
bool DataSourcesHasBeenSet() const
const IamIdentityCenterOptionsInput & GetIamIdentityCenterOptions() const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector