AWS SDK for C++  1.9.125
AWS SDK for C++
UpdateDeviceCertificateParams.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const DeviceCertificateUpdateAction& GetAction() const{ return m_action; }
46 
51  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
52 
57  inline void SetAction(const DeviceCertificateUpdateAction& value) { m_actionHasBeenSet = true; m_action = value; }
58 
63  inline void SetAction(DeviceCertificateUpdateAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
64 
69  inline UpdateDeviceCertificateParams& WithAction(const DeviceCertificateUpdateAction& value) { SetAction(value); return *this;}
70 
75  inline UpdateDeviceCertificateParams& WithAction(DeviceCertificateUpdateAction&& value) { SetAction(std::move(value)); return *this;}
76 
77  private:
78 
80  bool m_actionHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace IoT
85 } // namespace Aws
Aws::IoT::Model::UpdateDeviceCertificateParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::UpdateDeviceCertificateParams::UpdateDeviceCertificateParams
UpdateDeviceCertificateParams(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::UpdateDeviceCertificateParams::UpdateDeviceCertificateParams
UpdateDeviceCertificateParams()
Aws::IoT::Model::UpdateDeviceCertificateParams
Definition: UpdateDeviceCertificateParams.h:33
Aws::IoT::Model::DeviceCertificateUpdateAction
DeviceCertificateUpdateAction
Definition: DeviceCertificateUpdateAction.h:17
DeviceCertificateUpdateAction.h
Aws::IoT::Model::UpdateDeviceCertificateParams::GetAction
const DeviceCertificateUpdateAction & GetAction() const
Definition: UpdateDeviceCertificateParams.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::UpdateDeviceCertificateParams::SetAction
void SetAction(DeviceCertificateUpdateAction &&value)
Definition: UpdateDeviceCertificateParams.h:63
Aws::IoT::Model::UpdateDeviceCertificateParams::SetAction
void SetAction(const DeviceCertificateUpdateAction &value)
Definition: UpdateDeviceCertificateParams.h:57
Aws::IoT::Model::UpdateDeviceCertificateParams::WithAction
UpdateDeviceCertificateParams & WithAction(DeviceCertificateUpdateAction &&value)
Definition: UpdateDeviceCertificateParams.h:75
Aws::IoT::Model::UpdateDeviceCertificateParams::WithAction
UpdateDeviceCertificateParams & WithAction(const DeviceCertificateUpdateAction &value)
Definition: UpdateDeviceCertificateParams.h:69
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::UpdateDeviceCertificateParams::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: UpdateDeviceCertificateParams.h:51
Aws::IoT::Model::UpdateDeviceCertificateParams::operator=
UpdateDeviceCertificateParams & operator=(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h