AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
39
40
42
47 inline const Aws::Utils::DateTime& GetAcceptanceTime() const { return m_acceptanceTime; }
48 template<typename AcceptanceTimeT = Aws::Utils::DateTime>
49 void SetAcceptanceTime(AcceptanceTimeT&& value) { m_acceptanceTimeHasBeenSet = true; m_acceptanceTime = std::forward<AcceptanceTimeT>(value); }
50 template<typename AcceptanceTimeT = Aws::Utils::DateTime>
51 DescribeAgreementResult& WithAcceptanceTime(AcceptanceTimeT&& value) { SetAcceptanceTime(std::forward<AcceptanceTimeT>(value)); return *this;}
53
55
59 inline const Acceptor& GetAcceptor() const { return m_acceptor; }
60 template<typename AcceptorT = Acceptor>
61 void SetAcceptor(AcceptorT&& value) { m_acceptorHasBeenSet = true; m_acceptor = std::forward<AcceptorT>(value); }
62 template<typename AcceptorT = Acceptor>
63 DescribeAgreementResult& WithAcceptor(AcceptorT&& value) { SetAcceptor(std::forward<AcceptorT>(value)); return *this;}
65
67
70 inline const Aws::String& GetAgreementId() const { return m_agreementId; }
71 template<typename AgreementIdT = Aws::String>
72 void SetAgreementId(AgreementIdT&& value) { m_agreementIdHasBeenSet = true; m_agreementId = std::forward<AgreementIdT>(value); }
73 template<typename AgreementIdT = Aws::String>
74 DescribeAgreementResult& WithAgreementId(AgreementIdT&& value) { SetAgreementId(std::forward<AgreementIdT>(value)); return *this;}
76
78
82 inline const Aws::String& GetAgreementType() const { return m_agreementType; }
83 template<typename AgreementTypeT = Aws::String>
84 void SetAgreementType(AgreementTypeT&& value) { m_agreementTypeHasBeenSet = true; m_agreementType = std::forward<AgreementTypeT>(value); }
85 template<typename AgreementTypeT = Aws::String>
86 DescribeAgreementResult& WithAgreementType(AgreementTypeT&& value) { SetAgreementType(std::forward<AgreementTypeT>(value)); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
95 template<typename EndTimeT = Aws::Utils::DateTime>
96 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
97 template<typename EndTimeT = Aws::Utils::DateTime>
98 DescribeAgreementResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
100
102
105 inline const EstimatedCharges& GetEstimatedCharges() const { return m_estimatedCharges; }
106 template<typename EstimatedChargesT = EstimatedCharges>
107 void SetEstimatedCharges(EstimatedChargesT&& value) { m_estimatedChargesHasBeenSet = true; m_estimatedCharges = std::forward<EstimatedChargesT>(value); }
108 template<typename EstimatedChargesT = EstimatedCharges>
109 DescribeAgreementResult& WithEstimatedCharges(EstimatedChargesT&& value) { SetEstimatedCharges(std::forward<EstimatedChargesT>(value)); return *this;}
111
113
116 inline const ProposalSummary& GetProposalSummary() const { return m_proposalSummary; }
117 template<typename ProposalSummaryT = ProposalSummary>
118 void SetProposalSummary(ProposalSummaryT&& value) { m_proposalSummaryHasBeenSet = true; m_proposalSummary = std::forward<ProposalSummaryT>(value); }
119 template<typename ProposalSummaryT = ProposalSummary>
120 DescribeAgreementResult& WithProposalSummary(ProposalSummaryT&& value) { SetProposalSummary(std::forward<ProposalSummaryT>(value)); return *this;}
122
124
128 inline const Proposer& GetProposer() const { return m_proposer; }
129 template<typename ProposerT = Proposer>
130 void SetProposer(ProposerT&& value) { m_proposerHasBeenSet = true; m_proposer = std::forward<ProposerT>(value); }
131 template<typename ProposerT = Proposer>
132 DescribeAgreementResult& WithProposer(ProposerT&& value) { SetProposer(std::forward<ProposerT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
140 template<typename StartTimeT = Aws::Utils::DateTime>
141 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
142 template<typename StartTimeT = Aws::Utils::DateTime>
143 DescribeAgreementResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
145
147
165 inline AgreementStatus GetStatus() const { return m_status; }
166 inline void SetStatus(AgreementStatus value) { m_statusHasBeenSet = true; m_status = value; }
167 inline DescribeAgreementResult& WithStatus(AgreementStatus value) { SetStatus(value); return *this;}
169
171
172 inline const Aws::String& GetRequestId() const { return m_requestId; }
173 template<typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
175 template<typename RequestIdT = Aws::String>
176 DescribeAgreementResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
178 private:
179
180 Aws::Utils::DateTime m_acceptanceTime{};
181 bool m_acceptanceTimeHasBeenSet = false;
182
183 Acceptor m_acceptor;
184 bool m_acceptorHasBeenSet = false;
185
186 Aws::String m_agreementId;
187 bool m_agreementIdHasBeenSet = false;
188
189 Aws::String m_agreementType;
190 bool m_agreementTypeHasBeenSet = false;
191
192 Aws::Utils::DateTime m_endTime{};
193 bool m_endTimeHasBeenSet = false;
194
195 EstimatedCharges m_estimatedCharges;
196 bool m_estimatedChargesHasBeenSet = false;
197
198 ProposalSummary m_proposalSummary;
199 bool m_proposalSummaryHasBeenSet = false;
200
201 Proposer m_proposer;
202 bool m_proposerHasBeenSet = false;
203
204 Aws::Utils::DateTime m_startTime{};
205 bool m_startTimeHasBeenSet = false;
206
208 bool m_statusHasBeenSet = false;
209
210 Aws::String m_requestId;
211 bool m_requestIdHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace AgreementService
216} // namespace Aws
AWS_AGREEMENTSERVICE_API DescribeAgreementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AGREEMENTSERVICE_API DescribeAgreementResult()=default
DescribeAgreementResult & WithAcceptor(AcceptorT &&value)
DescribeAgreementResult & WithProposer(ProposerT &&value)
DescribeAgreementResult & WithAgreementId(AgreementIdT &&value)
DescribeAgreementResult & WithAcceptanceTime(AcceptanceTimeT &&value)
DescribeAgreementResult & WithEstimatedCharges(EstimatedChargesT &&value)
DescribeAgreementResult & WithRequestId(RequestIdT &&value)
DescribeAgreementResult & WithProposalSummary(ProposalSummaryT &&value)
DescribeAgreementResult & WithStatus(AgreementStatus value)
AWS_AGREEMENTSERVICE_API DescribeAgreementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAgreementResult & WithStartTime(StartTimeT &&value)
DescribeAgreementResult & WithEndTime(EndTimeT &&value)
DescribeAgreementResult & WithAgreementType(AgreementTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue