AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProtectedJobResult.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ProtectedJobOutput.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRooms {
20namespace Model {
21
28 public:
29 AWS_CLEANROOMS_API ProtectedJobResult() = default;
30 AWS_CLEANROOMS_API ProtectedJobResult(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const ProtectedJobOutput& GetOutput() const { return m_output; }
39 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
40 template <typename OutputT = ProtectedJobOutput>
41 void SetOutput(OutputT&& value) {
42 m_outputHasBeenSet = true;
43 m_output = std::forward<OutputT>(value);
44 }
45 template <typename OutputT = ProtectedJobOutput>
46 ProtectedJobResult& WithOutput(OutputT&& value) {
47 SetOutput(std::forward<OutputT>(value));
48 return *this;
49 }
51 private:
52 ProtectedJobOutput m_output;
53 bool m_outputHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace CleanRooms
58} // namespace Aws
const ProtectedJobOutput & GetOutput() const
ProtectedJobResult & WithOutput(OutputT &&value)
AWS_CLEANROOMS_API ProtectedJobResult()=default
AWS_CLEANROOMS_API ProtectedJobResult(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ProtectedJobResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue