AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateServerCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateServerCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
46  inline const Aws::String& GetServerCertificateName() const{ return m_serverCertificateName; }
47 
55  inline bool ServerCertificateNameHasBeenSet() const { return m_serverCertificateNameHasBeenSet; }
56 
64  inline void SetServerCertificateName(const Aws::String& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
65 
73  inline void SetServerCertificateName(Aws::String&& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = std::move(value); }
74 
82  inline void SetServerCertificateName(const char* value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName.assign(value); }
83 
91  inline UpdateServerCertificateRequest& WithServerCertificateName(const Aws::String& value) { SetServerCertificateName(value); return *this;}
92 
100  inline UpdateServerCertificateRequest& WithServerCertificateName(Aws::String&& value) { SetServerCertificateName(std::move(value)); return *this;}
101 
109  inline UpdateServerCertificateRequest& WithServerCertificateName(const char* value) { SetServerCertificateName(value); return *this;}
110 
111 
122  inline const Aws::String& GetNewPath() const{ return m_newPath; }
123 
134  inline bool NewPathHasBeenSet() const { return m_newPathHasBeenSet; }
135 
146  inline void SetNewPath(const Aws::String& value) { m_newPathHasBeenSet = true; m_newPath = value; }
147 
158  inline void SetNewPath(Aws::String&& value) { m_newPathHasBeenSet = true; m_newPath = std::move(value); }
159 
170  inline void SetNewPath(const char* value) { m_newPathHasBeenSet = true; m_newPath.assign(value); }
171 
182  inline UpdateServerCertificateRequest& WithNewPath(const Aws::String& value) { SetNewPath(value); return *this;}
183 
194  inline UpdateServerCertificateRequest& WithNewPath(Aws::String&& value) { SetNewPath(std::move(value)); return *this;}
195 
206  inline UpdateServerCertificateRequest& WithNewPath(const char* value) { SetNewPath(value); return *this;}
207 
208 
217  inline const Aws::String& GetNewServerCertificateName() const{ return m_newServerCertificateName; }
218 
227  inline bool NewServerCertificateNameHasBeenSet() const { return m_newServerCertificateNameHasBeenSet; }
228 
237  inline void SetNewServerCertificateName(const Aws::String& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = value; }
238 
247  inline void SetNewServerCertificateName(Aws::String&& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = std::move(value); }
248 
257  inline void SetNewServerCertificateName(const char* value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName.assign(value); }
258 
267  inline UpdateServerCertificateRequest& WithNewServerCertificateName(const Aws::String& value) { SetNewServerCertificateName(value); return *this;}
268 
277  inline UpdateServerCertificateRequest& WithNewServerCertificateName(Aws::String&& value) { SetNewServerCertificateName(std::move(value)); return *this;}
278 
287  inline UpdateServerCertificateRequest& WithNewServerCertificateName(const char* value) { SetNewServerCertificateName(value); return *this;}
288 
289  private:
290 
291  Aws::String m_serverCertificateName;
292  bool m_serverCertificateNameHasBeenSet;
293 
294  Aws::String m_newPath;
295  bool m_newPathHasBeenSet;
296 
297  Aws::String m_newServerCertificateName;
298  bool m_newServerCertificateNameHasBeenSet;
299  };
300 
301 } // namespace Model
302 } // namespace IAM
303 } // namespace Aws
Aws::IAM::Model::UpdateServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:73
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewServerCertificateName
UpdateServerCertificateRequest & WithNewServerCertificateName(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:277
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewServerCertificateName
void SetNewServerCertificateName(const char *value)
Definition: UpdateServerCertificateRequest.h:257
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewPath
void SetNewPath(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:146
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::IAM::Model::UpdateServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(const char *value)
Definition: UpdateServerCertificateRequest.h:82
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::UpdateServerCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateServerCertificateRequest.h:30
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewServerCertificateName
void SetNewServerCertificateName(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:247
Aws::IAM::Model::UpdateServerCertificateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::UpdateServerCertificateRequest::WithServerCertificateName
UpdateServerCertificateRequest & WithServerCertificateName(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:100
Aws::IAM::Model::UpdateServerCertificateRequest::NewServerCertificateNameHasBeenSet
bool NewServerCertificateNameHasBeenSet() const
Definition: UpdateServerCertificateRequest.h:227
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewPath
UpdateServerCertificateRequest & WithNewPath(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:194
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewServerCertificateName
UpdateServerCertificateRequest & WithNewServerCertificateName(const char *value)
Definition: UpdateServerCertificateRequest.h:287
Aws::IAM::Model::UpdateServerCertificateRequest
Definition: UpdateServerCertificateRequest.h:22
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewPath
void SetNewPath(const char *value)
Definition: UpdateServerCertificateRequest.h:170
Aws::IAM::Model::UpdateServerCertificateRequest::WithServerCertificateName
UpdateServerCertificateRequest & WithServerCertificateName(const char *value)
Definition: UpdateServerCertificateRequest.h:109
Aws::IAM::Model::UpdateServerCertificateRequest::GetServerCertificateName
const Aws::String & GetServerCertificateName() const
Definition: UpdateServerCertificateRequest.h:46
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewPath
UpdateServerCertificateRequest & WithNewPath(const char *value)
Definition: UpdateServerCertificateRequest.h:206
Aws::IAM::Model::UpdateServerCertificateRequest::GetNewServerCertificateName
const Aws::String & GetNewServerCertificateName() const
Definition: UpdateServerCertificateRequest.h:217
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewServerCertificateName
UpdateServerCertificateRequest & WithNewServerCertificateName(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:267
AWSString.h
Aws::IAM::Model::UpdateServerCertificateRequest::UpdateServerCertificateRequest
UpdateServerCertificateRequest()
Aws::IAM::Model::UpdateServerCertificateRequest::GetNewPath
const Aws::String & GetNewPath() const
Definition: UpdateServerCertificateRequest.h:122
IAM_EXPORTS.h
Aws::IAM::Model::UpdateServerCertificateRequest::ServerCertificateNameHasBeenSet
bool ServerCertificateNameHasBeenSet() const
Definition: UpdateServerCertificateRequest.h:55
IAMRequest.h
Aws::IAM::Model::UpdateServerCertificateRequest::WithServerCertificateName
UpdateServerCertificateRequest & WithServerCertificateName(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewServerCertificateName
void SetNewServerCertificateName(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:237
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::UpdateServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:64
Aws::IAM::Model::UpdateServerCertificateRequest::SetNewPath
void SetNewPath(Aws::String &&value)
Definition: UpdateServerCertificateRequest.h:158
Aws::IAM::Model::UpdateServerCertificateRequest::NewPathHasBeenSet
bool NewPathHasBeenSet() const
Definition: UpdateServerCertificateRequest.h:134
Aws::IAM::Model::UpdateServerCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::UpdateServerCertificateRequest::WithNewPath
UpdateServerCertificateRequest & WithNewPath(const Aws::String &value)
Definition: UpdateServerCertificateRequest.h:182