AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetVerificationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/VerificationResponseDetails.h>
12#include <aws/partnercentral-account/model/VerificationStatus.h>
13#include <aws/partnercentral-account/model/VerificationType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralAccount {
27namespace Model {
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API GetVerificationResult() = default;
33
35
38 inline VerificationType GetVerificationType() const { return m_verificationType; }
40 m_verificationTypeHasBeenSet = true;
41 m_verificationType = value;
42 }
45 return *this;
46 }
48
50
54 inline VerificationStatus GetVerificationStatus() const { return m_verificationStatus; }
56 m_verificationStatusHasBeenSet = true;
57 m_verificationStatus = value;
58 }
61 return *this;
62 }
64
66
71 inline const Aws::String& GetVerificationStatusReason() const { return m_verificationStatusReason; }
72 template <typename VerificationStatusReasonT = Aws::String>
73 void SetVerificationStatusReason(VerificationStatusReasonT&& value) {
74 m_verificationStatusReasonHasBeenSet = true;
75 m_verificationStatusReason = std::forward<VerificationStatusReasonT>(value);
76 }
77 template <typename VerificationStatusReasonT = Aws::String>
78 GetVerificationResult& WithVerificationStatusReason(VerificationStatusReasonT&& value) {
79 SetVerificationStatusReason(std::forward<VerificationStatusReasonT>(value));
80 return *this;
81 }
83
85
89 inline const VerificationResponseDetails& GetVerificationResponseDetails() const { return m_verificationResponseDetails; }
90 template <typename VerificationResponseDetailsT = VerificationResponseDetails>
91 void SetVerificationResponseDetails(VerificationResponseDetailsT&& value) {
92 m_verificationResponseDetailsHasBeenSet = true;
93 m_verificationResponseDetails = std::forward<VerificationResponseDetailsT>(value);
94 }
95 template <typename VerificationResponseDetailsT = VerificationResponseDetails>
96 GetVerificationResult& WithVerificationResponseDetails(VerificationResponseDetailsT&& value) {
97 SetVerificationResponseDetails(std::forward<VerificationResponseDetailsT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
107 template <typename StartedAtT = Aws::Utils::DateTime>
108 void SetStartedAt(StartedAtT&& value) {
109 m_startedAtHasBeenSet = true;
110 m_startedAt = std::forward<StartedAtT>(value);
111 }
112 template <typename StartedAtT = Aws::Utils::DateTime>
114 SetStartedAt(std::forward<StartedAtT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
125 template <typename CompletedAtT = Aws::Utils::DateTime>
126 void SetCompletedAt(CompletedAtT&& value) {
127 m_completedAtHasBeenSet = true;
128 m_completedAt = std::forward<CompletedAtT>(value);
129 }
130 template <typename CompletedAtT = Aws::Utils::DateTime>
131 GetVerificationResult& WithCompletedAt(CompletedAtT&& value) {
132 SetCompletedAt(std::forward<CompletedAtT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template <typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) {
142 m_requestIdHasBeenSet = true;
143 m_requestId = std::forward<RequestIdT>(value);
144 }
145 template <typename RequestIdT = Aws::String>
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
152
153 private:
155
157
158 Aws::String m_verificationStatusReason;
159
160 VerificationResponseDetails m_verificationResponseDetails;
161
162 Aws::Utils::DateTime m_startedAt{};
163
164 Aws::Utils::DateTime m_completedAt{};
165
166 Aws::String m_requestId;
167 Aws::Http::HttpResponseCode m_HttpResponseCode;
168 bool m_verificationTypeHasBeenSet = false;
169 bool m_verificationStatusHasBeenSet = false;
170 bool m_verificationStatusReasonHasBeenSet = false;
171 bool m_verificationResponseDetailsHasBeenSet = false;
172 bool m_startedAtHasBeenSet = false;
173 bool m_completedAtHasBeenSet = false;
174 bool m_requestIdHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace PartnerCentralAccount
179} // 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