AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MaintenanceWindowTaskInvocationParameters.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/MaintenanceWindowAutomationParameters.h>
9#include <aws/ssm/model/MaintenanceWindowLambdaParameters.h>
10#include <aws/ssm/model/MaintenanceWindowRunCommandParameters.h>
11#include <aws/ssm/model/MaintenanceWindowStepFunctionsParameters.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM {
23namespace Model {
24
31 public:
36
38
41 inline const MaintenanceWindowRunCommandParameters& GetRunCommand() const { return m_runCommand; }
42 inline bool RunCommandHasBeenSet() const { return m_runCommandHasBeenSet; }
43 template <typename RunCommandT = MaintenanceWindowRunCommandParameters>
44 void SetRunCommand(RunCommandT&& value) {
45 m_runCommandHasBeenSet = true;
46 m_runCommand = std::forward<RunCommandT>(value);
47 }
48 template <typename RunCommandT = MaintenanceWindowRunCommandParameters>
50 SetRunCommand(std::forward<RunCommandT>(value));
51 return *this;
52 }
54
56
59 inline const MaintenanceWindowAutomationParameters& GetAutomation() const { return m_automation; }
60 inline bool AutomationHasBeenSet() const { return m_automationHasBeenSet; }
61 template <typename AutomationT = MaintenanceWindowAutomationParameters>
62 void SetAutomation(AutomationT&& value) {
63 m_automationHasBeenSet = true;
64 m_automation = std::forward<AutomationT>(value);
65 }
66 template <typename AutomationT = MaintenanceWindowAutomationParameters>
68 SetAutomation(std::forward<AutomationT>(value));
69 return *this;
70 }
72
74
77 inline const MaintenanceWindowStepFunctionsParameters& GetStepFunctions() const { return m_stepFunctions; }
78 inline bool StepFunctionsHasBeenSet() const { return m_stepFunctionsHasBeenSet; }
79 template <typename StepFunctionsT = MaintenanceWindowStepFunctionsParameters>
80 void SetStepFunctions(StepFunctionsT&& value) {
81 m_stepFunctionsHasBeenSet = true;
82 m_stepFunctions = std::forward<StepFunctionsT>(value);
83 }
84 template <typename StepFunctionsT = MaintenanceWindowStepFunctionsParameters>
86 SetStepFunctions(std::forward<StepFunctionsT>(value));
87 return *this;
88 }
90
92
95 inline const MaintenanceWindowLambdaParameters& GetLambda() const { return m_lambda; }
96 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
97 template <typename LambdaT = MaintenanceWindowLambdaParameters>
98 void SetLambda(LambdaT&& value) {
99 m_lambdaHasBeenSet = true;
100 m_lambda = std::forward<LambdaT>(value);
101 }
102 template <typename LambdaT = MaintenanceWindowLambdaParameters>
104 SetLambda(std::forward<LambdaT>(value));
105 return *this;
106 }
108 private:
110
112
114
116 bool m_runCommandHasBeenSet = false;
117 bool m_automationHasBeenSet = false;
118 bool m_stepFunctionsHasBeenSet = false;
119 bool m_lambdaHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SSM
124} // namespace Aws
AWS_SSM_API MaintenanceWindowTaskInvocationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowTaskInvocationParameters & WithRunCommand(RunCommandT &&value)
MaintenanceWindowTaskInvocationParameters & WithLambda(LambdaT &&value)
MaintenanceWindowTaskInvocationParameters & WithAutomation(AutomationT &&value)
AWS_SSM_API MaintenanceWindowTaskInvocationParameters(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowTaskInvocationParameters & WithStepFunctions(StepFunctionsT &&value)
const MaintenanceWindowStepFunctionsParameters & GetStepFunctions() const
Aws::Utils::Json::JsonValue JsonValue