AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessInstanceLoggingConfiguration.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 <aws/ec2/model/VerifiedAccessLogs.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
49 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
50 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
51 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
52 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
57
59
62 inline const VerifiedAccessLogs& GetAccessLogs() const{ return m_accessLogs; }
63 inline bool AccessLogsHasBeenSet() const { return m_accessLogsHasBeenSet; }
64 inline void SetAccessLogs(const VerifiedAccessLogs& value) { m_accessLogsHasBeenSet = true; m_accessLogs = value; }
65 inline void SetAccessLogs(VerifiedAccessLogs&& value) { m_accessLogsHasBeenSet = true; m_accessLogs = std::move(value); }
69 private:
70
71 Aws::String m_verifiedAccessInstanceId;
72 bool m_verifiedAccessInstanceIdHasBeenSet = false;
73
74 VerifiedAccessLogs m_accessLogs;
75 bool m_accessLogsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VerifiedAccessInstanceLoggingConfiguration & WithVerifiedAccessInstanceId(const char *value)
AWS_EC2_API VerifiedAccessInstanceLoggingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessInstanceLoggingConfiguration & WithVerifiedAccessInstanceId(const Aws::String &value)
VerifiedAccessInstanceLoggingConfiguration & WithVerifiedAccessInstanceId(Aws::String &&value)
AWS_EC2_API VerifiedAccessInstanceLoggingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessInstanceLoggingConfiguration & WithAccessLogs(VerifiedAccessLogs &&value)
VerifiedAccessInstanceLoggingConfiguration & WithAccessLogs(const VerifiedAccessLogs &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream