AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeploymentReadyOption.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentReadyAction.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 DeploymentReadyOption() = default;
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
53 inline DeploymentReadyAction GetActionOnTimeout() const { return m_actionOnTimeout; }
54 inline bool ActionOnTimeoutHasBeenSet() const { return m_actionOnTimeoutHasBeenSet; }
55 inline void SetActionOnTimeout(DeploymentReadyAction value) { m_actionOnTimeoutHasBeenSet = true; m_actionOnTimeout = value; }
58
60
65 inline int GetWaitTimeInMinutes() const { return m_waitTimeInMinutes; }
66 inline bool WaitTimeInMinutesHasBeenSet() const { return m_waitTimeInMinutesHasBeenSet; }
67 inline void SetWaitTimeInMinutes(int value) { m_waitTimeInMinutesHasBeenSet = true; m_waitTimeInMinutes = value; }
68 inline DeploymentReadyOption& WithWaitTimeInMinutes(int value) { SetWaitTimeInMinutes(value); return *this;}
70 private:
71
73 bool m_actionOnTimeoutHasBeenSet = false;
74
75 int m_waitTimeInMinutes{0};
76 bool m_waitTimeInMinutesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CodeDeploy
81} // namespace Aws
AWS_CODEDEPLOY_API DeploymentReadyOption & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentReadyOption & WithWaitTimeInMinutes(int value)
AWS_CODEDEPLOY_API DeploymentReadyOption(Aws::Utils::Json::JsonView jsonValue)
void SetActionOnTimeout(DeploymentReadyAction value)
AWS_CODEDEPLOY_API DeploymentReadyOption()=default
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentReadyOption & WithActionOnTimeout(DeploymentReadyAction value)
Aws::Utils::Json::JsonValue JsonValue