AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgreementViewSummary.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/marketplace-agreement/model/Acceptor.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/marketplace-agreement/model/ProposalSummary.h>
12#include <aws/marketplace-agreement/model/Proposer.h>
13#include <aws/marketplace-agreement/model/AgreementStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace AgreementService
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_AGREEMENTSERVICE_API AgreementViewSummary();
41 AWS_AGREEMENTSERVICE_API AgreementViewSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AGREEMENTSERVICE_API AgreementViewSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Utils::DateTime& GetAcceptanceTime() const{ return m_acceptanceTime; }
51 inline bool AcceptanceTimeHasBeenSet() const { return m_acceptanceTimeHasBeenSet; }
52 inline void SetAcceptanceTime(const Aws::Utils::DateTime& value) { m_acceptanceTimeHasBeenSet = true; m_acceptanceTime = value; }
53 inline void SetAcceptanceTime(Aws::Utils::DateTime&& value) { m_acceptanceTimeHasBeenSet = true; m_acceptanceTime = std::move(value); }
55 inline AgreementViewSummary& WithAcceptanceTime(Aws::Utils::DateTime&& value) { SetAcceptanceTime(std::move(value)); return *this;}
57
59
63 inline const Acceptor& GetAcceptor() const{ return m_acceptor; }
64 inline bool AcceptorHasBeenSet() const { return m_acceptorHasBeenSet; }
65 inline void SetAcceptor(const Acceptor& value) { m_acceptorHasBeenSet = true; m_acceptor = value; }
66 inline void SetAcceptor(Acceptor&& value) { m_acceptorHasBeenSet = true; m_acceptor = std::move(value); }
67 inline AgreementViewSummary& WithAcceptor(const Acceptor& value) { SetAcceptor(value); return *this;}
68 inline AgreementViewSummary& WithAcceptor(Acceptor&& value) { SetAcceptor(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetAgreementId() const{ return m_agreementId; }
76 inline bool AgreementIdHasBeenSet() const { return m_agreementIdHasBeenSet; }
77 inline void SetAgreementId(const Aws::String& value) { m_agreementIdHasBeenSet = true; m_agreementId = value; }
78 inline void SetAgreementId(Aws::String&& value) { m_agreementIdHasBeenSet = true; m_agreementId = std::move(value); }
79 inline void SetAgreementId(const char* value) { m_agreementIdHasBeenSet = true; m_agreementId.assign(value); }
80 inline AgreementViewSummary& WithAgreementId(const Aws::String& value) { SetAgreementId(value); return *this;}
81 inline AgreementViewSummary& WithAgreementId(Aws::String&& value) { SetAgreementId(std::move(value)); return *this;}
82 inline AgreementViewSummary& WithAgreementId(const char* value) { SetAgreementId(value); return *this;}
84
86
90 inline const Aws::String& GetAgreementType() const{ return m_agreementType; }
91 inline bool AgreementTypeHasBeenSet() const { return m_agreementTypeHasBeenSet; }
92 inline void SetAgreementType(const Aws::String& value) { m_agreementTypeHasBeenSet = true; m_agreementType = value; }
93 inline void SetAgreementType(Aws::String&& value) { m_agreementTypeHasBeenSet = true; m_agreementType = std::move(value); }
94 inline void SetAgreementType(const char* value) { m_agreementTypeHasBeenSet = true; m_agreementType.assign(value); }
95 inline AgreementViewSummary& WithAgreementType(const Aws::String& value) { SetAgreementType(value); return *this;}
96 inline AgreementViewSummary& WithAgreementType(Aws::String&& value) { SetAgreementType(std::move(value)); return *this;}
97 inline AgreementViewSummary& WithAgreementType(const char* value) { SetAgreementType(value); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
106 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
107 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
108 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
109 inline AgreementViewSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
110 inline AgreementViewSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
112
114
117 inline const ProposalSummary& GetProposalSummary() const{ return m_proposalSummary; }
118 inline bool ProposalSummaryHasBeenSet() const { return m_proposalSummaryHasBeenSet; }
119 inline void SetProposalSummary(const ProposalSummary& value) { m_proposalSummaryHasBeenSet = true; m_proposalSummary = value; }
120 inline void SetProposalSummary(ProposalSummary&& value) { m_proposalSummaryHasBeenSet = true; m_proposalSummary = std::move(value); }
121 inline AgreementViewSummary& WithProposalSummary(const ProposalSummary& value) { SetProposalSummary(value); return *this;}
122 inline AgreementViewSummary& WithProposalSummary(ProposalSummary&& value) { SetProposalSummary(std::move(value)); return *this;}
124
126
130 inline const Proposer& GetProposer() const{ return m_proposer; }
131 inline bool ProposerHasBeenSet() const { return m_proposerHasBeenSet; }
132 inline void SetProposer(const Proposer& value) { m_proposerHasBeenSet = true; m_proposer = value; }
133 inline void SetProposer(Proposer&& value) { m_proposerHasBeenSet = true; m_proposer = std::move(value); }
134 inline AgreementViewSummary& WithProposer(const Proposer& value) { SetProposer(value); return *this;}
135 inline AgreementViewSummary& WithProposer(Proposer&& value) { SetProposer(std::move(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
143 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
144 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
145 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
146 inline AgreementViewSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
147 inline AgreementViewSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
149
151
154 inline const AgreementStatus& GetStatus() const{ return m_status; }
155 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 inline void SetStatus(const AgreementStatus& value) { m_statusHasBeenSet = true; m_status = value; }
157 inline void SetStatus(AgreementStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
158 inline AgreementViewSummary& WithStatus(const AgreementStatus& value) { SetStatus(value); return *this;}
159 inline AgreementViewSummary& WithStatus(AgreementStatus&& value) { SetStatus(std::move(value)); return *this;}
161 private:
162
163 Aws::Utils::DateTime m_acceptanceTime;
164 bool m_acceptanceTimeHasBeenSet = false;
165
166 Acceptor m_acceptor;
167 bool m_acceptorHasBeenSet = false;
168
169 Aws::String m_agreementId;
170 bool m_agreementIdHasBeenSet = false;
171
172 Aws::String m_agreementType;
173 bool m_agreementTypeHasBeenSet = false;
174
175 Aws::Utils::DateTime m_endTime;
176 bool m_endTimeHasBeenSet = false;
177
178 ProposalSummary m_proposalSummary;
179 bool m_proposalSummaryHasBeenSet = false;
180
181 Proposer m_proposer;
182 bool m_proposerHasBeenSet = false;
183
184 Aws::Utils::DateTime m_startTime;
185 bool m_startTimeHasBeenSet = false;
186
187 AgreementStatus m_status;
188 bool m_statusHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace AgreementService
193} // namespace Aws
AgreementViewSummary & WithAcceptor(const Acceptor &value)
AgreementViewSummary & WithStartTime(const Aws::Utils::DateTime &value)
AgreementViewSummary & WithAgreementType(const char *value)
AgreementViewSummary & WithProposer(const Proposer &value)
AgreementViewSummary & WithProposalSummary(ProposalSummary &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
AgreementViewSummary & WithStartTime(Aws::Utils::DateTime &&value)
AgreementViewSummary & WithAgreementType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API AgreementViewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgreementViewSummary & WithAgreementId(Aws::String &&value)
AgreementViewSummary & WithStatus(AgreementStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
AgreementViewSummary & WithProposalSummary(const ProposalSummary &value)
AgreementViewSummary & WithAcceptor(Acceptor &&value)
AgreementViewSummary & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAcceptanceTime() const
AgreementViewSummary & WithAcceptanceTime(const Aws::Utils::DateTime &value)
AgreementViewSummary & WithAcceptanceTime(Aws::Utils::DateTime &&value)
AgreementViewSummary & WithEndTime(const Aws::Utils::DateTime &value)
AgreementViewSummary & WithStatus(const AgreementStatus &value)
AgreementViewSummary & WithProposer(Proposer &&value)
AgreementViewSummary & WithAgreementId(const char *value)
AgreementViewSummary & WithAgreementType(const Aws::String &value)
void SetAcceptanceTime(Aws::Utils::DateTime &&value)
AgreementViewSummary & WithAgreementId(const Aws::String &value)
AWS_AGREEMENTSERVICE_API AgreementViewSummary(Aws::Utils::Json::JsonView jsonValue)
void SetProposalSummary(const ProposalSummary &value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAcceptanceTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue