7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/model/PackageSource.h>
15namespace ElasticsearchService
48 inline void SetPackageID(
const char* value) { m_packageIDHasBeenSet =
true; m_packageID.assign(value); }
72 inline void SetPackageDescription(
const char* value) { m_packageDescriptionHasBeenSet =
true; m_packageDescription.assign(value); }
87 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
95 bool m_packageIDHasBeenSet =
false;
98 bool m_packageSourceHasBeenSet =
false;
101 bool m_packageDescriptionHasBeenSet =
false;
104 bool m_commitMessageHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
bool CommitMessageHasBeenSet() const
void SetPackageID(const Aws::String &value)
void SetPackageID(Aws::String &&value)
void SetCommitMessage(const Aws::String &value)
UpdatePackageRequest & WithPackageID(const Aws::String &value)
UpdatePackageRequest & WithPackageID(const char *value)
UpdatePackageRequest & WithPackageSource(const PackageSource &value)
UpdatePackageRequest & WithPackageSource(PackageSource &&value)
UpdatePackageRequest & WithCommitMessage(Aws::String &&value)
UpdatePackageRequest & WithPackageID(Aws::String &&value)
const PackageSource & GetPackageSource() const
const Aws::String & GetPackageID() const
const Aws::String & GetCommitMessage() const
UpdatePackageRequest & WithPackageDescription(const char *value)
UpdatePackageRequest & WithPackageDescription(Aws::String &&value)
const Aws::String & GetPackageDescription() const
UpdatePackageRequest & WithCommitMessage(const Aws::String &value)
void SetPackageDescription(const Aws::String &value)
void SetPackageID(const char *value)
void SetPackageDescription(Aws::String &&value)
void SetCommitMessage(Aws::String &&value)
bool PackageIDHasBeenSet() const
void SetPackageDescription(const char *value)
void SetCommitMessage(const char *value)
AWS_ELASTICSEARCHSERVICE_API UpdatePackageRequest()
void SetPackageSource(PackageSource &&value)
bool PackageDescriptionHasBeenSet() const
void SetPackageSource(const PackageSource &value)
bool PackageSourceHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdatePackageRequest & WithPackageDescription(const Aws::String &value)
UpdatePackageRequest & WithCommitMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String