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
51 inline void SetProposalId(
const char* value) { m_proposalIdHasBeenSet =
true; m_proposalId.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
79 inline void SetProposedByMemberId(
const char* value) { m_proposedByMemberIdHasBeenSet =
true; m_proposedByMemberId.assign(value); }
93 inline void SetProposedByMemberName(
const char* value) { m_proposedByMemberNameHasBeenSet =
true; m_proposedByMemberName.assign(value); }
166 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
174 bool m_proposalIdHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
180 bool m_proposedByMemberIdHasBeenSet =
false;
183 bool m_proposedByMemberNameHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_creationDateHasBeenSet =
false;
192 bool m_expirationDateHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetExpirationDate(const Aws::Utils::DateTime &value)
ProposalSummary & WithDescription(const char *value)
ProposalSummary & WithProposalId(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
ProposalSummary & WithProposedByMemberId(const Aws::String &value)
bool ProposalIdHasBeenSet() const
ProposalSummary & WithExpirationDate(Aws::Utils::DateTime &&value)
void SetDescription(const char *value)
void SetProposedByMemberId(const Aws::String &value)
const Aws::String & GetProposedByMemberId() const
ProposalSummary & WithProposedByMemberName(const char *value)
void SetExpirationDate(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
bool ProposedByMemberNameHasBeenSet() const
const ProposalStatus & GetStatus() const
ProposalSummary & WithDescription(const Aws::String &value)
ProposalSummary & WithProposedByMemberName(Aws::String &&value)
const Aws::Utils::DateTime & GetExpirationDate() const
AWS_MANAGEDBLOCKCHAIN_API ProposalSummary()
void SetProposalId(const Aws::String &value)
ProposalSummary & WithExpirationDate(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
ProposalSummary & WithProposedByMemberName(const Aws::String &value)
void SetProposalId(const char *value)
const Aws::String & GetProposedByMemberName() const
ProposalSummary & WithArn(const char *value)
const Aws::Utils::DateTime & GetCreationDate() const
ProposalSummary & WithProposalId(Aws::String &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
bool CreationDateHasBeenSet() const
ProposalSummary & WithStatus(const ProposalStatus &value)
ProposalSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ProposalSummary & WithArn(Aws::String &&value)
bool StatusHasBeenSet() const
const Aws::String & GetProposalId() const
void SetDescription(const Aws::String &value)
bool ExpirationDateHasBeenSet() const
ProposalSummary & WithProposedByMemberId(const char *value)
void SetStatus(ProposalStatus &&value)
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 & WithDescription(Aws::String &&value)
void SetProposedByMemberId(Aws::String &&value)
ProposalSummary & WithStatus(ProposalStatus &&value)
void SetStatus(const ProposalStatus &value)
bool DescriptionHasBeenSet() const
ProposalSummary & WithCreationDate(const Aws::Utils::DateTime &value)
ProposalSummary & WithProposalId(const Aws::String &value)
void SetProposedByMemberName(Aws::String &&value)
bool ProposedByMemberIdHasBeenSet() const
void SetProposedByMemberId(const char *value)
void SetProposalId(Aws::String &&value)
bool ArnHasBeenSet() const
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(Aws::String &&value)
void SetProposedByMemberName(const Aws::String &value)
void SetProposedByMemberName(const char *value)
void SetDescription(Aws::String &&value)
ProposalSummary & WithArn(const Aws::String &value)
ProposalSummary & WithProposedByMemberId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue