AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Action.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/model/SsmAutomation.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 SSMIncidents
22{
23namespace Model
24{
25
32 class Action
33 {
34 public:
35 AWS_SSMINCIDENTS_API Action();
36 AWS_SSMINCIDENTS_API Action(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SSMINCIDENTS_API Action& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const SsmAutomation& GetSsmAutomation() const{ return m_ssmAutomation; }
47 inline bool SsmAutomationHasBeenSet() const { return m_ssmAutomationHasBeenSet; }
48 inline void SetSsmAutomation(const SsmAutomation& value) { m_ssmAutomationHasBeenSet = true; m_ssmAutomation = value; }
49 inline void SetSsmAutomation(SsmAutomation&& value) { m_ssmAutomationHasBeenSet = true; m_ssmAutomation = std::move(value); }
50 inline Action& WithSsmAutomation(const SsmAutomation& value) { SetSsmAutomation(value); return *this;}
51 inline Action& WithSsmAutomation(SsmAutomation&& value) { SetSsmAutomation(std::move(value)); return *this;}
53 private:
54
55 SsmAutomation m_ssmAutomation;
56 bool m_ssmAutomationHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SSMIncidents
61} // namespace Aws
Action & WithSsmAutomation(SsmAutomation &&value)
Definition Action.h:51
const SsmAutomation & GetSsmAutomation() const
Definition Action.h:46
Action & WithSsmAutomation(const SsmAutomation &value)
Definition Action.h:50
AWS_SSMINCIDENTS_API Action()
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SsmAutomationHasBeenSet() const
Definition Action.h:47
AWS_SSMINCIDENTS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSsmAutomation(SsmAutomation &&value)
Definition Action.h:49
AWS_SSMINCIDENTS_API Action(Aws::Utils::Json::JsonView jsonValue)
void SetSsmAutomation(const SsmAutomation &value)
Definition Action.h:48
Aws::Utils::Json::JsonValue JsonValue