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/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/SNSConfiguration.h>
9#include <aws/lookoutmetrics/model/LambdaConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LookoutMetrics
23{
24namespace Model
25{
26
33 class Action
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API Action();
37 AWS_LOOKOUTMETRICS_API Action(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Action& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SNSConfiguration& GetSNSConfiguration() const{ return m_sNSConfiguration; }
47 inline bool SNSConfigurationHasBeenSet() const { return m_sNSConfigurationHasBeenSet; }
48 inline void SetSNSConfiguration(const SNSConfiguration& value) { m_sNSConfigurationHasBeenSet = true; m_sNSConfiguration = value; }
49 inline void SetSNSConfiguration(SNSConfiguration&& value) { m_sNSConfigurationHasBeenSet = true; m_sNSConfiguration = std::move(value); }
50 inline Action& WithSNSConfiguration(const SNSConfiguration& value) { SetSNSConfiguration(value); return *this;}
51 inline Action& WithSNSConfiguration(SNSConfiguration&& value) { SetSNSConfiguration(std::move(value)); return *this;}
53
55
58 inline const LambdaConfiguration& GetLambdaConfiguration() const{ return m_lambdaConfiguration; }
59 inline bool LambdaConfigurationHasBeenSet() const { return m_lambdaConfigurationHasBeenSet; }
60 inline void SetLambdaConfiguration(const LambdaConfiguration& value) { m_lambdaConfigurationHasBeenSet = true; m_lambdaConfiguration = value; }
61 inline void SetLambdaConfiguration(LambdaConfiguration&& value) { m_lambdaConfigurationHasBeenSet = true; m_lambdaConfiguration = std::move(value); }
62 inline Action& WithLambdaConfiguration(const LambdaConfiguration& value) { SetLambdaConfiguration(value); return *this;}
63 inline Action& WithLambdaConfiguration(LambdaConfiguration&& value) { SetLambdaConfiguration(std::move(value)); return *this;}
65 private:
66
67 SNSConfiguration m_sNSConfiguration;
68 bool m_sNSConfigurationHasBeenSet = false;
69
70 LambdaConfiguration m_lambdaConfiguration;
71 bool m_lambdaConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LookoutMetrics
76} // namespace Aws
Action & WithSNSConfiguration(const SNSConfiguration &value)
Definition Action.h:50
AWS_LOOKOUTMETRICS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LambdaConfigurationHasBeenSet() const
Definition Action.h:59
Action & WithSNSConfiguration(SNSConfiguration &&value)
Definition Action.h:51
const SNSConfiguration & GetSNSConfiguration() const
Definition Action.h:46
AWS_LOOKOUTMETRICS_API Action()
bool SNSConfigurationHasBeenSet() const
Definition Action.h:47
Action & WithLambdaConfiguration(LambdaConfiguration &&value)
Definition Action.h:63
void SetSNSConfiguration(SNSConfiguration &&value)
Definition Action.h:49
void SetSNSConfiguration(const SNSConfiguration &value)
Definition Action.h:48
AWS_LOOKOUTMETRICS_API Action(Aws::Utils::Json::JsonView jsonValue)
Action & WithLambdaConfiguration(const LambdaConfiguration &value)
Definition Action.h:62
void SetLambdaConfiguration(const LambdaConfiguration &value)
Definition Action.h:60
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLambdaConfiguration(LambdaConfiguration &&value)
Definition Action.h:61
const LambdaConfiguration & GetLambdaConfiguration() const
Definition Action.h:58
Aws::Utils::Json::JsonValue JsonValue