7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/ProposalStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace ManagedBlockchain
49 template<
typename ProposalIdT = Aws::String>
50 void SetProposalId(ProposalIdT&& value) { m_proposalIdHasBeenSet =
true; m_proposalId = std::forward<ProposalIdT>(value); }
51 template<
typename ProposalIdT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename ProposedByMemberIdT = Aws::String>
74 void SetProposedByMemberId(ProposedByMemberIdT&& value) { m_proposedByMemberIdHasBeenSet =
true; m_proposedByMemberId = std::forward<ProposedByMemberIdT>(value); }
75 template<
typename ProposedByMemberIdT = Aws::String>
85 template<
typename ProposedByMemberNameT = Aws::String>
86 void SetProposedByMemberName(ProposedByMemberNameT&& value) { m_proposedByMemberNameHasBeenSet =
true; m_proposedByMemberName = std::forward<ProposedByMemberNameT>(value); }
87 template<
typename ProposedByMemberNameT = Aws::String>
121 template<
typename CreationDateT = Aws::Utils::DateTime>
122 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
123 template<
typename CreationDateT = Aws::Utils::DateTime>
138 template<
typename ExpirationDateT = Aws::Utils::DateTime>
139 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet =
true; m_expirationDate = std::forward<ExpirationDateT>(value); }
140 template<
typename ExpirationDateT = Aws::Utils::DateTime>
154 template<
typename ArnT = Aws::String>
155 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
156 template<
typename ArnT = Aws::String>
162 bool m_proposalIdHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
168 bool m_proposedByMemberIdHasBeenSet =
false;
171 bool m_proposedByMemberNameHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
177 bool m_creationDateHasBeenSet =
false;
180 bool m_expirationDateHasBeenSet =
false;
183 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