AWS SDK for C++

AWS SDK for C++ Version 1.11.877

Loading...
Searching...
No Matches
InfluxDBDestinationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/InfluxDBSecretType.h>
10#include <aws/iot/model/InfluxDBVersion.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT {
22namespace Model {
23
31 public:
32 AWS_IOT_API InfluxDBDestinationConfiguration() = default;
36
38
41 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
42 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
43 template <typename EndpointT = Aws::String>
44 void SetEndpoint(EndpointT&& value) {
45 m_endpointHasBeenSet = true;
46 m_endpoint = std::forward<EndpointT>(value);
47 }
48 template <typename EndpointT = Aws::String>
50 SetEndpoint(std::forward<EndpointT>(value));
51 return *this;
52 }
54
56
60 inline InfluxDBVersion GetInfluxDBVersion() const { return m_influxDBVersion; }
61 inline bool InfluxDBVersionHasBeenSet() const { return m_influxDBVersionHasBeenSet; }
63 m_influxDBVersionHasBeenSet = true;
64 m_influxDBVersion = value;
65 }
67 SetInfluxDBVersion(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetSecretId() const { return m_secretId; }
78 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
79 template <typename SecretIdT = Aws::String>
80 void SetSecretId(SecretIdT&& value) {
81 m_secretIdHasBeenSet = true;
82 m_secretId = std::forward<SecretIdT>(value);
83 }
84 template <typename SecretIdT = Aws::String>
86 SetSecretId(std::forward<SecretIdT>(value));
87 return *this;
88 }
90
92
97 inline InfluxDBSecretType GetSecretType() const { return m_secretType; }
98 inline bool SecretTypeHasBeenSet() const { return m_secretTypeHasBeenSet; }
99 inline void SetSecretType(InfluxDBSecretType value) {
100 m_secretTypeHasBeenSet = true;
101 m_secretType = value;
102 }
104 SetSecretType(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetSecretKey() const { return m_secretKey; }
115 inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; }
116 template <typename SecretKeyT = Aws::String>
117 void SetSecretKey(SecretKeyT&& value) {
118 m_secretKeyHasBeenSet = true;
119 m_secretKey = std::forward<SecretKeyT>(value);
120 }
121 template <typename SecretKeyT = Aws::String>
123 SetSecretKey(std::forward<SecretKeyT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_endpoint;
129
130 InfluxDBVersion m_influxDBVersion{InfluxDBVersion::NOT_SET};
131
132 Aws::String m_secretId;
133
135
136 Aws::String m_secretKey;
137 bool m_endpointHasBeenSet = false;
138 bool m_influxDBVersionHasBeenSet = false;
139 bool m_secretIdHasBeenSet = false;
140 bool m_secretTypeHasBeenSet = false;
141 bool m_secretKeyHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace IoT
146} // namespace Aws
InfluxDBDestinationConfiguration & WithSecretKey(SecretKeyT &&value)
InfluxDBDestinationConfiguration & WithEndpoint(EndpointT &&value)
InfluxDBDestinationConfiguration & WithSecretId(SecretIdT &&value)
AWS_IOT_API InfluxDBDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
InfluxDBDestinationConfiguration & WithSecretType(InfluxDBSecretType value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API InfluxDBDestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InfluxDBDestinationConfiguration & WithInfluxDBVersion(InfluxDBVersion value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue