AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
Sbom.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/S3Location.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28class Sbom {
29 public:
30 AWS_IOT_API Sbom() = default;
31 AWS_IOT_API Sbom(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOT_API Sbom& operator=(Aws::Utils::Json::JsonView jsonValue);
34
36
37 inline const S3Location& GetS3Location() const { return m_s3Location; }
38 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
39 template <typename S3LocationT = S3Location>
40 void SetS3Location(S3LocationT&& value) {
41 m_s3LocationHasBeenSet = true;
42 m_s3Location = std::forward<S3LocationT>(value);
43 }
44 template <typename S3LocationT = S3Location>
45 Sbom& WithS3Location(S3LocationT&& value) {
46 SetS3Location(std::forward<S3LocationT>(value));
47 return *this;
48 }
50 private:
51 S3Location m_s3Location;
52 bool m_s3LocationHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace IoT
57} // namespace Aws
Sbom & WithS3Location(S3LocationT &&value)
Definition Sbom.h:45
AWS_IOT_API Sbom(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3Location() const
Definition Sbom.h:37
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Location(S3LocationT &&value)
Definition Sbom.h:40
bool S3LocationHasBeenSet() const
Definition Sbom.h:38
AWS_IOT_API Sbom & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Sbom()=default
Aws::Utils::Json::JsonValue JsonValue