AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GreenFleetProvisioningOption.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/GreenFleetProvisioningAction.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEDEPLOY_API GreenFleetProvisioningOption();
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const GreenFleetProvisioningAction& GetAction() const{ return m_action; }
50 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
51 inline void SetAction(const GreenFleetProvisioningAction& value) { m_actionHasBeenSet = true; m_action = value; }
52 inline void SetAction(GreenFleetProvisioningAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
54 inline GreenFleetProvisioningOption& WithAction(GreenFleetProvisioningAction&& value) { SetAction(std::move(value)); return *this;}
56 private:
57
59 bool m_actionHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CodeDeploy
64} // namespace Aws
AWS_CODEDEPLOY_API GreenFleetProvisioningOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API GreenFleetProvisioningOption(Aws::Utils::Json::JsonView jsonValue)
const GreenFleetProvisioningAction & GetAction() const
void SetAction(const GreenFleetProvisioningAction &value)
GreenFleetProvisioningOption & WithAction(const GreenFleetProvisioningAction &value)
GreenFleetProvisioningOption & WithAction(GreenFleetProvisioningAction &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue