AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSbomWithPackageVersionResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/Sbom.h>
10#include <aws/iot/model/SbomValidationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetPackageName() const{ return m_packageName; }
42 inline void SetPackageName(const Aws::String& value) { m_packageName = value; }
43 inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); }
44 inline void SetPackageName(const char* value) { m_packageName.assign(value); }
46 inline AssociateSbomWithPackageVersionResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
47 inline AssociateSbomWithPackageVersionResult& WithPackageName(const char* value) { SetPackageName(value); return *this;}
49
51
54 inline const Aws::String& GetVersionName() const{ return m_versionName; }
55 inline void SetVersionName(const Aws::String& value) { m_versionName = value; }
56 inline void SetVersionName(Aws::String&& value) { m_versionName = std::move(value); }
57 inline void SetVersionName(const char* value) { m_versionName.assign(value); }
59 inline AssociateSbomWithPackageVersionResult& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
60 inline AssociateSbomWithPackageVersionResult& WithVersionName(const char* value) { SetVersionName(value); return *this;}
62
64
65 inline const Sbom& GetSbom() const{ return m_sbom; }
66 inline void SetSbom(const Sbom& value) { m_sbom = value; }
67 inline void SetSbom(Sbom&& value) { m_sbom = std::move(value); }
68 inline AssociateSbomWithPackageVersionResult& WithSbom(const Sbom& value) { SetSbom(value); return *this;}
69 inline AssociateSbomWithPackageVersionResult& WithSbom(Sbom&& value) { SetSbom(std::move(value)); return *this;}
71
73
78 inline const SbomValidationStatus& GetSbomValidationStatus() const{ return m_sbomValidationStatus; }
79 inline void SetSbomValidationStatus(const SbomValidationStatus& value) { m_sbomValidationStatus = value; }
80 inline void SetSbomValidationStatus(SbomValidationStatus&& value) { m_sbomValidationStatus = std::move(value); }
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline AssociateSbomWithPackageVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline AssociateSbomWithPackageVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline AssociateSbomWithPackageVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_packageName;
98
99 Aws::String m_versionName;
100
101 Sbom m_sbom;
102
103 SbomValidationStatus m_sbomValidationStatus;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
AssociateSbomWithPackageVersionResult & WithSbom(Sbom &&value)
AssociateSbomWithPackageVersionResult & WithPackageName(const Aws::String &value)
AssociateSbomWithPackageVersionResult & WithPackageName(const char *value)
AssociateSbomWithPackageVersionResult & WithSbomValidationStatus(const SbomValidationStatus &value)
AssociateSbomWithPackageVersionResult & WithPackageName(Aws::String &&value)
AssociateSbomWithPackageVersionResult & WithVersionName(const Aws::String &value)
AssociateSbomWithPackageVersionResult & WithSbomValidationStatus(SbomValidationStatus &&value)
AWS_IOT_API AssociateSbomWithPackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSbomWithPackageVersionResult & WithSbom(const Sbom &value)
AWS_IOT_API AssociateSbomWithPackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSbomWithPackageVersionResult & WithVersionName(Aws::String &&value)
AssociateSbomWithPackageVersionResult & WithRequestId(const Aws::String &value)
AssociateSbomWithPackageVersionResult & WithRequestId(Aws::String &&value)
AssociateSbomWithPackageVersionResult & WithRequestId(const char *value)
AssociateSbomWithPackageVersionResult & WithVersionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue