AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSignatureTimestamp(const Aws::Utils::DateTime& value) { m_signatureTimestampHasBeenSet = true; m_signatureTimestamp = value; }
50 inline void SetSignatureTimestamp(Aws::Utils::DateTime&& value) { m_signatureTimestampHasBeenSet = true; m_signatureTimestamp = std::move(value); }
54
56
59 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
60 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
61 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
62 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
63 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
64 inline GetRevocationStatusRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
65 inline GetRevocationStatusRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
66 inline GetRevocationStatusRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
68
70
73 inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; }
74 inline bool ProfileVersionArnHasBeenSet() const { return m_profileVersionArnHasBeenSet; }
75 inline void SetProfileVersionArn(const Aws::String& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = value; }
76 inline void SetProfileVersionArn(Aws::String&& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = std::move(value); }
77 inline void SetProfileVersionArn(const char* value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn.assign(value); }
79 inline GetRevocationStatusRequest& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;}
80 inline GetRevocationStatusRequest& WithProfileVersionArn(const char* value) { SetProfileVersionArn(value); return *this;}
82
84
87 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
88 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
89 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
90 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
91 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
92 inline GetRevocationStatusRequest& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
93 inline GetRevocationStatusRequest& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
94 inline GetRevocationStatusRequest& WithJobArn(const char* value) { SetJobArn(value); return *this;}
96
98
112 inline const Aws::Vector<Aws::String>& GetCertificateHashes() const{ return m_certificateHashes; }
113 inline bool CertificateHashesHasBeenSet() const { return m_certificateHashesHasBeenSet; }
114 inline void SetCertificateHashes(const Aws::Vector<Aws::String>& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes = value; }
115 inline void SetCertificateHashes(Aws::Vector<Aws::String>&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes = std::move(value); }
118 inline GetRevocationStatusRequest& AddCertificateHashes(const Aws::String& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(value); return *this; }
119 inline GetRevocationStatusRequest& AddCertificateHashes(Aws::String&& value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(std::move(value)); return *this; }
120 inline GetRevocationStatusRequest& AddCertificateHashes(const char* value) { m_certificateHashesHasBeenSet = true; m_certificateHashes.push_back(value); return *this; }
122 private:
123
124 Aws::Utils::DateTime m_signatureTimestamp;
125 bool m_signatureTimestampHasBeenSet = false;
126
127 Aws::String m_platformId;
128 bool m_platformIdHasBeenSet = false;
129
130 Aws::String m_profileVersionArn;
131 bool m_profileVersionArnHasBeenSet = false;
132
133 Aws::String m_jobArn;
134 bool m_jobArnHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_certificateHashes;
137 bool m_certificateHashesHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace signer
142} // namespace Aws
GetRevocationStatusRequest & WithJobArn(const char *value)
GetRevocationStatusRequest & WithJobArn(const Aws::String &value)
GetRevocationStatusRequest & WithCertificateHashes(const Aws::Vector< Aws::String > &value)
GetRevocationStatusRequest & WithPlatformId(const char *value)
void SetCertificateHashes(Aws::Vector< Aws::String > &&value)
GetRevocationStatusRequest & WithSignatureTimestamp(Aws::Utils::DateTime &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
void SetSignatureTimestamp(const Aws::Utils::DateTime &value)
void SetCertificateHashes(const Aws::Vector< Aws::String > &value)
GetRevocationStatusRequest & AddCertificateHashes(Aws::String &&value)
GetRevocationStatusRequest & AddCertificateHashes(const char *value)
const Aws::Vector< Aws::String > & GetCertificateHashes() const
GetRevocationStatusRequest & WithProfileVersionArn(const Aws::String &value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetSignatureTimestamp(Aws::Utils::DateTime &&value)
GetRevocationStatusRequest & WithPlatformId(Aws::String &&value)
GetRevocationStatusRequest & WithJobArn(Aws::String &&value)
GetRevocationStatusRequest & AddCertificateHashes(const Aws::String &value)
GetRevocationStatusRequest & WithSignatureTimestamp(const Aws::Utils::DateTime &value)
GetRevocationStatusRequest & WithCertificateHashes(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetSignatureTimestamp() const
virtual const char * GetServiceRequestName() const override
GetRevocationStatusRequest & WithProfileVersionArn(const char *value)
GetRevocationStatusRequest & WithProfileVersionArn(Aws::String &&value)
GetRevocationStatusRequest & WithPlatformId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector