7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/Sbom.h>
12#include <aws/core/utils/UUID.h>
51 inline void SetPackageName(
const char* value) { m_packageNameHasBeenSet =
true; m_packageName.assign(value); }
65 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
75 inline void SetSbom(
const Sbom& value) { m_sbomHasBeenSet =
true; m_sbom = value; }
76 inline void SetSbom(
Sbom&& value) { m_sbomHasBeenSet =
true; m_sbom = std::move(value); }
91 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
99 bool m_packageNameHasBeenSet =
false;
102 bool m_versionNameHasBeenSet =
false;
105 bool m_sbomHasBeenSet =
false;
108 bool m_clientTokenHasBeenSet =
false;
AssociateSbomWithPackageVersionRequest & WithPackageName(const Aws::String &value)
void SetSbom(Sbom &&value)
AssociateSbomWithPackageVersionRequest & WithVersionName(Aws::String &&value)
AssociateSbomWithPackageVersionRequest & WithVersionName(const char *value)
AssociateSbomWithPackageVersionRequest & WithClientToken(const char *value)
void SetVersionName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
void SetVersionName(Aws::String &&value)
AssociateSbomWithPackageVersionRequest & WithPackageName(Aws::String &&value)
AssociateSbomWithPackageVersionRequest & WithSbom(Sbom &&value)
bool VersionNameHasBeenSet() const
const Aws::String & GetClientToken() const
void SetPackageName(const char *value)
const Sbom & GetSbom() const
const Aws::String & GetPackageName() const
AssociateSbomWithPackageVersionRequest & WithClientToken(const Aws::String &value)
bool SbomHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetPackageName(const Aws::String &value)
AWS_IOT_API AssociateSbomWithPackageVersionRequest()
AssociateSbomWithPackageVersionRequest & WithSbom(const Sbom &value)
AssociateSbomWithPackageVersionRequest & WithVersionName(const Aws::String &value)
void SetClientToken(const char *value)
const Aws::String & GetVersionName() const
void SetSbom(const Sbom &value)
void SetVersionName(const char *value)
void SetClientToken(Aws::String &&value)
bool ClientTokenHasBeenSet() const
AssociateSbomWithPackageVersionRequest & WithPackageName(const char *value)
bool PackageNameHasBeenSet() const
AssociateSbomWithPackageVersionRequest & WithClientToken(Aws::String &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetPackageName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String