AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EnvironmentInfoDescription.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/EnvironmentInfoType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription() = default;
38 AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline EnvironmentInfoType GetInfoType() const { return m_infoType; }
50 inline bool InfoTypeHasBeenSet() const { return m_infoTypeHasBeenSet; }
51 inline void SetInfoType(EnvironmentInfoType value) { m_infoTypeHasBeenSet = true; m_infoType = value; }
54
56
59 inline const Aws::String& GetEc2InstanceId() const { return m_ec2InstanceId; }
60 inline bool Ec2InstanceIdHasBeenSet() const { return m_ec2InstanceIdHasBeenSet; }
61 template<typename Ec2InstanceIdT = Aws::String>
62 void SetEc2InstanceId(Ec2InstanceIdT&& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = std::forward<Ec2InstanceIdT>(value); }
63 template<typename Ec2InstanceIdT = Aws::String>
64 EnvironmentInfoDescription& WithEc2InstanceId(Ec2InstanceIdT&& value) { SetEc2InstanceId(std::forward<Ec2InstanceIdT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetSampleTimestamp() const { return m_sampleTimestamp; }
72 inline bool SampleTimestampHasBeenSet() const { return m_sampleTimestampHasBeenSet; }
73 template<typename SampleTimestampT = Aws::Utils::DateTime>
74 void SetSampleTimestamp(SampleTimestampT&& value) { m_sampleTimestampHasBeenSet = true; m_sampleTimestamp = std::forward<SampleTimestampT>(value); }
75 template<typename SampleTimestampT = Aws::Utils::DateTime>
76 EnvironmentInfoDescription& WithSampleTimestamp(SampleTimestampT&& value) { SetSampleTimestamp(std::forward<SampleTimestampT>(value)); return *this;}
78
80
86 inline const Aws::String& GetMessage() const { return m_message; }
87 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
88 template<typename MessageT = Aws::String>
89 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
90 template<typename MessageT = Aws::String>
91 EnvironmentInfoDescription& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
93 private:
94
96 bool m_infoTypeHasBeenSet = false;
97
98 Aws::String m_ec2InstanceId;
99 bool m_ec2InstanceIdHasBeenSet = false;
100
101 Aws::Utils::DateTime m_sampleTimestamp{};
102 bool m_sampleTimestampHasBeenSet = false;
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ElasticBeanstalk
110} // namespace Aws
EnvironmentInfoDescription & WithInfoType(EnvironmentInfoType value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EnvironmentInfoDescription & WithEc2InstanceId(Ec2InstanceIdT &&value)
AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EnvironmentInfoDescription & WithSampleTimestamp(SampleTimestampT &&value)
EnvironmentInfoDescription & WithMessage(MessageT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API EnvironmentInfoDescription()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream