AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingConfig.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFormation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDFORMATION_API LoggingConfig();
36 AWS_CLOUDFORMATION_API LoggingConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API LoggingConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetLogRoleArn() const{ return m_logRoleArn; }
49 inline bool LogRoleArnHasBeenSet() const { return m_logRoleArnHasBeenSet; }
50 inline void SetLogRoleArn(const Aws::String& value) { m_logRoleArnHasBeenSet = true; m_logRoleArn = value; }
51 inline void SetLogRoleArn(Aws::String&& value) { m_logRoleArnHasBeenSet = true; m_logRoleArn = std::move(value); }
52 inline void SetLogRoleArn(const char* value) { m_logRoleArnHasBeenSet = true; m_logRoleArn.assign(value); }
53 inline LoggingConfig& WithLogRoleArn(const Aws::String& value) { SetLogRoleArn(value); return *this;}
54 inline LoggingConfig& WithLogRoleArn(Aws::String&& value) { SetLogRoleArn(std::move(value)); return *this;}
55 inline LoggingConfig& WithLogRoleArn(const char* value) { SetLogRoleArn(value); return *this;}
57
59
63 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
64 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
65 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
66 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
67 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
68 inline LoggingConfig& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
69 inline LoggingConfig& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
70 inline LoggingConfig& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
72 private:
73
74 Aws::String m_logRoleArn;
75 bool m_logRoleArnHasBeenSet = false;
76
77 Aws::String m_logGroupName;
78 bool m_logGroupNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudFormation
83} // namespace Aws
LoggingConfig & WithLogGroupName(const char *value)
const Aws::String & GetLogRoleArn() const
void SetLogRoleArn(Aws::String &&value)
void SetLogGroupName(Aws::String &&value)
AWS_CLOUDFORMATION_API LoggingConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
LoggingConfig & WithLogRoleArn(const char *value)
AWS_CLOUDFORMATION_API LoggingConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LoggingConfig & WithLogRoleArn(Aws::String &&value)
void SetLogRoleArn(const Aws::String &value)
const Aws::String & GetLogGroupName() const
LoggingConfig & WithLogGroupName(const Aws::String &value)
LoggingConfig & WithLogGroupName(Aws::String &&value)
AWS_CLOUDFORMATION_API LoggingConfig()
void SetLogGroupName(const Aws::String &value)
LoggingConfig & WithLogRoleArn(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream