AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateSigningCertificateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/StatusType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IAM {
16namespace Model {
17
21 public:
22 AWS_IAM_API UpdateSigningCertificateRequest() = 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 "UpdateSigningCertificate"; }
29
30 AWS_IAM_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
44 inline const Aws::String& GetUserName() const { return m_userName; }
45 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
46 template <typename UserNameT = Aws::String>
47 void SetUserName(UserNameT&& value) {
48 m_userNameHasBeenSet = true;
49 m_userName = std::forward<UserNameT>(value);
50 }
51 template <typename UserNameT = Aws::String>
53 SetUserName(std::forward<UserNameT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
66 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
67 template <typename CertificateIdT = Aws::String>
68 void SetCertificateId(CertificateIdT&& value) {
69 m_certificateIdHasBeenSet = true;
70 m_certificateId = std::forward<CertificateIdT>(value);
71 }
72 template <typename CertificateIdT = Aws::String>
74 SetCertificateId(std::forward<CertificateIdT>(value));
75 return *this;
76 }
78
80
85 inline StatusType GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 inline void SetStatus(StatusType value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96 private:
97 Aws::String m_userName;
98
99 Aws::String m_certificateId;
100
102 bool m_userNameHasBeenSet = false;
103 bool m_certificateIdHasBeenSet = false;
104 bool m_statusHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace IAM
109} // namespace Aws
UpdateSigningCertificateRequest & WithUserName(UserNameT &&value)
UpdateSigningCertificateRequest & WithCertificateId(CertificateIdT &&value)
UpdateSigningCertificateRequest & WithStatus(StatusType value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String