AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScanSbomRequest.h
1
6#pragma once
7#include <aws/inspector-scan/Inspectorscan_EXPORTS.h>
8#include <aws/inspector-scan/InspectorscanRequest.h>
9#include <aws/core/utils/Document.h>
10#include <aws/inspector-scan/model/OutputFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace inspectorscan
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_INSPECTORSCAN_API ScanSbomRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ScanSbom"; }
32
33 AWS_INSPECTORSCAN_API Aws::String SerializePayload() const override;
34
35
37
41 inline Aws::Utils::DocumentView GetSbom() const { return m_sbom; }
42 inline bool SbomHasBeenSet() const { return m_sbomHasBeenSet; }
43 template<typename SbomT = Aws::Utils::Document>
44 void SetSbom(SbomT&& value) { m_sbomHasBeenSet = true; m_sbom = std::forward<SbomT>(value); }
45 template<typename SbomT = Aws::Utils::Document>
46 ScanSbomRequest& WithSbom(SbomT&& value) { SetSbom(std::forward<SbomT>(value)); return *this;}
48
50
53 inline OutputFormat GetOutputFormat() const { return m_outputFormat; }
54 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
55 inline void SetOutputFormat(OutputFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
56 inline ScanSbomRequest& WithOutputFormat(OutputFormat value) { SetOutputFormat(value); return *this;}
58 private:
59
61 bool m_sbomHasBeenSet = false;
62
63 OutputFormat m_outputFormat{OutputFormat::NOT_SET};
64 bool m_outputFormatHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace inspectorscan
69} // namespace Aws
ScanSbomRequest & WithOutputFormat(OutputFormat value)
AWS_INSPECTORSCAN_API ScanSbomRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_INSPECTORSCAN_API Aws::String SerializePayload() const override
ScanSbomRequest & WithSbom(SbomT &&value)
Aws::Utils::DocumentView GetSbom() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String