AWS SDK for C++  1.9.108
AWS SDK for C++
DeploymentIoTJobConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GreengrassV2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const IoTJobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
48 
53  inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
54 
59  inline void SetJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = value; }
60 
65  inline void SetJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = std::move(value); }
66 
71  inline DeploymentIoTJobConfiguration& WithJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig& value) { SetJobExecutionsRolloutConfig(value); return *this;}
72 
77  inline DeploymentIoTJobConfiguration& WithJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig&& value) { SetJobExecutionsRolloutConfig(std::move(value)); return *this;}
78 
79 
84  inline const IoTJobAbortConfig& GetAbortConfig() const{ return m_abortConfig; }
85 
90  inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
91 
96  inline void SetAbortConfig(const IoTJobAbortConfig& value) { m_abortConfigHasBeenSet = true; m_abortConfig = value; }
97 
102  inline void SetAbortConfig(IoTJobAbortConfig&& value) { m_abortConfigHasBeenSet = true; m_abortConfig = std::move(value); }
103 
108  inline DeploymentIoTJobConfiguration& WithAbortConfig(const IoTJobAbortConfig& value) { SetAbortConfig(value); return *this;}
109 
114  inline DeploymentIoTJobConfiguration& WithAbortConfig(IoTJobAbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
115 
116 
121  inline const IoTJobTimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
122 
127  inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
128 
133  inline void SetTimeoutConfig(const IoTJobTimeoutConfig& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = value; }
134 
139  inline void SetTimeoutConfig(IoTJobTimeoutConfig&& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = std::move(value); }
140 
145  inline DeploymentIoTJobConfiguration& WithTimeoutConfig(const IoTJobTimeoutConfig& value) { SetTimeoutConfig(value); return *this;}
146 
151  inline DeploymentIoTJobConfiguration& WithTimeoutConfig(IoTJobTimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
152 
153  private:
154 
155  IoTJobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
156  bool m_jobExecutionsRolloutConfigHasBeenSet;
157 
158  IoTJobAbortConfig m_abortConfig;
159  bool m_abortConfigHasBeenSet;
160 
161  IoTJobTimeoutConfig m_timeoutConfig;
162  bool m_timeoutConfigHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace GreengrassV2
167 } // namespace Aws
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::GetJobExecutionsRolloutConfig
const IoTJobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition: DeploymentIoTJobConfiguration.h:47
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithAbortConfig
DeploymentIoTJobConfiguration & WithAbortConfig(IoTJobAbortConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:114
Aws::GreengrassV2::Model::IoTJobAbortConfig
Definition: IoTJobAbortConfig.h:34
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetAbortConfig
void SetAbortConfig(IoTJobAbortConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:102
Aws::GreengrassV2::Model::IoTJobTimeoutConfig
Definition: IoTJobTimeoutConfig.h:31
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::operator=
DeploymentIoTJobConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithTimeoutConfig
DeploymentIoTJobConfiguration & WithTimeoutConfig(IoTJobTimeoutConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:151
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithTimeoutConfig
DeploymentIoTJobConfiguration & WithTimeoutConfig(const IoTJobTimeoutConfig &value)
Definition: DeploymentIoTJobConfiguration.h:145
IoTJobTimeoutConfig.h
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithAbortConfig
DeploymentIoTJobConfiguration & WithAbortConfig(const IoTJobAbortConfig &value)
Definition: DeploymentIoTJobConfiguration.h:108
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::DeploymentIoTJobConfiguration
DeploymentIoTJobConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::GetTimeoutConfig
const IoTJobTimeoutConfig & GetTimeoutConfig() const
Definition: DeploymentIoTJobConfiguration.h:121
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig &value)
Definition: DeploymentIoTJobConfiguration.h:59
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetAbortConfig
void SetAbortConfig(const IoTJobAbortConfig &value)
Definition: DeploymentIoTJobConfiguration.h:96
IoTJobAbortConfig.h
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::TimeoutConfigHasBeenSet
bool TimeoutConfigHasBeenSet() const
Definition: DeploymentIoTJobConfiguration.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration
Definition: DeploymentIoTJobConfiguration.h:35
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::JobExecutionsRolloutConfigHasBeenSet
bool JobExecutionsRolloutConfigHasBeenSet() const
Definition: DeploymentIoTJobConfiguration.h:53
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::AbortConfigHasBeenSet
bool AbortConfigHasBeenSet() const
Definition: DeploymentIoTJobConfiguration.h:90
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetJobExecutionsRolloutConfig
void SetJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:65
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::GetAbortConfig
const IoTJobAbortConfig & GetAbortConfig() const
Definition: DeploymentIoTJobConfiguration.h:84
IoTJobExecutionsRolloutConfig.h
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithJobExecutionsRolloutConfig
DeploymentIoTJobConfiguration & WithJobExecutionsRolloutConfig(const IoTJobExecutionsRolloutConfig &value)
Definition: DeploymentIoTJobConfiguration.h:71
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetTimeoutConfig
void SetTimeoutConfig(const IoTJobTimeoutConfig &value)
Definition: DeploymentIoTJobConfiguration.h:133
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::WithJobExecutionsRolloutConfig
DeploymentIoTJobConfiguration & WithJobExecutionsRolloutConfig(IoTJobExecutionsRolloutConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:77
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::SetTimeoutConfig
void SetTimeoutConfig(IoTJobTimeoutConfig &&value)
Definition: DeploymentIoTJobConfiguration.h:139
Aws::GreengrassV2::Model::IoTJobExecutionsRolloutConfig
Definition: IoTJobExecutionsRolloutConfig.h:34
Aws::GreengrassV2::Model::DeploymentIoTJobConfiguration::DeploymentIoTJobConfiguration
DeploymentIoTJobConfiguration()