AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateSigningCertificateRequest.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/StatusType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IAM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IAM_API UpdateSigningCertificateRequest() = 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 "UpdateSigningCertificate"; }
32
33 AWS_IAM_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
48 inline const Aws::String& GetUserName() const { return m_userName; }
49 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
50 template<typename UserNameT = Aws::String>
51 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
52 template<typename UserNameT = Aws::String>
53 UpdateSigningCertificateRequest& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
55
57
63 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
64 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
65 template<typename CertificateIdT = Aws::String>
66 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
67 template<typename CertificateIdT = Aws::String>
68 UpdateSigningCertificateRequest& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
70
72
77 inline StatusType GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(StatusType value) { m_statusHasBeenSet = true; m_status = value; }
80 inline UpdateSigningCertificateRequest& WithStatus(StatusType value) { SetStatus(value); return *this;}
82 private:
83
84 Aws::String m_userName;
85 bool m_userNameHasBeenSet = false;
86
87 Aws::String m_certificateId;
88 bool m_certificateIdHasBeenSet = false;
89
91 bool m_statusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IAM
96} // 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