AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
SourceAuthenticationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9#include <aws/elasticache/model/SecretManagerAuthConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElastiCache {
20namespace Model {
21
29 public:
30 AWS_ELASTICACHE_API SourceAuthenticationConfiguration() = default;
33
34 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
42 inline const SecretManagerAuthConfig& GetSecretManagerConfig() const { return m_secretManagerConfig; }
43 inline bool SecretManagerConfigHasBeenSet() const { return m_secretManagerConfigHasBeenSet; }
44 template <typename SecretManagerConfigT = SecretManagerAuthConfig>
45 void SetSecretManagerConfig(SecretManagerConfigT&& value) {
46 m_secretManagerConfigHasBeenSet = true;
47 m_secretManagerConfig = std::forward<SecretManagerConfigT>(value);
48 }
49 template <typename SecretManagerConfigT = SecretManagerAuthConfig>
51 SetSecretManagerConfig(std::forward<SecretManagerConfigT>(value));
52 return *this;
53 }
55 private:
56 SecretManagerAuthConfig m_secretManagerConfig;
57 bool m_secretManagerConfigHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace ElastiCache
62} // namespace Aws
AWS_ELASTICACHE_API SourceAuthenticationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API SourceAuthenticationConfiguration()=default
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SourceAuthenticationConfiguration & WithSecretManagerConfig(SecretManagerConfigT &&value)
AWS_ELASTICACHE_API SourceAuthenticationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream