AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCertificateFromCsrRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoT
19{
20namespace Model
21{
22
30 {
31 public:
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateCertificateFromCsr"; }
39
40 AWS_IOT_API Aws::String SerializePayload() const override;
41
42 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetCertificateSigningRequest() const{ return m_certificateSigningRequest; }
50 inline bool CertificateSigningRequestHasBeenSet() const { return m_certificateSigningRequestHasBeenSet; }
51 inline void SetCertificateSigningRequest(const Aws::String& value) { m_certificateSigningRequestHasBeenSet = true; m_certificateSigningRequest = value; }
52 inline void SetCertificateSigningRequest(Aws::String&& value) { m_certificateSigningRequestHasBeenSet = true; m_certificateSigningRequest = std::move(value); }
53 inline void SetCertificateSigningRequest(const char* value) { m_certificateSigningRequestHasBeenSet = true; m_certificateSigningRequest.assign(value); }
58
60
63 inline bool GetSetAsActive() const{ return m_setAsActive; }
64 inline bool SetAsActiveHasBeenSet() const { return m_setAsActiveHasBeenSet; }
65 inline void SetSetAsActive(bool value) { m_setAsActiveHasBeenSet = true; m_setAsActive = value; }
66 inline CreateCertificateFromCsrRequest& WithSetAsActive(bool value) { SetSetAsActive(value); return *this;}
68 private:
69
70 Aws::String m_certificateSigningRequest;
71 bool m_certificateSigningRequestHasBeenSet = false;
72
73 bool m_setAsActive;
74 bool m_setAsActiveHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
CreateCertificateFromCsrRequest & WithCertificateSigningRequest(Aws::String &&value)
CreateCertificateFromCsrRequest & WithCertificateSigningRequest(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateCertificateFromCsrRequest & WithCertificateSigningRequest(const Aws::String &value)
CreateCertificateFromCsrRequest & WithSetAsActive(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String