AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProtectedQueryOutput.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ProtectedQueryDistributeOutput.h>
9#include <aws/cleanrooms/model/ProtectedQueryS3Output.h>
10#include <aws/cleanrooms/model/ProtectedQuerySingleMemberOutput.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms {
23namespace Model {
24
32 public:
33 AWS_CLEANROOMS_API ProtectedQueryOutput() = default;
34 AWS_CLEANROOMS_API ProtectedQueryOutput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const ProtectedQueryS3Output& GetS3() const { return m_s3; }
44 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
45 template <typename S3T = ProtectedQueryS3Output>
46 void SetS3(S3T&& value) {
47 m_s3HasBeenSet = true;
48 m_s3 = std::forward<S3T>(value);
49 }
50 template <typename S3T = ProtectedQueryS3Output>
52 SetS3(std::forward<S3T>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<ProtectedQuerySingleMemberOutput>& GetMemberList() const { return m_memberList; }
63 inline bool MemberListHasBeenSet() const { return m_memberListHasBeenSet; }
64 template <typename MemberListT = Aws::Vector<ProtectedQuerySingleMemberOutput>>
65 void SetMemberList(MemberListT&& value) {
66 m_memberListHasBeenSet = true;
67 m_memberList = std::forward<MemberListT>(value);
68 }
69 template <typename MemberListT = Aws::Vector<ProtectedQuerySingleMemberOutput>>
70 ProtectedQueryOutput& WithMemberList(MemberListT&& value) {
71 SetMemberList(std::forward<MemberListT>(value));
72 return *this;
73 }
74 template <typename MemberListT = ProtectedQuerySingleMemberOutput>
75 ProtectedQueryOutput& AddMemberList(MemberListT&& value) {
76 m_memberListHasBeenSet = true;
77 m_memberList.emplace_back(std::forward<MemberListT>(value));
78 return *this;
79 }
81
83
90 inline const ProtectedQueryDistributeOutput& GetDistribute() const { return m_distribute; }
91 inline bool DistributeHasBeenSet() const { return m_distributeHasBeenSet; }
92 template <typename DistributeT = ProtectedQueryDistributeOutput>
93 void SetDistribute(DistributeT&& value) {
94 m_distributeHasBeenSet = true;
95 m_distribute = std::forward<DistributeT>(value);
96 }
97 template <typename DistributeT = ProtectedQueryDistributeOutput>
98 ProtectedQueryOutput& WithDistribute(DistributeT&& value) {
99 SetDistribute(std::forward<DistributeT>(value));
100 return *this;
101 }
103 private:
105
107
109 bool m_s3HasBeenSet = false;
110 bool m_memberListHasBeenSet = false;
111 bool m_distributeHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace CleanRooms
116} // namespace Aws
ProtectedQueryOutput & AddMemberList(MemberListT &&value)
ProtectedQueryOutput & WithDistribute(DistributeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectedQueryOutput & WithMemberList(MemberListT &&value)
const ProtectedQueryDistributeOutput & GetDistribute() const
AWS_CLEANROOMS_API ProtectedQueryOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const ProtectedQueryS3Output & GetS3() const
const Aws::Vector< ProtectedQuerySingleMemberOutput > & GetMemberList() const
ProtectedQueryOutput & WithS3(S3T &&value)
AWS_CLEANROOMS_API ProtectedQueryOutput()=default
AWS_CLEANROOMS_API ProtectedQueryOutput(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue