AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeDeploy {
20namespace Model {
21
29 public:
30 AWS_CODEDEPLOY_API DeploymentReadyOption() = default;
33 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
47 inline DeploymentReadyAction GetActionOnTimeout() const { return m_actionOnTimeout; }
48 inline bool ActionOnTimeoutHasBeenSet() const { return m_actionOnTimeoutHasBeenSet; }
50 m_actionOnTimeoutHasBeenSet = true;
51 m_actionOnTimeout = value;
52 }
54 SetActionOnTimeout(value);
55 return *this;
56 }
58
60
65 inline int GetWaitTimeInMinutes() const { return m_waitTimeInMinutes; }
66 inline bool WaitTimeInMinutesHasBeenSet() const { return m_waitTimeInMinutesHasBeenSet; }
67 inline void SetWaitTimeInMinutes(int value) {
68 m_waitTimeInMinutesHasBeenSet = true;
69 m_waitTimeInMinutes = value;
70 }
73 return *this;
74 }
76 private:
78
79 int m_waitTimeInMinutes{0};
80 bool m_actionOnTimeoutHasBeenSet = false;
81 bool m_waitTimeInMinutesHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CodeDeploy
86} // 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