AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetRevocationStatusRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace signer
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_SIGNER_API GetRevocationStatusRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetRevocationStatus"; }
37
38 AWS_SIGNER_API Aws::String SerializePayload() const override;
39
40 AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::Utils::DateTime& GetSignatureTimestamp() const { return m_signatureTimestamp; }
48 inline bool SignatureTimestampHasBeenSet() const { return m_signatureTimestampHasBeenSet; }
49 template<typename SignatureTimestampT = Aws::Utils::DateTime>
50 void SetSignatureTimestamp(SignatureTimestampT&& value) { m_signatureTimestampHasBeenSet = true; m_signatureTimestamp = std::forward<SignatureTimestampT>(value); }
51 template<typename SignatureTimestampT = Aws::Utils::DateTime>
52 GetRevocationStatusRequest& WithSignatureTimestamp(SignatureTimestampT&& value) { SetSignatureTimestamp(std::forward<SignatureTimestampT>(value)); return *this;}
54
56
59 inline const Aws::String& GetPlatformId() const { return m_platformId; }
60 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
61 template<typename PlatformIdT = Aws::String>
62 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
63 template<typename PlatformIdT = Aws::String>
64 GetRevocationStatusRequest& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetProfileVersionArn() const { return m_profileVersionArn; }
72 inline bool ProfileVersionArnHasBeenSet() const { return m_profileVersionArnHasBeenSet; }
73 template<typename ProfileVersionArnT = Aws::String>
74 void SetProfileVersionArn(ProfileVersionArnT&& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = std::forward<ProfileVersionArnT>(value); }
75 template<typename ProfileVersionArnT = Aws::String>
76 GetRevocationStatusRequest& WithProfileVersionArn(ProfileVersionArnT&& value) { SetProfileVersionArn(std::forward<ProfileVersionArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetJobArn() const { return m_jobArn; }
84 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
85 template<typename JobArnT = Aws::String>
86 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
87 template<typename JobArnT = Aws::String>
88 GetRevocationStatusRequest& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
90
92
106 inline const Aws::Vector<Aws::String>& GetCertificateHashes() const { return m_certificateHashes; }
107 inline bool CertificateHashesHasBeenSet() const { return m_certificateHashesHasBeenSet; }
108 template<typename CertificateHashesT = Aws::Vector<Aws::String>>
109 void SetCertificateHashes(CertificateHashesT&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes = std::forward<CertificateHashesT>(value); }
110 template<typename CertificateHashesT = Aws::Vector<Aws::String>>
111 GetRevocationStatusRequest& WithCertificateHashes(CertificateHashesT&& value) { SetCertificateHashes(std::forward<CertificateHashesT>(value)); return *this;}
112 template<typename CertificateHashesT = Aws::String>
113 GetRevocationStatusRequest& AddCertificateHashes(CertificateHashesT&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.emplace_back(std::forward<CertificateHashesT>(value)); return *this; }
115 private:
116
117 Aws::Utils::DateTime m_signatureTimestamp{};
118 bool m_signatureTimestampHasBeenSet = false;
119
120 Aws::String m_platformId;
121 bool m_platformIdHasBeenSet = false;
122
123 Aws::String m_profileVersionArn;
124 bool m_profileVersionArnHasBeenSet = false;
125
126 Aws::String m_jobArn;
127 bool m_jobArnHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_certificateHashes;
130 bool m_certificateHashesHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace signer
135} // namespace Aws
GetRevocationStatusRequest & WithCertificateHashes(CertificateHashesT &&value)
GetRevocationStatusRequest & WithJobArn(JobArnT &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetCertificateHashes() const
GetRevocationStatusRequest & AddCertificateHashes(CertificateHashesT &&value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SIGNER_API GetRevocationStatusRequest()=default
GetRevocationStatusRequest & WithSignatureTimestamp(SignatureTimestampT &&value)
GetRevocationStatusRequest & WithPlatformId(PlatformIdT &&value)
const Aws::Utils::DateTime & GetSignatureTimestamp() const
virtual const char * GetServiceRequestName() const override
GetRevocationStatusRequest & WithProfileVersionArn(ProfileVersionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector