AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateServerCertificateRequest.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 UpdateServerCertificateRequest() = 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 "UpdateServerCertificate"; }
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& GetServerCertificateName() const { return m_serverCertificateName; }
44 inline bool ServerCertificateNameHasBeenSet() const { return m_serverCertificateNameHasBeenSet; }
45 template <typename ServerCertificateNameT = Aws::String>
46 void SetServerCertificateName(ServerCertificateNameT&& value) {
47 m_serverCertificateNameHasBeenSet = true;
48 m_serverCertificateName = std::forward<ServerCertificateNameT>(value);
49 }
50 template <typename ServerCertificateNameT = Aws::String>
52 SetServerCertificateName(std::forward<ServerCertificateNameT>(value));
53 return *this;
54 }
56
58
68 inline const Aws::String& GetNewPath() const { return m_newPath; }
69 inline bool NewPathHasBeenSet() const { return m_newPathHasBeenSet; }
70 template <typename NewPathT = Aws::String>
71 void SetNewPath(NewPathT&& value) {
72 m_newPathHasBeenSet = true;
73 m_newPath = std::forward<NewPathT>(value);
74 }
75 template <typename NewPathT = Aws::String>
77 SetNewPath(std::forward<NewPathT>(value));
78 return *this;
79 }
81
83
91 inline const Aws::String& GetNewServerCertificateName() const { return m_newServerCertificateName; }
92 inline bool NewServerCertificateNameHasBeenSet() const { return m_newServerCertificateNameHasBeenSet; }
93 template <typename NewServerCertificateNameT = Aws::String>
94 void SetNewServerCertificateName(NewServerCertificateNameT&& value) {
95 m_newServerCertificateNameHasBeenSet = true;
96 m_newServerCertificateName = std::forward<NewServerCertificateNameT>(value);
97 }
98 template <typename NewServerCertificateNameT = Aws::String>
100 SetNewServerCertificateName(std::forward<NewServerCertificateNameT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_serverCertificateName;
106
107 Aws::String m_newPath;
108
109 Aws::String m_newServerCertificateName;
110 bool m_serverCertificateNameHasBeenSet = false;
111 bool m_newPathHasBeenSet = false;
112 bool m_newServerCertificateNameHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace IAM
117} // namespace Aws
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetServerCertificateName(ServerCertificateNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateServerCertificateRequest & WithServerCertificateName(ServerCertificateNameT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
void SetNewServerCertificateName(NewServerCertificateNameT &&value)
UpdateServerCertificateRequest & WithNewServerCertificateName(NewServerCertificateNameT &&value)
UpdateServerCertificateRequest & WithNewPath(NewPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String