AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
RevokeSigningProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/SignerRequest.h>
10#include <aws/signer/Signer_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace signer {
16namespace Model {
17
21 public:
22 AWS_SIGNER_API RevokeSigningProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "RevokeSigningProfile"; }
29
30 AWS_SIGNER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetProfileName() const { return m_profileName; }
37 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
38 template <typename ProfileNameT = Aws::String>
39 void SetProfileName(ProfileNameT&& value) {
40 m_profileNameHasBeenSet = true;
41 m_profileName = std::forward<ProfileNameT>(value);
42 }
43 template <typename ProfileNameT = Aws::String>
45 SetProfileName(std::forward<ProfileNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
55 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
56 template <typename ProfileVersionT = Aws::String>
57 void SetProfileVersion(ProfileVersionT&& value) {
58 m_profileVersionHasBeenSet = true;
59 m_profileVersion = std::forward<ProfileVersionT>(value);
60 }
61 template <typename ProfileVersionT = Aws::String>
63 SetProfileVersion(std::forward<ProfileVersionT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetReason() const { return m_reason; }
73 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
74 template <typename ReasonT = Aws::String>
75 void SetReason(ReasonT&& value) {
76 m_reasonHasBeenSet = true;
77 m_reason = std::forward<ReasonT>(value);
78 }
79 template <typename ReasonT = Aws::String>
81 SetReason(std::forward<ReasonT>(value));
82 return *this;
83 }
85
87
92 inline const Aws::Utils::DateTime& GetEffectiveTime() const { return m_effectiveTime; }
93 inline bool EffectiveTimeHasBeenSet() const { return m_effectiveTimeHasBeenSet; }
94 template <typename EffectiveTimeT = Aws::Utils::DateTime>
95 void SetEffectiveTime(EffectiveTimeT&& value) {
96 m_effectiveTimeHasBeenSet = true;
97 m_effectiveTime = std::forward<EffectiveTimeT>(value);
98 }
99 template <typename EffectiveTimeT = Aws::Utils::DateTime>
101 SetEffectiveTime(std::forward<EffectiveTimeT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_profileName;
107 bool m_profileNameHasBeenSet = false;
108
109 Aws::String m_profileVersion;
110 bool m_profileVersionHasBeenSet = false;
111
112 Aws::String m_reason;
113 bool m_reasonHasBeenSet = false;
114
115 Aws::Utils::DateTime m_effectiveTime{};
116 bool m_effectiveTimeHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace signer
121} // namespace Aws
RevokeSigningProfileRequest & WithEffectiveTime(EffectiveTimeT &&value)
RevokeSigningProfileRequest & WithProfileName(ProfileNameT &&value)
RevokeSigningProfileRequest & WithProfileVersion(ProfileVersionT &&value)
RevokeSigningProfileRequest & WithReason(ReasonT &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
AWS_SIGNER_API RevokeSigningProfileRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String