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>
17namespace 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));
58 template <
typename DataSourcesT = Aws::Vector<DataSource>>
60 m_dataSourcesHasBeenSet =
true;
61 m_dataSources = std::forward<DataSourcesT>(value);
63 template <
typename DataSourcesT = Aws::Vector<DataSource>>
68 template <
typename DataSourcesT = DataSource>
70 m_dataSourcesHasBeenSet =
true;
71 m_dataSources.emplace_back(std::forward<DataSourcesT>(value));
82 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
84 m_appConfigsHasBeenSet =
true;
85 m_appConfigs = std::forward<AppConfigsT>(value);
87 template <
typename AppConfigsT = Aws::Vector<AppConfig>>
92 template <
typename AppConfigsT = AppConfig>
94 m_appConfigsHasBeenSet =
true;
95 m_appConfigs.emplace_back(std::forward<AppConfigsT>(value));
105 bool m_idHasBeenSet =
false;
106 bool m_dataSourcesHasBeenSet =
false;
107 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