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/PackageSource.h>
15namespace OpenSearchService
48 inline void SetPackageID(
const char* value) { m_packageIDHasBeenSet =
true; m_packageID.assign(value); }
74 inline void SetPackageDescription(
const char* value) { m_packageDescriptionHasBeenSet =
true; m_packageDescription.assign(value); }
89 inline void SetCommitMessage(
const char* value) { m_commitMessageHasBeenSet =
true; m_commitMessage.assign(value); }
97 bool m_packageIDHasBeenSet =
false;
100 bool m_packageSourceHasBeenSet =
false;
103 bool m_packageDescriptionHasBeenSet =
false;
106 bool m_commitMessageHasBeenSet =
false;
bool PackageDescriptionHasBeenSet() const
void SetPackageDescription(const Aws::String &value)
void SetPackageSource(const PackageSource &value)
UpdatePackageRequest & WithCommitMessage(const char *value)
void SetCommitMessage(const char *value)
UpdatePackageRequest & WithPackageSource(const PackageSource &value)
AWS_OPENSEARCHSERVICE_API UpdatePackageRequest()
const Aws::String & GetPackageDescription() const
UpdatePackageRequest & WithPackageSource(PackageSource &&value)
UpdatePackageRequest & WithPackageDescription(const char *value)
void SetPackageDescription(Aws::String &&value)
const PackageSource & GetPackageSource() const
UpdatePackageRequest & WithPackageDescription(Aws::String &&value)
UpdatePackageRequest & WithCommitMessage(const Aws::String &value)
bool CommitMessageHasBeenSet() const
void SetCommitMessage(const Aws::String &value)
bool PackageIDHasBeenSet() const
void SetPackageDescription(const char *value)
UpdatePackageRequest & WithPackageID(const char *value)
void SetPackageID(Aws::String &&value)
void SetCommitMessage(Aws::String &&value)
UpdatePackageRequest & WithPackageID(Aws::String &&value)
const Aws::String & GetCommitMessage() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdatePackageRequest & WithPackageID(const Aws::String &value)
UpdatePackageRequest & WithCommitMessage(Aws::String &&value)
bool PackageSourceHasBeenSet() const
void SetPackageSource(PackageSource &&value)
const Aws::String & GetPackageID() const
void SetPackageID(const char *value)
UpdatePackageRequest & WithPackageDescription(const Aws::String &value)
void SetPackageID(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String