AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LinkConfiguration.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/oam/model/LogGroupConfiguration.h>
9#include <aws/oam/model/MetricConfiguration.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 OAM
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_OAM_API LinkConfiguration();
41
42
44
48 inline const LogGroupConfiguration& GetLogGroupConfiguration() const{ return m_logGroupConfiguration; }
49 inline bool LogGroupConfigurationHasBeenSet() const { return m_logGroupConfigurationHasBeenSet; }
50 inline void SetLogGroupConfiguration(const LogGroupConfiguration& value) { m_logGroupConfigurationHasBeenSet = true; m_logGroupConfiguration = value; }
51 inline void SetLogGroupConfiguration(LogGroupConfiguration&& value) { m_logGroupConfigurationHasBeenSet = true; m_logGroupConfiguration = std::move(value); }
55
57
61 inline const MetricConfiguration& GetMetricConfiguration() const{ return m_metricConfiguration; }
62 inline bool MetricConfigurationHasBeenSet() const { return m_metricConfigurationHasBeenSet; }
63 inline void SetMetricConfiguration(const MetricConfiguration& value) { m_metricConfigurationHasBeenSet = true; m_metricConfiguration = value; }
64 inline void SetMetricConfiguration(MetricConfiguration&& value) { m_metricConfigurationHasBeenSet = true; m_metricConfiguration = std::move(value); }
66 inline LinkConfiguration& WithMetricConfiguration(MetricConfiguration&& value) { SetMetricConfiguration(std::move(value)); return *this;}
68 private:
69
70 LogGroupConfiguration m_logGroupConfiguration;
71 bool m_logGroupConfigurationHasBeenSet = false;
72
73 MetricConfiguration m_metricConfiguration;
74 bool m_metricConfigurationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace OAM
79} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue