7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
10#include <aws/managedblockchain/model/ProposalStatus.h>
21namespace ManagedBlockchain {
43 template <
typename ProposalIdT = Aws::String>
45 m_proposalIdHasBeenSet =
true;
46 m_proposalId = std::forward<ProposalIdT>(value);
48 template <
typename ProposalIdT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename ProposedByMemberIdT = Aws::String>
81 m_proposedByMemberIdHasBeenSet =
true;
82 m_proposedByMemberId = std::forward<ProposedByMemberIdT>(value);
84 template <
typename ProposedByMemberIdT = Aws::String>
97 template <
typename ProposedByMemberNameT = Aws::String>
99 m_proposedByMemberNameHasBeenSet =
true;
100 m_proposedByMemberName = std::forward<ProposedByMemberNameT>(value);
102 template <
typename ProposedByMemberNameT = Aws::String>
130 m_statusHasBeenSet =
true;
145 template <
typename CreationDateT = Aws::Utils::DateTime>
147 m_creationDateHasBeenSet =
true;
148 m_creationDate = std::forward<CreationDateT>(value);
150 template <
typename CreationDateT = Aws::Utils::DateTime>
168 template <
typename ExpirationDateT = Aws::Utils::DateTime>
170 m_expirationDateHasBeenSet =
true;
171 m_expirationDate = std::forward<ExpirationDateT>(value);
173 template <
typename ExpirationDateT = Aws::Utils::DateTime>
190 template <
typename ArnT = Aws::String>
192 m_arnHasBeenSet =
true;
193 m_arn = std::forward<ArnT>(value);
195 template <
typename ArnT = Aws::String>
197 SetArn(std::forward<ArnT>(value));
217 bool m_proposalIdHasBeenSet =
false;
218 bool m_descriptionHasBeenSet =
false;
219 bool m_proposedByMemberIdHasBeenSet =
false;
220 bool m_proposedByMemberNameHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
222 bool m_creationDateHasBeenSet =
false;
223 bool m_expirationDateHasBeenSet =
false;
224 bool m_arnHasBeenSet =
false;
const Aws::String & GetDescription() const
ProposalStatus GetStatus() const
bool ProposalIdHasBeenSet() const
void SetStatus(ProposalStatus value)
const Aws::String & GetProposedByMemberId() const
ProposalSummary & WithProposedByMemberName(ProposedByMemberNameT &&value)
ProposalSummary & WithProposedByMemberId(ProposedByMemberIdT &&value)
bool ProposedByMemberNameHasBeenSet() const
const Aws::Utils::DateTime & GetExpirationDate() const
ProposalSummary & WithDescription(DescriptionT &&value)
ProposalSummary & WithStatus(ProposalStatus value)
void SetProposedByMemberName(ProposedByMemberNameT &&value)
ProposalSummary & WithExpirationDate(ExpirationDateT &&value)
void SetProposedByMemberId(ProposedByMemberIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetProposedByMemberName() const
AWS_MANAGEDBLOCKCHAIN_API ProposalSummary()=default
const Aws::Utils::DateTime & GetCreationDate() const
bool CreationDateHasBeenSet() const
void SetProposalId(ProposalIdT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetProposalId() const
ProposalSummary & WithProposalId(ProposalIdT &&value)
bool ExpirationDateHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API ProposalSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
AWS_MANAGEDBLOCKCHAIN_API ProposalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProposalSummary & WithCreationDate(CreationDateT &&value)
bool DescriptionHasBeenSet() const
bool ProposedByMemberIdHasBeenSet() const
ProposalSummary & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
void SetExpirationDate(ExpirationDateT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
void SetCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue