AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowTaskInvocationParameters.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/MaintenanceWindowRunCommandParameters.h>
9#include <aws/ssm/model/MaintenanceWindowAutomationParameters.h>
10#include <aws/ssm/model/MaintenanceWindowStepFunctionsParameters.h>
11#include <aws/ssm/model/MaintenanceWindowLambdaParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SSM
25{
26namespace Model
27{
28
35 {
36 public:
41
42
44
47 inline const MaintenanceWindowRunCommandParameters& GetRunCommand() const{ return m_runCommand; }
48 inline bool RunCommandHasBeenSet() const { return m_runCommandHasBeenSet; }
49 inline void SetRunCommand(const MaintenanceWindowRunCommandParameters& value) { m_runCommandHasBeenSet = true; m_runCommand = value; }
50 inline void SetRunCommand(MaintenanceWindowRunCommandParameters&& value) { m_runCommandHasBeenSet = true; m_runCommand = std::move(value); }
54
56
59 inline const MaintenanceWindowAutomationParameters& GetAutomation() const{ return m_automation; }
60 inline bool AutomationHasBeenSet() const { return m_automationHasBeenSet; }
61 inline void SetAutomation(const MaintenanceWindowAutomationParameters& value) { m_automationHasBeenSet = true; m_automation = value; }
62 inline void SetAutomation(MaintenanceWindowAutomationParameters&& value) { m_automationHasBeenSet = true; m_automation = std::move(value); }
66
68
71 inline const MaintenanceWindowStepFunctionsParameters& GetStepFunctions() const{ return m_stepFunctions; }
72 inline bool StepFunctionsHasBeenSet() const { return m_stepFunctionsHasBeenSet; }
73 inline void SetStepFunctions(const MaintenanceWindowStepFunctionsParameters& value) { m_stepFunctionsHasBeenSet = true; m_stepFunctions = value; }
74 inline void SetStepFunctions(MaintenanceWindowStepFunctionsParameters&& value) { m_stepFunctionsHasBeenSet = true; m_stepFunctions = std::move(value); }
78
80
83 inline const MaintenanceWindowLambdaParameters& GetLambda() const{ return m_lambda; }
84 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
85 inline void SetLambda(const MaintenanceWindowLambdaParameters& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
86 inline void SetLambda(MaintenanceWindowLambdaParameters&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); }
90 private:
91
93 bool m_runCommandHasBeenSet = false;
94
96 bool m_automationHasBeenSet = false;
97
99 bool m_stepFunctionsHasBeenSet = false;
100
102 bool m_lambdaHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SSM
107} // namespace Aws
AWS_SSM_API MaintenanceWindowTaskInvocationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowTaskInvocationParameters & WithRunCommand(const MaintenanceWindowRunCommandParameters &value)
MaintenanceWindowTaskInvocationParameters & WithStepFunctions(MaintenanceWindowStepFunctionsParameters &&value)
MaintenanceWindowTaskInvocationParameters & WithStepFunctions(const MaintenanceWindowStepFunctionsParameters &value)
void SetStepFunctions(const MaintenanceWindowStepFunctionsParameters &value)
MaintenanceWindowTaskInvocationParameters & WithLambda(MaintenanceWindowLambdaParameters &&value)
void SetStepFunctions(MaintenanceWindowStepFunctionsParameters &&value)
void SetRunCommand(const MaintenanceWindowRunCommandParameters &value)
void SetAutomation(const MaintenanceWindowAutomationParameters &value)
MaintenanceWindowTaskInvocationParameters & WithAutomation(const MaintenanceWindowAutomationParameters &value)
MaintenanceWindowTaskInvocationParameters & WithLambda(const MaintenanceWindowLambdaParameters &value)
MaintenanceWindowTaskInvocationParameters & WithRunCommand(MaintenanceWindowRunCommandParameters &&value)
MaintenanceWindowTaskInvocationParameters & WithAutomation(MaintenanceWindowAutomationParameters &&value)
AWS_SSM_API MaintenanceWindowTaskInvocationParameters(Aws::Utils::Json::JsonView jsonValue)
const MaintenanceWindowStepFunctionsParameters & GetStepFunctions() const
Aws::Utils::Json::JsonValue JsonValue