AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CloudWatchLogsDestinationDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.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 CloudWatchLogsDestinationDetails() = 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
41 inline const Aws::String& GetLogGroup() const { return m_logGroup; }
42 inline bool LogGroupHasBeenSet() const { return m_logGroupHasBeenSet; }
43 template <typename LogGroupT = Aws::String>
44 void SetLogGroup(LogGroupT&& value) {
45 m_logGroupHasBeenSet = true;
46 m_logGroup = std::forward<LogGroupT>(value);
47 }
48 template <typename LogGroupT = Aws::String>
50 SetLogGroup(std::forward<LogGroupT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_logGroup;
56 bool m_logGroupHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ElastiCache
61} // namespace Aws
AWS_ELASTICACHE_API CloudWatchLogsDestinationDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API CloudWatchLogsDestinationDetails()=default
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API CloudWatchLogsDestinationDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchLogsDestinationDetails & WithLogGroup(LogGroupT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream