AWS SDK for C++

AWS SDK for C++ Version 1.11.878

Loading...
Searching...
No Matches
InfluxDBDestinationProperties.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
32 public:
33 AWS_IOT_API InfluxDBDestinationProperties() = default;
37
39
42 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
43 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
44 template <typename EndpointT = Aws::String>
45 void SetEndpoint(EndpointT&& value) {
46 m_endpointHasBeenSet = true;
47 m_endpoint = std::forward<EndpointT>(value);
48 }
49 template <typename EndpointT = Aws::String>
51 SetEndpoint(std::forward<EndpointT>(value));
52 return *this;
53 }
55
57
61 inline InfluxDBVersion GetInfluxDBVersion() const { return m_influxDBVersion; }
62 inline bool InfluxDBVersionHasBeenSet() const { return m_influxDBVersionHasBeenSet; }
64 m_influxDBVersionHasBeenSet = true;
65 m_influxDBVersion = value;
66 }
68 SetInfluxDBVersion(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetSecretId() const { return m_secretId; }
79 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
80 template <typename SecretIdT = Aws::String>
81 void SetSecretId(SecretIdT&& value) {
82 m_secretIdHasBeenSet = true;
83 m_secretId = std::forward<SecretIdT>(value);
84 }
85 template <typename SecretIdT = Aws::String>
87 SetSecretId(std::forward<SecretIdT>(value));
88 return *this;
89 }
91
93
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
AWS_IOT_API InfluxDBDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API InfluxDBDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
InfluxDBDestinationProperties & WithSecretKey(SecretKeyT &&value)
InfluxDBDestinationProperties & WithSecretType(InfluxDBSecretType value)
InfluxDBDestinationProperties & WithSecretId(SecretIdT &&value)
InfluxDBDestinationProperties & WithEndpoint(EndpointT &&value)
InfluxDBDestinationProperties & WithInfluxDBVersion(InfluxDBVersion value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue