7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/model/PackageFormat.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codeartifact/model/PackageVersionSummary.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
80 inline void SetNamespace(
const char* value) { m_namespace.assign(value); }
93 inline void SetPackage(
const char* value) { m_package.assign(value); }
122 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
133 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
ListPackageVersionsResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetPackage(const Aws::String &value)
ListPackageVersionsResult & WithDefaultDisplayVersion(const char *value)
ListPackageVersionsResult & AddVersions(const PackageVersionSummary &value)
const PackageFormat & GetFormat() const
void SetRequestId(const Aws::String &value)
void SetVersions(Aws::Vector< PackageVersionSummary > &&value)
ListPackageVersionsResult & WithFormat(PackageFormat &&value)
void SetVersions(const Aws::Vector< PackageVersionSummary > &value)
ListPackageVersionsResult & WithNextToken(const char *value)
void SetFormat(PackageFormat &&value)
void SetPackage(Aws::String &&value)
void SetNamespace(const Aws::String &value)
ListPackageVersionsResult & WithRequestId(const char *value)
const Aws::Vector< PackageVersionSummary > & GetVersions() const
ListPackageVersionsResult & WithNamespace(const Aws::String &value)
void SetDefaultDisplayVersion(const Aws::String &value)
void SetFormat(const PackageFormat &value)
AWS_CODEARTIFACT_API ListPackageVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListPackageVersionsResult & WithRequestId(Aws::String &&value)
void SetNextToken(const Aws::String &value)
ListPackageVersionsResult & AddVersions(PackageVersionSummary &&value)
ListPackageVersionsResult & WithNextToken(Aws::String &&value)
ListPackageVersionsResult & WithPackage(const Aws::String &value)
const Aws::String & GetPackage() const
void SetNextToken(const char *value)
void SetPackage(const char *value)
void SetNextToken(Aws::String &&value)
ListPackageVersionsResult & WithDefaultDisplayVersion(Aws::String &&value)
const Aws::String & GetNamespace() const
ListPackageVersionsResult & WithDefaultDisplayVersion(const Aws::String &value)
ListPackageVersionsResult & WithPackage(Aws::String &&value)
const Aws::String & GetNextToken() const
void SetDefaultDisplayVersion(const char *value)
ListPackageVersionsResult & WithVersions(Aws::Vector< PackageVersionSummary > &&value)
AWS_CODEARTIFACT_API ListPackageVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
void SetNamespace(const char *value)
AWS_CODEARTIFACT_API ListPackageVersionsResult()
void SetDefaultDisplayVersion(Aws::String &&value)
void SetNamespace(Aws::String &&value)
const Aws::String & GetDefaultDisplayVersion() const
ListPackageVersionsResult & WithNamespace(Aws::String &&value)
ListPackageVersionsResult & WithVersions(const Aws::Vector< PackageVersionSummary > &value)
ListPackageVersionsResult & WithFormat(const PackageFormat &value)
ListPackageVersionsResult & WithNextToken(const Aws::String &value)
ListPackageVersionsResult & WithPackage(const char *value)
ListPackageVersionsResult & WithNamespace(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue