AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VolumeStatusAttachmentStatus.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/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
30 AWS_EC2_API VolumeStatusAttachmentStatus() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetIoPerformance() const { return m_ioPerformance; }
42 inline bool IoPerformanceHasBeenSet() const { return m_ioPerformanceHasBeenSet; }
43 template <typename IoPerformanceT = Aws::String>
44 void SetIoPerformance(IoPerformanceT&& value) {
45 m_ioPerformanceHasBeenSet = true;
46 m_ioPerformance = std::forward<IoPerformanceT>(value);
47 }
48 template <typename IoPerformanceT = Aws::String>
50 SetIoPerformance(std::forward<IoPerformanceT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
60 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
61 template <typename InstanceIdT = Aws::String>
62 void SetInstanceId(InstanceIdT&& value) {
63 m_instanceIdHasBeenSet = true;
64 m_instanceId = std::forward<InstanceIdT>(value);
65 }
66 template <typename InstanceIdT = Aws::String>
68 SetInstanceId(std::forward<InstanceIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_ioPerformance;
74
75 Aws::String m_instanceId;
76 bool m_ioPerformanceHasBeenSet = false;
77 bool m_instanceIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API VolumeStatusAttachmentStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeStatusAttachmentStatus & WithIoPerformance(IoPerformanceT &&value)
VolumeStatusAttachmentStatus & WithInstanceId(InstanceIdT &&value)
AWS_EC2_API VolumeStatusAttachmentStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API VolumeStatusAttachmentStatus()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream