AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAgreementResult.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/EstimatedCharges.h>
12#include <aws/marketplace-agreement/model/ProposalSummary.h>
13#include <aws/marketplace-agreement/model/Proposer.h>
14#include <aws/marketplace-agreement/model/AgreementStatus.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace AgreementService
30{
31namespace Model
32{
34 {
35 public:
36 AWS_AGREEMENTSERVICE_API DescribeAgreementResult();
39
40
42
47 inline const Aws::Utils::DateTime& GetAcceptanceTime() const{ return m_acceptanceTime; }
48 inline void SetAcceptanceTime(const Aws::Utils::DateTime& value) { m_acceptanceTime = value; }
49 inline void SetAcceptanceTime(Aws::Utils::DateTime&& value) { m_acceptanceTime = std::move(value); }
51 inline DescribeAgreementResult& WithAcceptanceTime(Aws::Utils::DateTime&& value) { SetAcceptanceTime(std::move(value)); return *this;}
53
55
59 inline const Acceptor& GetAcceptor() const{ return m_acceptor; }
60 inline void SetAcceptor(const Acceptor& value) { m_acceptor = value; }
61 inline void SetAcceptor(Acceptor&& value) { m_acceptor = std::move(value); }
62 inline DescribeAgreementResult& WithAcceptor(const Acceptor& value) { SetAcceptor(value); return *this;}
63 inline DescribeAgreementResult& WithAcceptor(Acceptor&& value) { SetAcceptor(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetAgreementId() const{ return m_agreementId; }
71 inline void SetAgreementId(const Aws::String& value) { m_agreementId = value; }
72 inline void SetAgreementId(Aws::String&& value) { m_agreementId = std::move(value); }
73 inline void SetAgreementId(const char* value) { m_agreementId.assign(value); }
74 inline DescribeAgreementResult& WithAgreementId(const Aws::String& value) { SetAgreementId(value); return *this;}
75 inline DescribeAgreementResult& WithAgreementId(Aws::String&& value) { SetAgreementId(std::move(value)); return *this;}
76 inline DescribeAgreementResult& WithAgreementId(const char* value) { SetAgreementId(value); return *this;}
78
80
84 inline const Aws::String& GetAgreementType() const{ return m_agreementType; }
85 inline void SetAgreementType(const Aws::String& value) { m_agreementType = value; }
86 inline void SetAgreementType(Aws::String&& value) { m_agreementType = std::move(value); }
87 inline void SetAgreementType(const char* value) { m_agreementType.assign(value); }
88 inline DescribeAgreementResult& WithAgreementType(const Aws::String& value) { SetAgreementType(value); return *this;}
89 inline DescribeAgreementResult& WithAgreementType(Aws::String&& value) { SetAgreementType(std::move(value)); return *this;}
90 inline DescribeAgreementResult& WithAgreementType(const char* value) { SetAgreementType(value); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
99 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
100 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
101 inline DescribeAgreementResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
102 inline DescribeAgreementResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
104
106
109 inline const EstimatedCharges& GetEstimatedCharges() const{ return m_estimatedCharges; }
110 inline void SetEstimatedCharges(const EstimatedCharges& value) { m_estimatedCharges = value; }
111 inline void SetEstimatedCharges(EstimatedCharges&& value) { m_estimatedCharges = std::move(value); }
113 inline DescribeAgreementResult& WithEstimatedCharges(EstimatedCharges&& value) { SetEstimatedCharges(std::move(value)); return *this;}
115
117
120 inline const ProposalSummary& GetProposalSummary() const{ return m_proposalSummary; }
121 inline void SetProposalSummary(const ProposalSummary& value) { m_proposalSummary = value; }
122 inline void SetProposalSummary(ProposalSummary&& value) { m_proposalSummary = std::move(value); }
124 inline DescribeAgreementResult& WithProposalSummary(ProposalSummary&& value) { SetProposalSummary(std::move(value)); return *this;}
126
128
132 inline const Proposer& GetProposer() const{ return m_proposer; }
133 inline void SetProposer(const Proposer& value) { m_proposer = value; }
134 inline void SetProposer(Proposer&& value) { m_proposer = std::move(value); }
135 inline DescribeAgreementResult& WithProposer(const Proposer& value) { SetProposer(value); return *this;}
136 inline DescribeAgreementResult& WithProposer(Proposer&& value) { SetProposer(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
144 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
145 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
146 inline DescribeAgreementResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
147 inline DescribeAgreementResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
149
151
169 inline const AgreementStatus& GetStatus() const{ return m_status; }
170 inline void SetStatus(const AgreementStatus& value) { m_status = value; }
171 inline void SetStatus(AgreementStatus&& value) { m_status = std::move(value); }
172 inline DescribeAgreementResult& WithStatus(const AgreementStatus& value) { SetStatus(value); return *this;}
173 inline DescribeAgreementResult& WithStatus(AgreementStatus&& value) { SetStatus(std::move(value)); return *this;}
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline DescribeAgreementResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline DescribeAgreementResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline DescribeAgreementResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 Aws::Utils::DateTime m_acceptanceTime;
189
190 Acceptor m_acceptor;
191
192 Aws::String m_agreementId;
193
194 Aws::String m_agreementType;
195
196 Aws::Utils::DateTime m_endTime;
197
198 EstimatedCharges m_estimatedCharges;
199
200 ProposalSummary m_proposalSummary;
201
202 Proposer m_proposer;
203
204 Aws::Utils::DateTime m_startTime;
205
206 AgreementStatus m_status;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace AgreementService
213} // namespace Aws
DescribeAgreementResult & WithAgreementId(const char *value)
AWS_AGREEMENTSERVICE_API DescribeAgreementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAgreementResult & WithAcceptanceTime(Aws::Utils::DateTime &&value)
DescribeAgreementResult & WithAcceptor(Acceptor &&value)
DescribeAgreementResult & WithRequestId(const Aws::String &value)
DescribeAgreementResult & WithAgreementId(Aws::String &&value)
DescribeAgreementResult & WithProposer(const Proposer &value)
DescribeAgreementResult & WithAgreementType(Aws::String &&value)
DescribeAgreementResult & WithAcceptor(const Acceptor &value)
DescribeAgreementResult & WithStatus(AgreementStatus &&value)
AWS_AGREEMENTSERVICE_API DescribeAgreementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAgreementResult & WithRequestId(const char *value)
void SetAcceptanceTime(const Aws::Utils::DateTime &value)
DescribeAgreementResult & WithAcceptanceTime(const Aws::Utils::DateTime &value)
DescribeAgreementResult & WithProposer(Proposer &&value)
DescribeAgreementResult & WithAgreementType(const char *value)
DescribeAgreementResult & WithProposalSummary(const ProposalSummary &value)
DescribeAgreementResult & WithStartTime(Aws::Utils::DateTime &&value)
DescribeAgreementResult & WithEndTime(Aws::Utils::DateTime &&value)
DescribeAgreementResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeAgreementResult & WithEstimatedCharges(EstimatedCharges &&value)
DescribeAgreementResult & WithProposalSummary(ProposalSummary &&value)
DescribeAgreementResult & WithRequestId(Aws::String &&value)
DescribeAgreementResult & WithEstimatedCharges(const EstimatedCharges &value)
DescribeAgreementResult & WithEndTime(const Aws::Utils::DateTime &value)
DescribeAgreementResult & WithAgreementType(const Aws::String &value)
DescribeAgreementResult & WithAgreementId(const Aws::String &value)
DescribeAgreementResult & WithStatus(const AgreementStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue