AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectedQuerySummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cleanrooms/model/ProtectedQueryStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanrooms/model/ReceiverConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CleanRooms
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLEANROOMS_API ProtectedQuerySummary();
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline ProtectedQuerySummary& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ProtectedQuerySummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ProtectedQuerySummary& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
64 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
65 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
66 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
67 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
68 inline ProtectedQuerySummary& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
69 inline ProtectedQuerySummary& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
70 inline ProtectedQuerySummary& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
72
74
77 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
78 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
79 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
80 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
81 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
82 inline ProtectedQuerySummary& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
83 inline ProtectedQuerySummary& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
84 inline ProtectedQuerySummary& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
92 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
93 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
94 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
95 inline ProtectedQuerySummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
96 inline ProtectedQuerySummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
98
100
103 inline const ProtectedQueryStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const ProtectedQueryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(ProtectedQueryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline ProtectedQuerySummary& WithStatus(const ProtectedQueryStatus& value) { SetStatus(value); return *this;}
108 inline ProtectedQuerySummary& WithStatus(ProtectedQueryStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::Vector<ReceiverConfiguration>& GetReceiverConfigurations() const{ return m_receiverConfigurations; }
116 inline bool ReceiverConfigurationsHasBeenSet() const { return m_receiverConfigurationsHasBeenSet; }
117 inline void SetReceiverConfigurations(const Aws::Vector<ReceiverConfiguration>& value) { m_receiverConfigurationsHasBeenSet = true; m_receiverConfigurations = value; }
118 inline void SetReceiverConfigurations(Aws::Vector<ReceiverConfiguration>&& value) { m_receiverConfigurationsHasBeenSet = true; m_receiverConfigurations = std::move(value); }
121 inline ProtectedQuerySummary& AddReceiverConfigurations(const ReceiverConfiguration& value) { m_receiverConfigurationsHasBeenSet = true; m_receiverConfigurations.push_back(value); return *this; }
122 inline ProtectedQuerySummary& AddReceiverConfigurations(ReceiverConfiguration&& value) { m_receiverConfigurationsHasBeenSet = true; m_receiverConfigurations.push_back(std::move(value)); return *this; }
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_membershipId;
130 bool m_membershipIdHasBeenSet = false;
131
132 Aws::String m_membershipArn;
133 bool m_membershipArnHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createTime;
136 bool m_createTimeHasBeenSet = false;
137
138 ProtectedQueryStatus m_status;
139 bool m_statusHasBeenSet = false;
140
141 Aws::Vector<ReceiverConfiguration> m_receiverConfigurations;
142 bool m_receiverConfigurationsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace CleanRooms
147} // namespace Aws
ProtectedQuerySummary & WithId(const char *value)
void SetReceiverConfigurations(Aws::Vector< ReceiverConfiguration > &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API ProtectedQuerySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectedQuerySummary & WithMembershipId(const Aws::String &value)
const ProtectedQueryStatus & GetStatus() const
AWS_CLEANROOMS_API ProtectedQuerySummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(const ProtectedQueryStatus &value)
ProtectedQuerySummary & WithMembershipArn(const char *value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectedQuerySummary & WithCreateTime(const Aws::Utils::DateTime &value)
ProtectedQuerySummary & WithMembershipId(const char *value)
ProtectedQuerySummary & WithStatus(const ProtectedQueryStatus &value)
void SetReceiverConfigurations(const Aws::Vector< ReceiverConfiguration > &value)
ProtectedQuerySummary & AddReceiverConfigurations(ReceiverConfiguration &&value)
ProtectedQuerySummary & AddReceiverConfigurations(const ReceiverConfiguration &value)
ProtectedQuerySummary & WithId(Aws::String &&value)
const Aws::Vector< ReceiverConfiguration > & GetReceiverConfigurations() const
ProtectedQuerySummary & WithReceiverConfigurations(Aws::Vector< ReceiverConfiguration > &&value)
ProtectedQuerySummary & WithMembershipArn(const Aws::String &value)
ProtectedQuerySummary & WithCreateTime(Aws::Utils::DateTime &&value)
ProtectedQuerySummary & WithStatus(ProtectedQueryStatus &&value)
ProtectedQuerySummary & WithMembershipId(Aws::String &&value)
ProtectedQuerySummary & WithId(const Aws::String &value)
ProtectedQuerySummary & WithReceiverConfigurations(const Aws::Vector< ReceiverConfiguration > &value)
ProtectedQuerySummary & WithMembershipArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue