AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSbom(const Aws::Utils::Document& value) { m_sbomHasBeenSet = true; m_sbom = value; }
44 inline void SetSbom(Aws::Utils::Document&& value) { m_sbomHasBeenSet = true; m_sbom = std::move(value); }
45 inline ScanSbomRequest& WithSbom(const Aws::Utils::Document& value) { SetSbom(value); return *this;}
46 inline ScanSbomRequest& WithSbom(Aws::Utils::Document&& value) { SetSbom(std::move(value)); return *this;}
48
50
53 inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
54 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
55 inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
56 inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
57 inline ScanSbomRequest& WithOutputFormat(const OutputFormat& value) { SetOutputFormat(value); return *this;}
58 inline ScanSbomRequest& WithOutputFormat(OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
60 private:
61
63 bool m_sbomHasBeenSet = false;
64
65 OutputFormat m_outputFormat;
66 bool m_outputFormatHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace inspectorscan
71} // namespace Aws
void SetOutputFormat(OutputFormat &&value)
ScanSbomRequest & WithOutputFormat(OutputFormat &&value)
void SetSbom(const Aws::Utils::Document &value)
const OutputFormat & GetOutputFormat() const
virtual const char * GetServiceRequestName() const override
void SetOutputFormat(const OutputFormat &value)
ScanSbomRequest & WithSbom(Aws::Utils::Document &&value)
AWS_INSPECTORSCAN_API Aws::String SerializePayload() const override
ScanSbomRequest & WithSbom(const Aws::Utils::Document &value)
Aws::Utils::DocumentView GetSbom() const
ScanSbomRequest & WithOutputFormat(const OutputFormat &value)
void SetSbom(Aws::Utils::Document &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String