AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateCACertificateParams.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 CACertificateUpdateAction& GetAction() const{ return m_action; }
46 
51  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
52 
57  inline void SetAction(const CACertificateUpdateAction& value) { m_actionHasBeenSet = true; m_action = value; }
58 
63  inline void SetAction(CACertificateUpdateAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
64 
69  inline UpdateCACertificateParams& WithAction(const CACertificateUpdateAction& value) { SetAction(value); return *this;}
70 
75  inline UpdateCACertificateParams& WithAction(CACertificateUpdateAction&& 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::UpdateCACertificateParams::GetAction
const CACertificateUpdateAction & GetAction() const
Definition: UpdateCACertificateParams.h:45
Aws::IoT::Model::UpdateCACertificateParams::UpdateCACertificateParams
UpdateCACertificateParams()
Aws::IoT::Model::UpdateCACertificateParams::SetAction
void SetAction(const CACertificateUpdateAction &value)
Definition: UpdateCACertificateParams.h:57
Aws::IoT::Model::UpdateCACertificateParams
Definition: UpdateCACertificateParams.h:33
Aws::IoT::Model::UpdateCACertificateParams::UpdateCACertificateParams
UpdateCACertificateParams(Aws::Utils::Json::JsonView jsonValue)
CACertificateUpdateAction.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::UpdateCACertificateParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::CACertificateUpdateAction
CACertificateUpdateAction
Definition: CACertificateUpdateAction.h:17
Aws::IoT::Model::UpdateCACertificateParams::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: UpdateCACertificateParams.h:51
Aws::IoT::Model::UpdateCACertificateParams::WithAction
UpdateCACertificateParams & WithAction(CACertificateUpdateAction &&value)
Definition: UpdateCACertificateParams.h:75
Aws::IoT::Model::UpdateCACertificateParams::operator=
UpdateCACertificateParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::UpdateCACertificateParams::SetAction
void SetAction(CACertificateUpdateAction &&value)
Definition: UpdateCACertificateParams.h:63
IoT_EXPORTS.h
Aws::IoT::Model::UpdateCACertificateParams::WithAction
UpdateCACertificateParams & WithAction(const CACertificateUpdateAction &value)
Definition: UpdateCACertificateParams.h:69