AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentComponentUpdatePolicy.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/DeploymentComponentUpdatePolicyAction.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 GreengrassV2
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_GREENGRASSV2_API DeploymentComponentUpdatePolicy();
43 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
53 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
54 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
57
59
75 inline const DeploymentComponentUpdatePolicyAction& GetAction() const{ return m_action; }
76 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
77 inline void SetAction(const DeploymentComponentUpdatePolicyAction& value) { m_actionHasBeenSet = true; m_action = value; }
78 inline void SetAction(DeploymentComponentUpdatePolicyAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
82 private:
83
84 int m_timeoutInSeconds;
85 bool m_timeoutInSecondsHasBeenSet = false;
86
88 bool m_actionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GreengrassV2
93} // namespace Aws
DeploymentComponentUpdatePolicy & WithAction(DeploymentComponentUpdatePolicyAction &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API DeploymentComponentUpdatePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const DeploymentComponentUpdatePolicyAction & GetAction() const
void SetAction(const DeploymentComponentUpdatePolicyAction &value)
void SetAction(DeploymentComponentUpdatePolicyAction &&value)
AWS_GREENGRASSV2_API DeploymentComponentUpdatePolicy(Aws::Utils::Json::JsonView jsonValue)
DeploymentComponentUpdatePolicy & WithAction(const DeploymentComponentUpdatePolicyAction &value)
Aws::Utils::Json::JsonValue JsonValue