AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/model/AmpConfiguration.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 PrometheusService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PROMETHEUSSERVICE_API Destination();
35 AWS_PROMETHEUSSERVICE_API Destination(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PROMETHEUSSERVICE_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const AmpConfiguration& GetAmpConfiguration() const{ return m_ampConfiguration; }
45 inline bool AmpConfigurationHasBeenSet() const { return m_ampConfigurationHasBeenSet; }
46 inline void SetAmpConfiguration(const AmpConfiguration& value) { m_ampConfigurationHasBeenSet = true; m_ampConfiguration = value; }
47 inline void SetAmpConfiguration(AmpConfiguration&& value) { m_ampConfigurationHasBeenSet = true; m_ampConfiguration = std::move(value); }
48 inline Destination& WithAmpConfiguration(const AmpConfiguration& value) { SetAmpConfiguration(value); return *this;}
49 inline Destination& WithAmpConfiguration(AmpConfiguration&& value) { SetAmpConfiguration(std::move(value)); return *this;}
51 private:
52
53 AmpConfiguration m_ampConfiguration;
54 bool m_ampConfigurationHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace PrometheusService
59} // namespace Aws
const AmpConfiguration & GetAmpConfiguration() const
Definition Destination.h:44
AWS_PROMETHEUSSERVICE_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API Destination()
Destination & WithAmpConfiguration(const AmpConfiguration &value)
Definition Destination.h:48
void SetAmpConfiguration(AmpConfiguration &&value)
Definition Destination.h:47
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Destination & WithAmpConfiguration(AmpConfiguration &&value)
Definition Destination.h:49
void SetAmpConfiguration(const AmpConfiguration &value)
Definition Destination.h:46
Aws::Utils::Json::JsonValue JsonValue