AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeSigningProfileRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace signer
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RevokeSigningProfile"; }
32
33 AWS_SIGNER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetProfileName() const{ return m_profileName; }
41 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
42 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
43 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
44 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
45 inline RevokeSigningProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
46 inline RevokeSigningProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
47 inline RevokeSigningProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
49
51
54 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
55 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
56 inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; }
57 inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); }
58 inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); }
59 inline RevokeSigningProfileRequest& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
60 inline RevokeSigningProfileRequest& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
61 inline RevokeSigningProfileRequest& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
63
65
68 inline const Aws::String& GetReason() const{ return m_reason; }
69 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
70 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
71 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
72 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
73 inline RevokeSigningProfileRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
74 inline RevokeSigningProfileRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
75 inline RevokeSigningProfileRequest& WithReason(const char* value) { SetReason(value); return *this;}
77
79
84 inline const Aws::Utils::DateTime& GetEffectiveTime() const{ return m_effectiveTime; }
85 inline bool EffectiveTimeHasBeenSet() const { return m_effectiveTimeHasBeenSet; }
86 inline void SetEffectiveTime(const Aws::Utils::DateTime& value) { m_effectiveTimeHasBeenSet = true; m_effectiveTime = value; }
87 inline void SetEffectiveTime(Aws::Utils::DateTime&& value) { m_effectiveTimeHasBeenSet = true; m_effectiveTime = std::move(value); }
89 inline RevokeSigningProfileRequest& WithEffectiveTime(Aws::Utils::DateTime&& value) { SetEffectiveTime(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_profileName;
94 bool m_profileNameHasBeenSet = false;
95
96 Aws::String m_profileVersion;
97 bool m_profileVersionHasBeenSet = false;
98
99 Aws::String m_reason;
100 bool m_reasonHasBeenSet = false;
101
102 Aws::Utils::DateTime m_effectiveTime;
103 bool m_effectiveTimeHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace signer
108} // namespace Aws
RevokeSigningProfileRequest & WithReason(const Aws::String &value)
RevokeSigningProfileRequest & WithEffectiveTime(Aws::Utils::DateTime &&value)
RevokeSigningProfileRequest & WithProfileVersion(const char *value)
RevokeSigningProfileRequest & WithProfileVersion(Aws::String &&value)
RevokeSigningProfileRequest & WithReason(const char *value)
AWS_SIGNER_API Aws::String SerializePayload() const override
RevokeSigningProfileRequest & WithReason(Aws::String &&value)
RevokeSigningProfileRequest & WithProfileName(Aws::String &&value)
RevokeSigningProfileRequest & WithProfileVersion(const Aws::String &value)
RevokeSigningProfileRequest & WithProfileName(const char *value)
RevokeSigningProfileRequest & WithEffectiveTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
void SetEffectiveTime(const Aws::Utils::DateTime &value)
RevokeSigningProfileRequest & WithProfileName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String