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/opensearch/model/PackageType.h>
11#include <aws/opensearch/model/PackageSource.h>
16namespace OpenSearchService
49 inline void SetPackageName(
const char* value) { m_packageNameHasBeenSet =
true; m_packageName.assign(value); }
75 inline void SetPackageDescription(
const char* value) { m_packageDescriptionHasBeenSet =
true; m_packageDescription.assign(value); }
95 bool m_packageNameHasBeenSet =
false;
98 bool m_packageTypeHasBeenSet =
false;
101 bool m_packageDescriptionHasBeenSet =
false;
104 bool m_packageSourceHasBeenSet =
false;
CreatePackageRequest & WithPackageName(Aws::String &&value)
CreatePackageRequest & WithPackageName(const Aws::String &value)
void SetPackageName(Aws::String &&value)
void SetPackageSource(PackageSource &&value)
const PackageSource & GetPackageSource() const
void SetPackageName(const char *value)
CreatePackageRequest & WithPackageDescription(const char *value)
bool PackageSourceHasBeenSet() const
CreatePackageRequest & WithPackageDescription(Aws::String &&value)
CreatePackageRequest & WithPackageName(const char *value)
void SetPackageDescription(Aws::String &&value)
void SetPackageDescription(const char *value)
void SetPackageName(const Aws::String &value)
CreatePackageRequest & WithPackageDescription(const Aws::String &value)
CreatePackageRequest & WithPackageType(const PackageType &value)
virtual const char * GetServiceRequestName() const override
CreatePackageRequest & WithPackageType(PackageType &&value)
bool PackageDescriptionHasBeenSet() const
const Aws::String & GetPackageName() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
const PackageType & GetPackageType() const
CreatePackageRequest & WithPackageSource(PackageSource &&value)
void SetPackageType(PackageType &&value)
void SetPackageSource(const PackageSource &value)
const Aws::String & GetPackageDescription() const
void SetPackageType(const PackageType &value)
void SetPackageDescription(const Aws::String &value)
bool PackageTypeHasBeenSet() const
AWS_OPENSEARCHSERVICE_API CreatePackageRequest()
CreatePackageRequest & WithPackageSource(const PackageSource &value)
bool PackageNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String