AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServerCertificateRequest.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 <utility>
11
12namespace Aws
13{
14namespace IAM
15{
16namespace 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_IAM_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
47 inline const Aws::String& GetServerCertificateName() const{ return m_serverCertificateName; }
48 inline bool ServerCertificateNameHasBeenSet() const { return m_serverCertificateNameHasBeenSet; }
49 inline void SetServerCertificateName(const Aws::String& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
50 inline void SetServerCertificateName(Aws::String&& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = std::move(value); }
51 inline void SetServerCertificateName(const char* value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName.assign(value); }
54 inline UpdateServerCertificateRequest& WithServerCertificateName(const char* value) { SetServerCertificateName(value); return *this;}
56
58
68 inline const Aws::String& GetNewPath() const{ return m_newPath; }
69 inline bool NewPathHasBeenSet() const { return m_newPathHasBeenSet; }
70 inline void SetNewPath(const Aws::String& value) { m_newPathHasBeenSet = true; m_newPath = value; }
71 inline void SetNewPath(Aws::String&& value) { m_newPathHasBeenSet = true; m_newPath = std::move(value); }
72 inline void SetNewPath(const char* value) { m_newPathHasBeenSet = true; m_newPath.assign(value); }
73 inline UpdateServerCertificateRequest& WithNewPath(const Aws::String& value) { SetNewPath(value); return *this;}
74 inline UpdateServerCertificateRequest& WithNewPath(Aws::String&& value) { SetNewPath(std::move(value)); return *this;}
75 inline UpdateServerCertificateRequest& WithNewPath(const char* value) { SetNewPath(value); return *this;}
77
79
87 inline const Aws::String& GetNewServerCertificateName() const{ return m_newServerCertificateName; }
88 inline bool NewServerCertificateNameHasBeenSet() const { return m_newServerCertificateNameHasBeenSet; }
89 inline void SetNewServerCertificateName(const Aws::String& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = value; }
90 inline void SetNewServerCertificateName(Aws::String&& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = std::move(value); }
91 inline void SetNewServerCertificateName(const char* value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName.assign(value); }
96 private:
97
98 Aws::String m_serverCertificateName;
99 bool m_serverCertificateNameHasBeenSet = false;
100
101 Aws::String m_newPath;
102 bool m_newPathHasBeenSet = false;
103
104 Aws::String m_newServerCertificateName;
105 bool m_newServerCertificateNameHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IAM
110} // namespace Aws
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateServerCertificateRequest & WithServerCertificateName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateServerCertificateRequest & WithNewServerCertificateName(const Aws::String &value)
AWS_IAM_API Aws::String SerializePayload() const override
UpdateServerCertificateRequest & WithNewServerCertificateName(const char *value)
UpdateServerCertificateRequest & WithServerCertificateName(Aws::String &&value)
UpdateServerCertificateRequest & WithServerCertificateName(const char *value)
UpdateServerCertificateRequest & WithNewPath(Aws::String &&value)
UpdateServerCertificateRequest & WithNewPath(const char *value)
UpdateServerCertificateRequest & WithNewServerCertificateName(Aws::String &&value)
UpdateServerCertificateRequest & WithNewPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String