AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
StartVerificationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-account/PartnerCentralAccountRequest.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/VerificationDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PartnerCentralAccount {
17namespace Model {
18
22 public:
23 AWS_PARTNERCENTRALACCOUNT_API StartVerificationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartVerification"; }
30
31 AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override;
32
33 AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline const Aws::String& GetClientToken() const { return m_clientToken; }
42 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
43 template <typename ClientTokenT = Aws::String>
44 void SetClientToken(ClientTokenT&& value) {
45 m_clientTokenHasBeenSet = true;
46 m_clientToken = std::forward<ClientTokenT>(value);
47 }
48 template <typename ClientTokenT = Aws::String>
50 SetClientToken(std::forward<ClientTokenT>(value));
51 return *this;
52 }
54
56
61 inline const VerificationDetails& GetVerificationDetails() const { return m_verificationDetails; }
62 inline bool VerificationDetailsHasBeenSet() const { return m_verificationDetailsHasBeenSet; }
63 template <typename VerificationDetailsT = VerificationDetails>
64 void SetVerificationDetails(VerificationDetailsT&& value) {
65 m_verificationDetailsHasBeenSet = true;
66 m_verificationDetails = std::forward<VerificationDetailsT>(value);
67 }
68 template <typename VerificationDetailsT = VerificationDetails>
69 StartVerificationRequest& WithVerificationDetails(VerificationDetailsT&& value) {
70 SetVerificationDetails(std::forward<VerificationDetailsT>(value));
71 return *this;
72 }
74 private:
76
77 VerificationDetails m_verificationDetails;
78 bool m_clientTokenHasBeenSet = true;
79 bool m_verificationDetailsHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace PartnerCentralAccount
84} // namespace Aws
StartVerificationRequest & WithClientToken(ClientTokenT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::String SerializePayload() const override
AWS_PARTNERCENTRALACCOUNT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PARTNERCENTRALACCOUNT_API StartVerificationRequest()=default
StartVerificationRequest & WithVerificationDetails(VerificationDetailsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String