AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentIoTJobConfiguration.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/IoTJobExecutionsRolloutConfig.h>
9#include <aws/greengrassv2/model/IoTJobAbortConfig.h>
10#include <aws/greengrassv2/model/IoTJobTimeoutConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GreengrassV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GREENGRASSV2_API DeploymentIoTJobConfiguration();
40 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const IoTJobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
49 inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
50 inline void SetJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = value; }
51 inline void SetJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = std::move(value); }
55
57
61 inline const IoTJobAbortConfig& GetAbortConfig() const{ return m_abortConfig; }
62 inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
63 inline void SetAbortConfig(const IoTJobAbortConfig& value) { m_abortConfigHasBeenSet = true; m_abortConfig = value; }
64 inline void SetAbortConfig(IoTJobAbortConfig&& value) { m_abortConfigHasBeenSet = true; m_abortConfig = std::move(value); }
66 inline DeploymentIoTJobConfiguration& WithAbortConfig(IoTJobAbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
68
70
74 inline const IoTJobTimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
75 inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
76 inline void SetTimeoutConfig(const IoTJobTimeoutConfig& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = value; }
77 inline void SetTimeoutConfig(IoTJobTimeoutConfig&& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = std::move(value); }
79 inline DeploymentIoTJobConfiguration& WithTimeoutConfig(IoTJobTimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
81 private:
82
83 IoTJobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
84 bool m_jobExecutionsRolloutConfigHasBeenSet = false;
85
86 IoTJobAbortConfig m_abortConfig;
87 bool m_abortConfigHasBeenSet = false;
88
89 IoTJobTimeoutConfig m_timeoutConfig;
90 bool m_timeoutConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GreengrassV2
95} // namespace Aws
AWS_GREENGRASSV2_API DeploymentIoTJobConfiguration(Aws::Utils::Json::JsonView jsonValue)
DeploymentIoTJobConfiguration & WithTimeoutConfig(const IoTJobTimeoutConfig &value)
void SetJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig &&value)
DeploymentIoTJobConfiguration & WithTimeoutConfig(IoTJobTimeoutConfig &&value)
const IoTJobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
AWS_GREENGRASSV2_API DeploymentIoTJobConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentIoTJobConfiguration & WithJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig &&value)
DeploymentIoTJobConfiguration & WithJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig &value)
void SetJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig &value)
DeploymentIoTJobConfiguration & WithAbortConfig(const IoTJobAbortConfig &value)
DeploymentIoTJobConfiguration & WithAbortConfig(IoTJobAbortConfig &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue