AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 template<typename PackageNameT = Aws::String>
43 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet = true; m_packageName = std::forward<PackageNameT>(value); }
44 template<typename PackageNameT = Aws::String>
45 AssociateSbomWithPackageVersionResult& WithPackageName(PackageNameT&& value) { SetPackageName(std::forward<PackageNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetVersionName() const { return m_versionName; }
53 template<typename VersionNameT = Aws::String>
54 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
55 template<typename VersionNameT = Aws::String>
56 AssociateSbomWithPackageVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
58
60
61 inline const Sbom& GetSbom() const { return m_sbom; }
62 template<typename SbomT = Sbom>
63 void SetSbom(SbomT&& value) { m_sbomHasBeenSet = true; m_sbom = std::forward<SbomT>(value); }
64 template<typename SbomT = Sbom>
65 AssociateSbomWithPackageVersionResult& WithSbom(SbomT&& value) { SetSbom(std::forward<SbomT>(value)); return *this;}
67
69
74 inline SbomValidationStatus GetSbomValidationStatus() const { return m_sbomValidationStatus; }
75 inline void SetSbomValidationStatus(SbomValidationStatus value) { m_sbomValidationStatusHasBeenSet = true; m_sbomValidationStatus = value; }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 AssociateSbomWithPackageVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_packageName;
90 bool m_packageNameHasBeenSet = false;
91
92 Aws::String m_versionName;
93 bool m_versionNameHasBeenSet = false;
94
95 Sbom m_sbom;
96 bool m_sbomHasBeenSet = false;
97
99 bool m_sbomValidationStatusHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoT
107} // namespace Aws
AssociateSbomWithPackageVersionResult & WithVersionName(VersionNameT &&value)
AssociateSbomWithPackageVersionResult & WithPackageName(PackageNameT &&value)
AssociateSbomWithPackageVersionResult & WithRequestId(RequestIdT &&value)
AssociateSbomWithPackageVersionResult & WithSbomValidationStatus(SbomValidationStatus value)
AWS_IOT_API AssociateSbomWithPackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API AssociateSbomWithPackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSbomWithPackageVersionResult & WithSbom(SbomT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue