AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCACertificateRequest.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 <aws/iot/model/CACertificateStatus.h>
11#include <aws/iot/model/AutoRegistrationStatus.h>
12#include <aws/iot/model/RegistrationConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "UpdateCACertificate"; }
41
42 AWS_IOT_API Aws::String SerializePayload() const override;
43
44 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
51 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
52 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
53 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
54 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
55 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
56 inline UpdateCACertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
57 inline UpdateCACertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
58 inline UpdateCACertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
60
62
66 inline const CACertificateStatus& GetNewStatus() const{ return m_newStatus; }
67 inline bool NewStatusHasBeenSet() const { return m_newStatusHasBeenSet; }
68 inline void SetNewStatus(const CACertificateStatus& value) { m_newStatusHasBeenSet = true; m_newStatus = value; }
69 inline void SetNewStatus(CACertificateStatus&& value) { m_newStatusHasBeenSet = true; m_newStatus = std::move(value); }
70 inline UpdateCACertificateRequest& WithNewStatus(const CACertificateStatus& value) { SetNewStatus(value); return *this;}
71 inline UpdateCACertificateRequest& WithNewStatus(CACertificateStatus&& value) { SetNewStatus(std::move(value)); return *this;}
73
75
79 inline const AutoRegistrationStatus& GetNewAutoRegistrationStatus() const{ return m_newAutoRegistrationStatus; }
80 inline bool NewAutoRegistrationStatusHasBeenSet() const { return m_newAutoRegistrationStatusHasBeenSet; }
81 inline void SetNewAutoRegistrationStatus(const AutoRegistrationStatus& value) { m_newAutoRegistrationStatusHasBeenSet = true; m_newAutoRegistrationStatus = value; }
82 inline void SetNewAutoRegistrationStatus(AutoRegistrationStatus&& value) { m_newAutoRegistrationStatusHasBeenSet = true; m_newAutoRegistrationStatus = std::move(value); }
86
88
91 inline const RegistrationConfig& GetRegistrationConfig() const{ return m_registrationConfig; }
92 inline bool RegistrationConfigHasBeenSet() const { return m_registrationConfigHasBeenSet; }
93 inline void SetRegistrationConfig(const RegistrationConfig& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = value; }
94 inline void SetRegistrationConfig(RegistrationConfig&& value) { m_registrationConfigHasBeenSet = true; m_registrationConfig = std::move(value); }
98
100
103 inline bool GetRemoveAutoRegistration() const{ return m_removeAutoRegistration; }
104 inline bool RemoveAutoRegistrationHasBeenSet() const { return m_removeAutoRegistrationHasBeenSet; }
105 inline void SetRemoveAutoRegistration(bool value) { m_removeAutoRegistrationHasBeenSet = true; m_removeAutoRegistration = value; }
108 private:
109
110 Aws::String m_certificateId;
111 bool m_certificateIdHasBeenSet = false;
112
113 CACertificateStatus m_newStatus;
114 bool m_newStatusHasBeenSet = false;
115
116 AutoRegistrationStatus m_newAutoRegistrationStatus;
117 bool m_newAutoRegistrationStatusHasBeenSet = false;
118
119 RegistrationConfig m_registrationConfig;
120 bool m_registrationConfigHasBeenSet = false;
121
122 bool m_removeAutoRegistration;
123 bool m_removeAutoRegistrationHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoT
128} // namespace Aws
void SetNewAutoRegistrationStatus(const AutoRegistrationStatus &value)
virtual const char * GetServiceRequestName() const override
UpdateCACertificateRequest & WithCertificateId(Aws::String &&value)
UpdateCACertificateRequest & WithNewStatus(CACertificateStatus &&value)
void SetNewStatus(const CACertificateStatus &value)
UpdateCACertificateRequest & WithRegistrationConfig(const RegistrationConfig &value)
UpdateCACertificateRequest & WithNewStatus(const CACertificateStatus &value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateCACertificateRequest & WithRegistrationConfig(RegistrationConfig &&value)
void SetNewAutoRegistrationStatus(AutoRegistrationStatus &&value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdateCACertificateRequest & WithCertificateId(const char *value)
UpdateCACertificateRequest & WithNewAutoRegistrationStatus(AutoRegistrationStatus &&value)
const CACertificateStatus & GetNewStatus() const
const AutoRegistrationStatus & GetNewAutoRegistrationStatus() const
void SetRegistrationConfig(const RegistrationConfig &value)
void SetRegistrationConfig(RegistrationConfig &&value)
UpdateCACertificateRequest & WithNewAutoRegistrationStatus(const AutoRegistrationStatus &value)
const RegistrationConfig & GetRegistrationConfig() const
UpdateCACertificateRequest & WithCertificateId(const Aws::String &value)
UpdateCACertificateRequest & WithRemoveAutoRegistration(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String