AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
25 AWS_SIGNER_API RevokeSigningProfileRequest() = default;
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 template<typename ProfileNameT = Aws::String>
43 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
44 template<typename ProfileNameT = Aws::String>
45 RevokeSigningProfileRequest& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
53 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
54 template<typename ProfileVersionT = Aws::String>
55 void SetProfileVersion(ProfileVersionT&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
56 template<typename ProfileVersionT = Aws::String>
57 RevokeSigningProfileRequest& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetReason() const { return m_reason; }
65 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
66 template<typename ReasonT = Aws::String>
67 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
68 template<typename ReasonT = Aws::String>
69 RevokeSigningProfileRequest& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
71
73
78 inline const Aws::Utils::DateTime& GetEffectiveTime() const { return m_effectiveTime; }
79 inline bool EffectiveTimeHasBeenSet() const { return m_effectiveTimeHasBeenSet; }
80 template<typename EffectiveTimeT = Aws::Utils::DateTime>
81 void SetEffectiveTime(EffectiveTimeT&& value) { m_effectiveTimeHasBeenSet = true; m_effectiveTime = std::forward<EffectiveTimeT>(value); }
82 template<typename EffectiveTimeT = Aws::Utils::DateTime>
83 RevokeSigningProfileRequest& WithEffectiveTime(EffectiveTimeT&& value) { SetEffectiveTime(std::forward<EffectiveTimeT>(value)); return *this;}
85 private:
86
87 Aws::String m_profileName;
88 bool m_profileNameHasBeenSet = false;
89
90 Aws::String m_profileVersion;
91 bool m_profileVersionHasBeenSet = false;
92
93 Aws::String m_reason;
94 bool m_reasonHasBeenSet = false;
95
96 Aws::Utils::DateTime m_effectiveTime{};
97 bool m_effectiveTimeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace signer
102} // 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