AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
GetVerificationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/VerificationResponseDetails.h>
11#include <aws/partnercentral-account/model/VerificationStatus.h>
12#include <aws/partnercentral-account/model/VerificationType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralAccount {
26namespace Model {
28 public:
29 AWS_PARTNERCENTRALACCOUNT_API GetVerificationResult() = default;
32
34
37 inline VerificationType GetVerificationType() const { return m_verificationType; }
39 m_verificationTypeHasBeenSet = true;
40 m_verificationType = value;
41 }
44 return *this;
45 }
47
49
53 inline VerificationStatus GetVerificationStatus() const { return m_verificationStatus; }
55 m_verificationStatusHasBeenSet = true;
56 m_verificationStatus = value;
57 }
60 return *this;
61 }
63
65
70 inline const Aws::String& GetVerificationStatusReason() const { return m_verificationStatusReason; }
71 template <typename VerificationStatusReasonT = Aws::String>
72 void SetVerificationStatusReason(VerificationStatusReasonT&& value) {
73 m_verificationStatusReasonHasBeenSet = true;
74 m_verificationStatusReason = std::forward<VerificationStatusReasonT>(value);
75 }
76 template <typename VerificationStatusReasonT = Aws::String>
77 GetVerificationResult& WithVerificationStatusReason(VerificationStatusReasonT&& value) {
78 SetVerificationStatusReason(std::forward<VerificationStatusReasonT>(value));
79 return *this;
80 }
82
84
88 inline const VerificationResponseDetails& GetVerificationResponseDetails() const { return m_verificationResponseDetails; }
89 template <typename VerificationResponseDetailsT = VerificationResponseDetails>
90 void SetVerificationResponseDetails(VerificationResponseDetailsT&& value) {
91 m_verificationResponseDetailsHasBeenSet = true;
92 m_verificationResponseDetails = std::forward<VerificationResponseDetailsT>(value);
93 }
94 template <typename VerificationResponseDetailsT = VerificationResponseDetails>
95 GetVerificationResult& WithVerificationResponseDetails(VerificationResponseDetailsT&& value) {
96 SetVerificationResponseDetails(std::forward<VerificationResponseDetailsT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
106 template <typename StartedAtT = Aws::Utils::DateTime>
107 void SetStartedAt(StartedAtT&& value) {
108 m_startedAtHasBeenSet = true;
109 m_startedAt = std::forward<StartedAtT>(value);
110 }
111 template <typename StartedAtT = Aws::Utils::DateTime>
113 SetStartedAt(std::forward<StartedAtT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
124 template <typename CompletedAtT = Aws::Utils::DateTime>
125 void SetCompletedAt(CompletedAtT&& value) {
126 m_completedAtHasBeenSet = true;
127 m_completedAt = std::forward<CompletedAtT>(value);
128 }
129 template <typename CompletedAtT = Aws::Utils::DateTime>
130 GetVerificationResult& WithCompletedAt(CompletedAtT&& value) {
131 SetCompletedAt(std::forward<CompletedAtT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 private:
152
154
155 Aws::String m_verificationStatusReason;
156
157 VerificationResponseDetails m_verificationResponseDetails;
158
159 Aws::Utils::DateTime m_startedAt{};
160
161 Aws::Utils::DateTime m_completedAt{};
162
163 Aws::String m_requestId;
164 bool m_verificationTypeHasBeenSet = false;
165 bool m_verificationStatusHasBeenSet = false;
166 bool m_verificationStatusReasonHasBeenSet = false;
167 bool m_verificationResponseDetailsHasBeenSet = false;
168 bool m_startedAtHasBeenSet = false;
169 bool m_completedAtHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace PartnerCentralAccount
175} // namespace Aws
GetVerificationResult & WithCompletedAt(CompletedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetVerificationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API GetVerificationResult()=default
GetVerificationResult & WithRequestId(RequestIdT &&value)
GetVerificationResult & WithStartedAt(StartedAtT &&value)
const VerificationResponseDetails & GetVerificationResponseDetails() const
void SetVerificationResponseDetails(VerificationResponseDetailsT &&value)
GetVerificationResult & WithVerificationStatus(VerificationStatus value)
GetVerificationResult & WithVerificationResponseDetails(VerificationResponseDetailsT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetVerificationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVerificationResult & WithVerificationStatusReason(VerificationStatusReasonT &&value)
GetVerificationResult & WithVerificationType(VerificationType value)
void SetVerificationStatusReason(VerificationStatusReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue