AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionLogResponseOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline bool GetEnabled() const{ return m_enabled; }
49 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
50 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
51 inline ConnectionLogResponseOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
53
55
59 inline const Aws::String& GetCloudwatchLogGroup() const{ return m_cloudwatchLogGroup; }
60 inline bool CloudwatchLogGroupHasBeenSet() const { return m_cloudwatchLogGroupHasBeenSet; }
61 inline void SetCloudwatchLogGroup(const Aws::String& value) { m_cloudwatchLogGroupHasBeenSet = true; m_cloudwatchLogGroup = value; }
62 inline void SetCloudwatchLogGroup(Aws::String&& value) { m_cloudwatchLogGroupHasBeenSet = true; m_cloudwatchLogGroup = std::move(value); }
63 inline void SetCloudwatchLogGroup(const char* value) { m_cloudwatchLogGroupHasBeenSet = true; m_cloudwatchLogGroup.assign(value); }
65 inline ConnectionLogResponseOptions& WithCloudwatchLogGroup(Aws::String&& value) { SetCloudwatchLogGroup(std::move(value)); return *this;}
66 inline ConnectionLogResponseOptions& WithCloudwatchLogGroup(const char* value) { SetCloudwatchLogGroup(value); return *this;}
68
70
74 inline const Aws::String& GetCloudwatchLogStream() const{ return m_cloudwatchLogStream; }
75 inline bool CloudwatchLogStreamHasBeenSet() const { return m_cloudwatchLogStreamHasBeenSet; }
76 inline void SetCloudwatchLogStream(const Aws::String& value) { m_cloudwatchLogStreamHasBeenSet = true; m_cloudwatchLogStream = value; }
77 inline void SetCloudwatchLogStream(Aws::String&& value) { m_cloudwatchLogStreamHasBeenSet = true; m_cloudwatchLogStream = std::move(value); }
78 inline void SetCloudwatchLogStream(const char* value) { m_cloudwatchLogStreamHasBeenSet = true; m_cloudwatchLogStream.assign(value); }
81 inline ConnectionLogResponseOptions& WithCloudwatchLogStream(const char* value) { SetCloudwatchLogStream(value); return *this;}
83 private:
84
85 bool m_enabled;
86 bool m_enabledHasBeenSet = false;
87
88 Aws::String m_cloudwatchLogGroup;
89 bool m_cloudwatchLogGroupHasBeenSet = false;
90
91 Aws::String m_cloudwatchLogStream;
92 bool m_cloudwatchLogStreamHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ConnectionLogResponseOptions & WithEnabled(bool value)
ConnectionLogResponseOptions & WithCloudwatchLogStream(Aws::String &&value)
ConnectionLogResponseOptions & WithCloudwatchLogStream(const char *value)
ConnectionLogResponseOptions & WithCloudwatchLogGroup(const char *value)
AWS_EC2_API ConnectionLogResponseOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ConnectionLogResponseOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionLogResponseOptions & WithCloudwatchLogStream(const Aws::String &value)
ConnectionLogResponseOptions & WithCloudwatchLogGroup(Aws::String &&value)
ConnectionLogResponseOptions & WithCloudwatchLogGroup(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream