AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UploadSigningCertificateRequest.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
11#include <utility>
12
13namespace Aws {
14namespace IAM {
15namespace Model {
16
20 public:
21 AWS_IAM_API UploadSigningCertificateRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UploadSigningCertificate"; }
28
29 AWS_IAM_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
43 inline const Aws::String& GetUserName() const { return m_userName; }
44 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
45 template <typename UserNameT = Aws::String>
46 void SetUserName(UserNameT&& value) {
47 m_userNameHasBeenSet = true;
48 m_userName = std::forward<UserNameT>(value);
49 }
50 template <typename UserNameT = Aws::String>
52 SetUserName(std::forward<UserNameT>(value));
53 return *this;
54 }
56
58
69 inline const Aws::String& GetCertificateBody() const { return m_certificateBody; }
70 inline bool CertificateBodyHasBeenSet() const { return m_certificateBodyHasBeenSet; }
71 template <typename CertificateBodyT = Aws::String>
72 void SetCertificateBody(CertificateBodyT&& value) {
73 m_certificateBodyHasBeenSet = true;
74 m_certificateBody = std::forward<CertificateBodyT>(value);
75 }
76 template <typename CertificateBodyT = Aws::String>
78 SetCertificateBody(std::forward<CertificateBodyT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_userName;
84
85 Aws::String m_certificateBody;
86 bool m_userNameHasBeenSet = false;
87 bool m_certificateBodyHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace IAM
92} // namespace Aws
AWS_IAM_API Aws::String SerializePayload() const override
UploadSigningCertificateRequest & WithCertificateBody(CertificateBodyT &&value)
UploadSigningCertificateRequest & WithUserName(UserNameT &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String