AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProtectedJobOutput.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ProtectedJobS3Output.h>
9#include <aws/cleanrooms/model/ProtectedJobSingleMemberOutput.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRooms {
22namespace Model {
23
31 public:
32 AWS_CLEANROOMS_API ProtectedJobOutput() = default;
33 AWS_CLEANROOMS_API ProtectedJobOutput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const ProtectedJobS3Output& GetS3() const { return m_s3; }
42 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
43 template <typename S3T = ProtectedJobS3Output>
44 void SetS3(S3T&& value) {
45 m_s3HasBeenSet = true;
46 m_s3 = std::forward<S3T>(value);
47 }
48 template <typename S3T = ProtectedJobS3Output>
49 ProtectedJobOutput& WithS3(S3T&& value) {
50 SetS3(std::forward<S3T>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<ProtectedJobSingleMemberOutput>& GetMemberList() const { return m_memberList; }
61 inline bool MemberListHasBeenSet() const { return m_memberListHasBeenSet; }
62 template <typename MemberListT = Aws::Vector<ProtectedJobSingleMemberOutput>>
63 void SetMemberList(MemberListT&& value) {
64 m_memberListHasBeenSet = true;
65 m_memberList = std::forward<MemberListT>(value);
66 }
67 template <typename MemberListT = Aws::Vector<ProtectedJobSingleMemberOutput>>
68 ProtectedJobOutput& WithMemberList(MemberListT&& value) {
69 SetMemberList(std::forward<MemberListT>(value));
70 return *this;
71 }
72 template <typename MemberListT = ProtectedJobSingleMemberOutput>
73 ProtectedJobOutput& AddMemberList(MemberListT&& value) {
74 m_memberListHasBeenSet = true;
75 m_memberList.emplace_back(std::forward<MemberListT>(value));
76 return *this;
77 }
79 private:
81
83 bool m_s3HasBeenSet = false;
84 bool m_memberListHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CleanRooms
89} // namespace Aws
ProtectedJobOutput & AddMemberList(MemberListT &&value)
ProtectedJobOutput & WithMemberList(MemberListT &&value)
AWS_CLEANROOMS_API ProtectedJobOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ProtectedJobOutput()=default
const Aws::Vector< ProtectedJobSingleMemberOutput > & GetMemberList() const
AWS_CLEANROOMS_API ProtectedJobOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const ProtectedJobS3Output & GetS3() const
ProtectedJobOutput & WithS3(S3T &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue