AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RevokeSignatureRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/signer/Signer_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace signer {
15namespace Model {
16
20 public:
21 AWS_SIGNER_API RevokeSignatureRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RevokeSignature"; }
28
29 AWS_SIGNER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetJobId() const { return m_jobId; }
36 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
37 template <typename JobIdT = Aws::String>
38 void SetJobId(JobIdT&& value) {
39 m_jobIdHasBeenSet = true;
40 m_jobId = std::forward<JobIdT>(value);
41 }
42 template <typename JobIdT = Aws::String>
44 SetJobId(std::forward<JobIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
54 inline bool JobOwnerHasBeenSet() const { return m_jobOwnerHasBeenSet; }
55 template <typename JobOwnerT = Aws::String>
56 void SetJobOwner(JobOwnerT&& value) {
57 m_jobOwnerHasBeenSet = true;
58 m_jobOwner = std::forward<JobOwnerT>(value);
59 }
60 template <typename JobOwnerT = Aws::String>
62 SetJobOwner(std::forward<JobOwnerT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetReason() const { return m_reason; }
72 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
73 template <typename ReasonT = Aws::String>
74 void SetReason(ReasonT&& value) {
75 m_reasonHasBeenSet = true;
76 m_reason = std::forward<ReasonT>(value);
77 }
78 template <typename ReasonT = Aws::String>
80 SetReason(std::forward<ReasonT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_jobId;
86
87 Aws::String m_jobOwner;
88
89 Aws::String m_reason;
90 bool m_jobIdHasBeenSet = false;
91 bool m_jobOwnerHasBeenSet = false;
92 bool m_reasonHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace signer
97} // 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