AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProtectedQueryOutput.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ProtectedQueryS3Output.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cleanrooms/model/ProtectedQueryDistributeOutput.h>
11#include <aws/cleanrooms/model/ProtectedQuerySingleMemberOutput.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLEANROOMS_API ProtectedQueryOutput() = default;
39 AWS_CLEANROOMS_API ProtectedQueryOutput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const ProtectedQueryS3Output& GetS3() const { return m_s3; }
50 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
51 template<typename S3T = ProtectedQueryS3Output>
52 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
53 template<typename S3T = ProtectedQueryS3Output>
54 ProtectedQueryOutput& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
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) { m_memberListHasBeenSet = true; m_memberList = std::forward<MemberListT>(value); }
66 template<typename MemberListT = Aws::Vector<ProtectedQuerySingleMemberOutput>>
67 ProtectedQueryOutput& WithMemberList(MemberListT&& value) { SetMemberList(std::forward<MemberListT>(value)); return *this;}
68 template<typename MemberListT = ProtectedQuerySingleMemberOutput>
69 ProtectedQueryOutput& AddMemberList(MemberListT&& value) { m_memberListHasBeenSet = true; m_memberList.emplace_back(std::forward<MemberListT>(value)); return *this; }
71
73
80 inline const ProtectedQueryDistributeOutput& GetDistribute() const { return m_distribute; }
81 inline bool DistributeHasBeenSet() const { return m_distributeHasBeenSet; }
82 template<typename DistributeT = ProtectedQueryDistributeOutput>
83 void SetDistribute(DistributeT&& value) { m_distributeHasBeenSet = true; m_distribute = std::forward<DistributeT>(value); }
84 template<typename DistributeT = ProtectedQueryDistributeOutput>
85 ProtectedQueryOutput& WithDistribute(DistributeT&& value) { SetDistribute(std::forward<DistributeT>(value)); return *this;}
87 private:
88
90 bool m_s3HasBeenSet = false;
91
93 bool m_memberListHasBeenSet = false;
94
96 bool m_distributeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CleanRooms
101} // 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