AWS SDK for C++

AWS SDK for C++ Version 1.11.877

Loading...
Searching...
No Matches
InfluxDBDestinationSummary.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
33 public:
34 AWS_IOT_API InfluxDBDestinationSummary() = default;
38
40
43 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
44 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
45 template <typename EndpointT = Aws::String>
46 void SetEndpoint(EndpointT&& value) {
47 m_endpointHasBeenSet = true;
48 m_endpoint = std::forward<EndpointT>(value);
49 }
50 template <typename EndpointT = Aws::String>
52 SetEndpoint(std::forward<EndpointT>(value));
53 return *this;
54 }
56
58
62 inline InfluxDBVersion GetInfluxDBVersion() const { return m_influxDBVersion; }
63 inline bool InfluxDBVersionHasBeenSet() const { return m_influxDBVersionHasBeenSet; }
65 m_influxDBVersionHasBeenSet = true;
66 m_influxDBVersion = value;
67 }
69 SetInfluxDBVersion(value);
70 return *this;
71 }
73
75
79 inline const Aws::String& GetSecretId() const { return m_secretId; }
80 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
81 template <typename SecretIdT = Aws::String>
82 void SetSecretId(SecretIdT&& value) {
83 m_secretIdHasBeenSet = true;
84 m_secretId = std::forward<SecretIdT>(value);
85 }
86 template <typename SecretIdT = Aws::String>
88 SetSecretId(std::forward<SecretIdT>(value));
89 return *this;
90 }
92
94
98 inline InfluxDBSecretType GetSecretType() const { return m_secretType; }
99 inline bool SecretTypeHasBeenSet() const { return m_secretTypeHasBeenSet; }
101 m_secretTypeHasBeenSet = true;
102 m_secretType = value;
103 }
105 SetSecretType(value);
106 return *this;
107 }
109
111
115 inline const Aws::String& GetSecretKey() const { return m_secretKey; }
116 inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; }
117 template <typename SecretKeyT = Aws::String>
118 void SetSecretKey(SecretKeyT&& value) {
119 m_secretKeyHasBeenSet = true;
120 m_secretKey = std::forward<SecretKeyT>(value);
121 }
122 template <typename SecretKeyT = Aws::String>
124 SetSecretKey(std::forward<SecretKeyT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_endpoint;
130
131 InfluxDBVersion m_influxDBVersion{InfluxDBVersion::NOT_SET};
132
133 Aws::String m_secretId;
134
136
137 Aws::String m_secretKey;
138 bool m_endpointHasBeenSet = false;
139 bool m_influxDBVersionHasBeenSet = false;
140 bool m_secretIdHasBeenSet = false;
141 bool m_secretTypeHasBeenSet = false;
142 bool m_secretKeyHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace IoT
147} // namespace Aws
InfluxDBDestinationSummary & WithSecretType(InfluxDBSecretType value)
InfluxDBDestinationSummary & WithEndpoint(EndpointT &&value)
InfluxDBDestinationSummary & WithInfluxDBVersion(InfluxDBVersion value)
AWS_IOT_API InfluxDBDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InfluxDBDestinationSummary & WithSecretId(SecretIdT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API InfluxDBDestinationSummary()=default
AWS_IOT_API InfluxDBDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
InfluxDBDestinationSummary & WithSecretKey(SecretKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue