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
45 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
46 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 bool m_idHasBeenSet =
false;
85 bool m_dataSourcesHasBeenSet =
false;
88 bool m_appConfigsHasBeenSet =
false;
UpdateApplicationRequest & WithId(const Aws::String &value)
void SetAppConfigs(Aws::Vector< AppConfig > &&value)
UpdateApplicationRequest & WithId(Aws::String &&value)
UpdateApplicationRequest & WithAppConfigs(const Aws::Vector< AppConfig > &value)
void SetDataSources(Aws::Vector< DataSource > &&value)
void SetAppConfigs(const Aws::Vector< AppConfig > &value)
const Aws::Vector< AppConfig > & GetAppConfigs() const
UpdateApplicationRequest & AddAppConfigs(AppConfig &&value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetId(const Aws::String &value)
bool AppConfigsHasBeenSet() const
void SetId(const char *value)
UpdateApplicationRequest & WithAppConfigs(Aws::Vector< AppConfig > &&value)
UpdateApplicationRequest & WithDataSources(Aws::Vector< DataSource > &&value)
void SetDataSources(const Aws::Vector< DataSource > &value)
UpdateApplicationRequest & WithDataSources(const Aws::Vector< DataSource > &value)
virtual const char * GetServiceRequestName() const override
UpdateApplicationRequest & AddDataSources(DataSource &&value)
bool IdHasBeenSet() const
const Aws::Vector< DataSource > & GetDataSources() const
void SetId(Aws::String &&value)
bool DataSourcesHasBeenSet() const
UpdateApplicationRequest & AddDataSources(const DataSource &value)
UpdateApplicationRequest & WithId(const char *value)
const Aws::String & GetId() const
AWS_OPENSEARCHSERVICE_API UpdateApplicationRequest()
UpdateApplicationRequest & AddAppConfigs(const AppConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector