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/DataSource.h>
12#include <aws/opensearch/model/AppConfig.h>
17namespace OpenSearchService
44 template<
typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
46 template<
typename IdT = Aws::String>
56 template<
typename DataSourcesT = Aws::Vector<DataSource>>
57 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet =
true; m_dataSources = std::forward<DataSourcesT>(value); }
58 template<
typename DataSourcesT = Aws::Vector<DataSource>>
60 template<
typename DataSourcesT = DataSource>
70 template<
typename AppConfigsT = Aws::Vector<AppConfig>>
71 void SetAppConfigs(AppConfigsT&& value) { m_appConfigsHasBeenSet =
true; m_appConfigs = std::forward<AppConfigsT>(value); }
72 template<
typename AppConfigsT = Aws::Vector<AppConfig>>
74 template<
typename AppConfigsT = AppConfig>
80 bool m_idHasBeenSet =
false;
83 bool m_dataSourcesHasBeenSet =
false;
86 bool m_appConfigsHasBeenSet =
false;
void SetDataSources(DataSourcesT &&value)
AWS_OPENSEARCHSERVICE_API UpdateApplicationRequest()=default
void SetAppConfigs(AppConfigsT &&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
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
bool DataSourcesHasBeenSet() 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