7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iot/model/PackageVersionStatus.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
57 inline void SetPackageName(
const char* value) { m_packageName.assign(value); }
70 inline void SetVersionName(
const char* value) { m_versionName.assign(value); }
83 inline void SetDescription(
const char* value) { m_description.assign(value); }
139 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetVersionName(const char *value)
CreatePackageVersionResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreatePackageVersionResult & WithPackageVersionArn(Aws::String &&value)
CreatePackageVersionResult & WithVersionName(const Aws::String &value)
CreatePackageVersionResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetErrorReason(Aws::String &&value)
CreatePackageVersionResult & AddAttributes(const char *key, Aws::String &&value)
void SetPackageName(Aws::String &&value)
CreatePackageVersionResult & WithPackageName(const Aws::String &value)
const Aws::String & GetRequestId() const
CreatePackageVersionResult & AddAttributes(const char *key, const char *value)
CreatePackageVersionResult & WithStatus(PackageVersionStatus &&value)
CreatePackageVersionResult & WithPackageVersionArn(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetPackageVersionArn(Aws::String &&value)
AWS_IOT_API CreatePackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPackageName(const char *value)
void SetPackageVersionArn(const char *value)
void SetDescription(const Aws::String &value)
CreatePackageVersionResult & WithErrorReason(const Aws::String &value)
AWS_IOT_API CreatePackageVersionResult()
const Aws::String & GetPackageVersionArn() const
CreatePackageVersionResult & WithRequestId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetStatus(PackageVersionStatus &&value)
CreatePackageVersionResult & WithVersionName(const char *value)
CreatePackageVersionResult & WithDescription(const Aws::String &value)
CreatePackageVersionResult & WithPackageName(const char *value)
CreatePackageVersionResult & AddAttributes(Aws::String &&key, Aws::String &&value)
CreatePackageVersionResult & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetPackageVersionArn(const Aws::String &value)
CreatePackageVersionResult & WithStatus(const PackageVersionStatus &value)
const PackageVersionStatus & GetStatus() const
CreatePackageVersionResult & AddAttributes(const Aws::String &key, Aws::String &&value)
CreatePackageVersionResult & WithPackageName(Aws::String &&value)
AWS_IOT_API CreatePackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetErrorReason() const
void SetRequestId(const Aws::String &value)
const Aws::String & GetVersionName() const
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
CreatePackageVersionResult & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetErrorReason(const char *value)
void SetPackageName(const Aws::String &value)
void SetVersionName(const Aws::String &value)
const Aws::String & GetPackageName() const
CreatePackageVersionResult & WithVersionName(Aws::String &&value)
void SetRequestId(const char *value)
void SetDescription(const char *value)
void SetVersionName(Aws::String &&value)
void SetStatus(const PackageVersionStatus &value)
void SetErrorReason(const Aws::String &value)
CreatePackageVersionResult & WithErrorReason(const char *value)
CreatePackageVersionResult & WithRequestId(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackageVersionResult & AddAttributes(Aws::String &&key, const char *value)
CreatePackageVersionResult & WithDescription(Aws::String &&value)
CreatePackageVersionResult & WithRequestId(Aws::String &&value)
CreatePackageVersionResult & WithErrorReason(Aws::String &&value)
CreatePackageVersionResult & WithPackageVersionArn(const char *value)
CreatePackageVersionResult & WithDescription(const char *value)
void SetRequestId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue