AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RevokeSignatureRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace signer
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SIGNER_API RevokeSignatureRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RevokeSignature"; }
31
32 AWS_SIGNER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetJobId() const { return m_jobId; }
40 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
41 template<typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
43 template<typename JobIdT = Aws::String>
44 RevokeSignatureRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
52 inline bool JobOwnerHasBeenSet() const { return m_jobOwnerHasBeenSet; }
53 template<typename JobOwnerT = Aws::String>
54 void SetJobOwner(JobOwnerT&& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = std::forward<JobOwnerT>(value); }
55 template<typename JobOwnerT = Aws::String>
56 RevokeSignatureRequest& WithJobOwner(JobOwnerT&& value) { SetJobOwner(std::forward<JobOwnerT>(value)); return *this;}
58
60
63 inline const Aws::String& GetReason() const { return m_reason; }
64 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
65 template<typename ReasonT = Aws::String>
66 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
67 template<typename ReasonT = Aws::String>
68 RevokeSignatureRequest& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
70 private:
71
72 Aws::String m_jobId;
73 bool m_jobIdHasBeenSet = false;
74
75 Aws::String m_jobOwner;
76 bool m_jobOwnerHasBeenSet = false;
77
78 Aws::String m_reason;
79 bool m_reasonHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace signer
84} // namespace Aws
RevokeSignatureRequest & WithReason(ReasonT &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
RevokeSignatureRequest & WithJobId(JobIdT &&value)
RevokeSignatureRequest & WithJobOwner(JobOwnerT &&value)
AWS_SIGNER_API RevokeSignatureRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String