AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
42 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
43 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
44 inline RevokeSignatureRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
45 inline RevokeSignatureRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
46 inline RevokeSignatureRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
48
50
53 inline const Aws::String& GetJobOwner() const{ return m_jobOwner; }
54 inline bool JobOwnerHasBeenSet() const { return m_jobOwnerHasBeenSet; }
55 inline void SetJobOwner(const Aws::String& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = value; }
56 inline void SetJobOwner(Aws::String&& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = std::move(value); }
57 inline void SetJobOwner(const char* value) { m_jobOwnerHasBeenSet = true; m_jobOwner.assign(value); }
58 inline RevokeSignatureRequest& WithJobOwner(const Aws::String& value) { SetJobOwner(value); return *this;}
59 inline RevokeSignatureRequest& WithJobOwner(Aws::String&& value) { SetJobOwner(std::move(value)); return *this;}
60 inline RevokeSignatureRequest& WithJobOwner(const char* value) { SetJobOwner(value); return *this;}
62
64
67 inline const Aws::String& GetReason() const{ return m_reason; }
68 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
69 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
70 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
71 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
72 inline RevokeSignatureRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
73 inline RevokeSignatureRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
74 inline RevokeSignatureRequest& WithReason(const char* value) { SetReason(value); return *this;}
76 private:
77
78 Aws::String m_jobId;
79 bool m_jobIdHasBeenSet = false;
80
81 Aws::String m_jobOwner;
82 bool m_jobOwnerHasBeenSet = false;
83
84 Aws::String m_reason;
85 bool m_reasonHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace signer
90} // namespace Aws
RevokeSignatureRequest & WithReason(const Aws::String &value)
RevokeSignatureRequest & WithJobOwner(Aws::String &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
RevokeSignatureRequest & WithJobId(const char *value)
RevokeSignatureRequest & WithReason(Aws::String &&value)
RevokeSignatureRequest & WithJobId(const Aws::String &value)
RevokeSignatureRequest & WithReason(const char *value)
RevokeSignatureRequest & WithJobId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
RevokeSignatureRequest & WithJobOwner(const char *value)
RevokeSignatureRequest & WithJobOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String