AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
51 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
52 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
53 inline UpdateSigningCertificateRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
54 inline UpdateSigningCertificateRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
55 inline UpdateSigningCertificateRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
57
59
65 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
66 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
67 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
68 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
69 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
71 inline UpdateSigningCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
72 inline UpdateSigningCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
74
76
81 inline const StatusType& GetStatus() const{ return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(const StatusType& value) { m_statusHasBeenSet = true; m_status = value; }
84 inline void SetStatus(StatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline UpdateSigningCertificateRequest& WithStatus(const StatusType& value) { SetStatus(value); return *this;}
86 inline UpdateSigningCertificateRequest& WithStatus(StatusType&& value) { SetStatus(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_userName;
91 bool m_userNameHasBeenSet = false;
92
93 Aws::String m_certificateId;
94 bool m_certificateIdHasBeenSet = false;
95
96 StatusType m_status;
97 bool m_statusHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IAM
102} // namespace Aws
UpdateSigningCertificateRequest & WithCertificateId(const Aws::String &value)
UpdateSigningCertificateRequest & WithStatus(StatusType &&value)
UpdateSigningCertificateRequest & WithUserName(const Aws::String &value)
UpdateSigningCertificateRequest & WithUserName(Aws::String &&value)
UpdateSigningCertificateRequest & WithCertificateId(Aws::String &&value)
UpdateSigningCertificateRequest & WithUserName(const char *value)
UpdateSigningCertificateRequest & WithCertificateId(const char *value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateSigningCertificateRequest & WithStatus(const StatusType &value)
AWS_IAM_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String