AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
53 inline const DeploymentReadyAction& GetActionOnTimeout() const{ return m_actionOnTimeout; }
54 inline bool ActionOnTimeoutHasBeenSet() const { return m_actionOnTimeoutHasBeenSet; }
55 inline void SetActionOnTimeout(const DeploymentReadyAction& value) { m_actionOnTimeoutHasBeenSet = true; m_actionOnTimeout = value; }
56 inline void SetActionOnTimeout(DeploymentReadyAction&& value) { m_actionOnTimeoutHasBeenSet = true; m_actionOnTimeout = std::move(value); }
58 inline DeploymentReadyOption& WithActionOnTimeout(DeploymentReadyAction&& value) { SetActionOnTimeout(std::move(value)); return *this;}
60
62
67 inline int GetWaitTimeInMinutes() const{ return m_waitTimeInMinutes; }
68 inline bool WaitTimeInMinutesHasBeenSet() const { return m_waitTimeInMinutesHasBeenSet; }
69 inline void SetWaitTimeInMinutes(int value) { m_waitTimeInMinutesHasBeenSet = true; m_waitTimeInMinutes = value; }
70 inline DeploymentReadyOption& WithWaitTimeInMinutes(int value) { SetWaitTimeInMinutes(value); return *this;}
72 private:
73
74 DeploymentReadyAction m_actionOnTimeout;
75 bool m_actionOnTimeoutHasBeenSet = false;
76
77 int m_waitTimeInMinutes;
78 bool m_waitTimeInMinutesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CodeDeploy
83} // namespace Aws
void SetActionOnTimeout(DeploymentReadyAction &&value)
AWS_CODEDEPLOY_API DeploymentReadyOption & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentReadyOption & WithActionOnTimeout(DeploymentReadyAction &&value)
DeploymentReadyOption & WithWaitTimeInMinutes(int value)
AWS_CODEDEPLOY_API DeploymentReadyOption(Aws::Utils::Json::JsonView jsonValue)
DeploymentReadyOption & WithActionOnTimeout(const DeploymentReadyAction &value)
void SetActionOnTimeout(const DeploymentReadyAction &value)
const DeploymentReadyAction & GetActionOnTimeout() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue