AWS SDK for C++  1.9.175
AWS SDK for C++
ProposalSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ManagedBlockchain
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetProposalId() const{ return m_proposalId; }
47 
51  inline bool ProposalIdHasBeenSet() const { return m_proposalIdHasBeenSet; }
52 
56  inline void SetProposalId(const Aws::String& value) { m_proposalIdHasBeenSet = true; m_proposalId = value; }
57 
61  inline void SetProposalId(Aws::String&& value) { m_proposalIdHasBeenSet = true; m_proposalId = std::move(value); }
62 
66  inline void SetProposalId(const char* value) { m_proposalIdHasBeenSet = true; m_proposalId.assign(value); }
67 
71  inline ProposalSummary& WithProposalId(const Aws::String& value) { SetProposalId(value); return *this;}
72 
76  inline ProposalSummary& WithProposalId(Aws::String&& value) { SetProposalId(std::move(value)); return *this;}
77 
81  inline ProposalSummary& WithProposalId(const char* value) { SetProposalId(value); return *this;}
82 
83 
87  inline const Aws::String& GetDescription() const{ return m_description; }
88 
92  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 
97  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
98 
102  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
103 
107  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
108 
112  inline ProposalSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
113 
117  inline ProposalSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
118 
122  inline ProposalSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
123 
124 
128  inline const Aws::String& GetProposedByMemberId() const{ return m_proposedByMemberId; }
129 
133  inline bool ProposedByMemberIdHasBeenSet() const { return m_proposedByMemberIdHasBeenSet; }
134 
138  inline void SetProposedByMemberId(const Aws::String& value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId = value; }
139 
143  inline void SetProposedByMemberId(Aws::String&& value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId = std::move(value); }
144 
148  inline void SetProposedByMemberId(const char* value) { m_proposedByMemberIdHasBeenSet = true; m_proposedByMemberId.assign(value); }
149 
153  inline ProposalSummary& WithProposedByMemberId(const Aws::String& value) { SetProposedByMemberId(value); return *this;}
154 
158  inline ProposalSummary& WithProposedByMemberId(Aws::String&& value) { SetProposedByMemberId(std::move(value)); return *this;}
159 
163  inline ProposalSummary& WithProposedByMemberId(const char* value) { SetProposedByMemberId(value); return *this;}
164 
165 
169  inline const Aws::String& GetProposedByMemberName() const{ return m_proposedByMemberName; }
170 
174  inline bool ProposedByMemberNameHasBeenSet() const { return m_proposedByMemberNameHasBeenSet; }
175 
179  inline void SetProposedByMemberName(const Aws::String& value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName = value; }
180 
184  inline void SetProposedByMemberName(Aws::String&& value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName = std::move(value); }
185 
189  inline void SetProposedByMemberName(const char* value) { m_proposedByMemberNameHasBeenSet = true; m_proposedByMemberName.assign(value); }
190 
194  inline ProposalSummary& WithProposedByMemberName(const Aws::String& value) { SetProposedByMemberName(value); return *this;}
195 
199  inline ProposalSummary& WithProposedByMemberName(Aws::String&& value) { SetProposedByMemberName(std::move(value)); return *this;}
200 
204  inline ProposalSummary& WithProposedByMemberName(const char* value) { SetProposedByMemberName(value); return *this;}
205 
206 
224  inline const ProposalStatus& GetStatus() const{ return m_status; }
225 
243  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
244 
262  inline void SetStatus(const ProposalStatus& value) { m_statusHasBeenSet = true; m_status = value; }
263 
281  inline void SetStatus(ProposalStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
282 
300  inline ProposalSummary& WithStatus(const ProposalStatus& value) { SetStatus(value); return *this;}
301 
319  inline ProposalSummary& WithStatus(ProposalStatus&& value) { SetStatus(std::move(value)); return *this;}
320 
321 
325  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
326 
330  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
331 
335  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
336 
340  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
341 
345  inline ProposalSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
346 
350  inline ProposalSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
351 
352 
361  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
362 
371  inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
372 
381  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
382 
391  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
392 
401  inline ProposalSummary& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
402 
411  inline ProposalSummary& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
412 
413 
420  inline const Aws::String& GetArn() const{ return m_arn; }
421 
428  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
429 
436  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
437 
444  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
445 
452  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
453 
460  inline ProposalSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
461 
468  inline ProposalSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
469 
476  inline ProposalSummary& WithArn(const char* value) { SetArn(value); return *this;}
477 
478  private:
479 
480  Aws::String m_proposalId;
481  bool m_proposalIdHasBeenSet;
482 
483  Aws::String m_description;
484  bool m_descriptionHasBeenSet;
485 
486  Aws::String m_proposedByMemberId;
487  bool m_proposedByMemberIdHasBeenSet;
488 
489  Aws::String m_proposedByMemberName;
490  bool m_proposedByMemberNameHasBeenSet;
491 
492  ProposalStatus m_status;
493  bool m_statusHasBeenSet;
494 
495  Aws::Utils::DateTime m_creationDate;
496  bool m_creationDateHasBeenSet;
497 
498  Aws::Utils::DateTime m_expirationDate;
499  bool m_expirationDateHasBeenSet;
500 
501  Aws::String m_arn;
502  bool m_arnHasBeenSet;
503  };
504 
505 } // namespace Model
506 } // namespace ManagedBlockchain
507 } // namespace Aws
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberId
ProposalSummary & WithProposedByMemberId(const char *value)
Definition: ProposalSummary.h:163
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberName
ProposalSummary & WithProposedByMemberName(Aws::String &&value)
Definition: ProposalSummary.h:199
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberId
void SetProposedByMemberId(const char *value)
Definition: ProposalSummary.h:148
Aws::ManagedBlockchain::Model::ProposalSummary::WithCreationDate
ProposalSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ProposalSummary.h:345
Aws::ManagedBlockchain::Model::ProposalSummary::SetArn
void SetArn(Aws::String &&value)
Definition: ProposalSummary.h:444
Aws::ManagedBlockchain::Model::ProposalSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ProposalSummary.h:428
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberName
void SetProposedByMemberName(const char *value)
Definition: ProposalSummary.h:189
Aws::ManagedBlockchain::Model::ProposalSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ProposalSummary.h:335
Aws::ManagedBlockchain::Model::ProposalSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ProposalSummary.h:92
DateTime.h
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberName
void SetProposedByMemberName(Aws::String &&value)
Definition: ProposalSummary.h:184
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposalId
void SetProposalId(const char *value)
Definition: ProposalSummary.h:66
Aws::ManagedBlockchain::Model::ProposalSummary::GetDescription
const Aws::String & GetDescription() const
Definition: ProposalSummary.h:87
Aws::ManagedBlockchain::Model::ProposalSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: ProposalSummary.h:102
Aws::ManagedBlockchain::Model::ProposalSummary::GetArn
const Aws::String & GetArn() const
Definition: ProposalSummary.h:420
Aws::ManagedBlockchain::Model::ProposalSummary::GetProposedByMemberId
const Aws::String & GetProposedByMemberId() const
Definition: ProposalSummary.h:128
Aws::ManagedBlockchain::Model::ProposalSummary::WithArn
ProposalSummary & WithArn(const char *value)
Definition: ProposalSummary.h:476
Aws::ManagedBlockchain::Model::ProposalSummary::SetArn
void SetArn(const Aws::String &value)
Definition: ProposalSummary.h:436
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberId
ProposalSummary & WithProposedByMemberId(const Aws::String &value)
Definition: ProposalSummary.h:153
Aws::ManagedBlockchain::Model::ProposalSummary::WithArn
ProposalSummary & WithArn(const Aws::String &value)
Definition: ProposalSummary.h:460
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberName
ProposalSummary & WithProposedByMemberName(const char *value)
Definition: ProposalSummary.h:204
Aws::ManagedBlockchain::Model::ProposalSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ProposalSummary.h:330
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberName
ProposalSummary & WithProposedByMemberName(const Aws::String &value)
Definition: ProposalSummary.h:194
Aws::ManagedBlockchain::Model::ProposalStatus
ProposalStatus
Definition: ProposalStatus.h:17
Aws::ManagedBlockchain::Model::ProposalSummary::ProposedByMemberIdHasBeenSet
bool ProposedByMemberIdHasBeenSet() const
Definition: ProposalSummary.h:133
Aws::ManagedBlockchain::Model::ProposalSummary::SetStatus
void SetStatus(ProposalStatus &&value)
Definition: ProposalSummary.h:281
Aws::ManagedBlockchain::Model::ProposalSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ProposalSummary.h:340
Aws::ManagedBlockchain::Model::ProposalSummary::GetStatus
const ProposalStatus & GetStatus() const
Definition: ProposalSummary.h:224
Aws::ManagedBlockchain::Model::ProposalSummary::operator=
ProposalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberId
void SetProposedByMemberId(Aws::String &&value)
Definition: ProposalSummary.h:143
Aws::ManagedBlockchain::Model::ProposalSummary::WithExpirationDate
ProposalSummary & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: ProposalSummary.h:401
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposalId
void SetProposalId(Aws::String &&value)
Definition: ProposalSummary.h:61
Aws::ManagedBlockchain::Model::ProposalSummary::SetArn
void SetArn(const char *value)
Definition: ProposalSummary.h:452
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposalId
ProposalSummary & WithProposalId(Aws::String &&value)
Definition: ProposalSummary.h:76
Aws::ManagedBlockchain::Model::ProposalSummary::WithDescription
ProposalSummary & WithDescription(const Aws::String &value)
Definition: ProposalSummary.h:112
Aws::ManagedBlockchain::Model::ProposalSummary::GetProposalId
const Aws::String & GetProposalId() const
Definition: ProposalSummary.h:46
Aws::ManagedBlockchain::Model::ProposalSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ProposalSummary.h:243
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ManagedBlockchain::Model::ProposalSummary::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: ProposalSummary.h:361
Aws::ManagedBlockchain::Model::ProposalSummary::WithStatus
ProposalSummary & WithStatus(const ProposalStatus &value)
Definition: ProposalSummary.h:300
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::ProposalSummary::SetStatus
void SetStatus(const ProposalStatus &value)
Definition: ProposalSummary.h:262
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposalId
ProposalSummary & WithProposalId(const Aws::String &value)
Definition: ProposalSummary.h:71
Aws::ManagedBlockchain::Model::ProposalSummary::ProposalSummary
ProposalSummary()
Aws::ManagedBlockchain::Model::ProposalSummary::ProposedByMemberNameHasBeenSet
bool ProposedByMemberNameHasBeenSet() const
Definition: ProposalSummary.h:174
Aws::ManagedBlockchain::Model::ProposalSummary::GetProposedByMemberName
const Aws::String & GetProposedByMemberName() const
Definition: ProposalSummary.h:169
Aws::ManagedBlockchain::Model::ProposalSummary::WithExpirationDate
ProposalSummary & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: ProposalSummary.h:411
Aws::ManagedBlockchain::Model::ProposalSummary::WithDescription
ProposalSummary & WithDescription(const char *value)
Definition: ProposalSummary.h:122
Aws::ManagedBlockchain::Model::ProposalSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: ProposalSummary.h:97
Aws::ManagedBlockchain::Model::ProposalSummary::ProposalIdHasBeenSet
bool ProposalIdHasBeenSet() const
Definition: ProposalSummary.h:51
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposedByMemberId
ProposalSummary & WithProposedByMemberId(Aws::String &&value)
Definition: ProposalSummary.h:158
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::ProposalSummary::SetDescription
void SetDescription(const char *value)
Definition: ProposalSummary.h:107
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::ProposalSummary::WithStatus
ProposalSummary & WithStatus(ProposalStatus &&value)
Definition: ProposalSummary.h:319
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::ProposalSummary::WithDescription
ProposalSummary & WithDescription(Aws::String &&value)
Definition: ProposalSummary.h:117
ProposalStatus.h
Aws::ManagedBlockchain::Model::ProposalSummary::ExpirationDateHasBeenSet
bool ExpirationDateHasBeenSet() const
Definition: ProposalSummary.h:371
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposalId
void SetProposalId(const Aws::String &value)
Definition: ProposalSummary.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::ProposalSummary
Definition: ProposalSummary.h:35
Aws::ManagedBlockchain::Model::ProposalSummary::WithCreationDate
ProposalSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ProposalSummary.h:350
Aws::ManagedBlockchain::Model::ProposalSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ManagedBlockchain::Model::ProposalSummary::ProposalSummary
ProposalSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::ProposalSummary::WithArn
ProposalSummary & WithArn(Aws::String &&value)
Definition: ProposalSummary.h:468
Aws::ManagedBlockchain::Model::ProposalSummary::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: ProposalSummary.h:381
Aws::ManagedBlockchain::Model::ProposalSummary::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: ProposalSummary.h:391
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberId
void SetProposedByMemberId(const Aws::String &value)
Definition: ProposalSummary.h:138
Aws::ManagedBlockchain::Model::ProposalSummary::SetProposedByMemberName
void SetProposedByMemberName(const Aws::String &value)
Definition: ProposalSummary.h:179
Aws::ManagedBlockchain::Model::ProposalSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ProposalSummary.h:325
Aws::ManagedBlockchain::Model::ProposalSummary::WithProposalId
ProposalSummary & WithProposalId(const char *value)
Definition: ProposalSummary.h:81