AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 DeploymentComponentUpdatePolicyAction GetAction() const { return m_action; }
76 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
77 inline void SetAction(DeploymentComponentUpdatePolicyAction value) { m_actionHasBeenSet = true; m_action = value; }
80 private:
81
82 int m_timeoutInSeconds{0};
83 bool m_timeoutInSecondsHasBeenSet = false;
84
86 bool m_actionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GreengrassV2
91} // 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)
AWS_GREENGRASSV2_API DeploymentComponentUpdatePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetAction(DeploymentComponentUpdatePolicyAction value)
AWS_GREENGRASSV2_API DeploymentComponentUpdatePolicy()=default
Aws::Utils::Json::JsonValue JsonValue