AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CloudWatchConfig.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/BackTestConfiguration.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 {
34 public:
35 AWS_LOOKOUTMETRICS_API CloudWatchConfig() = default;
36 AWS_LOOKOUTMETRICS_API CloudWatchConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTMETRICS_API CloudWatchConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
47 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
48 template<typename RoleArnT = Aws::String>
49 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
50 template<typename RoleArnT = Aws::String>
51 CloudWatchConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
53
55
58 inline const BackTestConfiguration& GetBackTestConfiguration() const { return m_backTestConfiguration; }
59 inline bool BackTestConfigurationHasBeenSet() const { return m_backTestConfigurationHasBeenSet; }
60 template<typename BackTestConfigurationT = BackTestConfiguration>
61 void SetBackTestConfiguration(BackTestConfigurationT&& value) { m_backTestConfigurationHasBeenSet = true; m_backTestConfiguration = std::forward<BackTestConfigurationT>(value); }
62 template<typename BackTestConfigurationT = BackTestConfiguration>
63 CloudWatchConfig& WithBackTestConfiguration(BackTestConfigurationT&& value) { SetBackTestConfiguration(std::forward<BackTestConfigurationT>(value)); return *this;}
65 private:
66
67 Aws::String m_roleArn;
68 bool m_roleArnHasBeenSet = false;
69
70 BackTestConfiguration m_backTestConfiguration;
71 bool m_backTestConfigurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LookoutMetrics
76} // namespace Aws
CloudWatchConfig & WithRoleArn(RoleArnT &&value)
AWS_LOOKOUTMETRICS_API CloudWatchConfig()=default
CloudWatchConfig & WithBackTestConfiguration(BackTestConfigurationT &&value)
AWS_LOOKOUTMETRICS_API CloudWatchConfig(Aws::Utils::Json::JsonView jsonValue)
void SetBackTestConfiguration(BackTestConfigurationT &&value)
AWS_LOOKOUTMETRICS_API CloudWatchConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const BackTestConfiguration & GetBackTestConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue