7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ApprovalStatusDetails.h>
9#include <aws/cleanrooms/model/Change.h>
10#include <aws/cleanrooms/model/ChangeRequestStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
66 template <
typename CollaborationIdT = Aws::String>
68 m_collaborationIdHasBeenSet =
true;
69 m_collaborationId = std::forward<CollaborationIdT>(value);
71 template <
typename CollaborationIdT = Aws::String>
84 template <
typename CreateTimeT = Aws::Utils::DateTime>
86 m_createTimeHasBeenSet =
true;
87 m_createTime = std::forward<CreateTimeT>(value);
89 template <
typename CreateTimeT = Aws::Utils::DateTime>
102 template <
typename UpdateTimeT = Aws::Utils::DateTime>
104 m_updateTimeHasBeenSet =
true;
105 m_updateTime = std::forward<UpdateTimeT>(value);
107 template <
typename UpdateTimeT = Aws::Utils::DateTime>
123 m_statusHasBeenSet =
true;
140 m_isAutoApprovedHasBeenSet =
true;
141 m_isAutoApproved = value;
155 template <
typename ChangesT = Aws::Vector<Change>>
157 m_changesHasBeenSet =
true;
158 m_changes = std::forward<ChangesT>(value);
160 template <
typename ChangesT = Aws::Vector<Change>>
165 template <
typename ChangesT = Change>
167 m_changesHasBeenSet =
true;
168 m_changes.emplace_back(std::forward<ChangesT>(value));
180 template <
typename ApprovalsT = Aws::Map<Aws::String, ApprovalStatusDetails>>
182 m_approvalsHasBeenSet =
true;
183 m_approvals = std::forward<ApprovalsT>(value);
185 template <
typename ApprovalsT = Aws::Map<Aws::String, ApprovalStatusDetails>>
190 template <
typename ApprovalsKeyT = Aws::String,
typename ApprovalsValueT = ApprovalStatusDetails>
192 m_approvalsHasBeenSet =
true;
193 m_approvals.emplace(std::forward<ApprovalsKeyT>(key), std::forward<ApprovalsValueT>(value));
208 bool m_isAutoApproved{
false};
213 bool m_idHasBeenSet =
false;
214 bool m_collaborationIdHasBeenSet =
false;
215 bool m_createTimeHasBeenSet =
false;
216 bool m_updateTimeHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
218 bool m_isAutoApprovedHasBeenSet =
false;
219 bool m_changesHasBeenSet =
false;
220 bool m_approvalsHasBeenSet =
false;
CollaborationChangeRequest & WithChanges(ChangesT &&value)
void SetChanges(ChangesT &&value)
bool CreateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationChangeRequest & WithId(IdT &&value)
bool GetIsAutoApproved() const
void SetCreateTime(CreateTimeT &&value)
void SetUpdateTime(UpdateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetId() const
CollaborationChangeRequest & AddApprovals(ApprovalsKeyT &&key, ApprovalsValueT &&value)
bool IsAutoApprovedHasBeenSet() const
const Aws::Vector< Change > & GetChanges() const
void SetCollaborationId(CollaborationIdT &&value)
CollaborationChangeRequest & WithApprovals(ApprovalsT &&value)
const Aws::String & GetCollaborationId() const
AWS_CLEANROOMS_API CollaborationChangeRequest(Aws::Utils::Json::JsonView jsonValue)
bool ChangesHasBeenSet() const
bool CollaborationIdHasBeenSet() const
AWS_CLEANROOMS_API CollaborationChangeRequest()=default
CollaborationChangeRequest & WithStatus(ChangeRequestStatus value)
CollaborationChangeRequest & WithCreateTime(CreateTimeT &&value)
void SetApprovals(ApprovalsT &&value)
void SetIsAutoApproved(bool value)
AWS_CLEANROOMS_API CollaborationChangeRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, ApprovalStatusDetails > & GetApprovals() const
bool StatusHasBeenSet() const
void SetStatus(ChangeRequestStatus value)
bool IdHasBeenSet() const
CollaborationChangeRequest & AddChanges(ChangesT &&value)
CollaborationChangeRequest & WithUpdateTime(UpdateTimeT &&value)
bool ApprovalsHasBeenSet() const
ChangeRequestStatus GetStatus() const
CollaborationChangeRequest & WithCollaborationId(CollaborationIdT &&value)
CollaborationChangeRequest & WithIsAutoApproved(bool value)
bool UpdateTimeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue