AWS SDK for C++  1.9.71
AWS SDK for C++
VolumeStatusAttachmentStatus.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetIoPerformance() const{ return m_ioPerformance; }
47 
51  inline bool IoPerformanceHasBeenSet() const { return m_ioPerformanceHasBeenSet; }
52 
56  inline void SetIoPerformance(const Aws::String& value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance = value; }
57 
61  inline void SetIoPerformance(Aws::String&& value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance = std::move(value); }
62 
66  inline void SetIoPerformance(const char* value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance.assign(value); }
67 
71  inline VolumeStatusAttachmentStatus& WithIoPerformance(const Aws::String& value) { SetIoPerformance(value); return *this;}
72 
76  inline VolumeStatusAttachmentStatus& WithIoPerformance(Aws::String&& value) { SetIoPerformance(std::move(value)); return *this;}
77 
81  inline VolumeStatusAttachmentStatus& WithIoPerformance(const char* value) { SetIoPerformance(value); return *this;}
82 
83 
87  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
88 
92  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
93 
97  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
98 
102  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
103 
107  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
108 
112  inline VolumeStatusAttachmentStatus& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
113 
117  inline VolumeStatusAttachmentStatus& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
118 
122  inline VolumeStatusAttachmentStatus& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_ioPerformance;
127  bool m_ioPerformanceHasBeenSet;
128 
129  Aws::String m_instanceId;
130  bool m_instanceIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace EC2
135 } // namespace Aws
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetInstanceId
void SetInstanceId(const char *value)
Definition: VolumeStatusAttachmentStatus.h:107
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetIoPerformance
void SetIoPerformance(Aws::String &&value)
Definition: VolumeStatusAttachmentStatus.h:61
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetIoPerformance
void SetIoPerformance(const Aws::String &value)
Definition: VolumeStatusAttachmentStatus.h:56
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: VolumeStatusAttachmentStatus.h:102
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithInstanceId
VolumeStatusAttachmentStatus & WithInstanceId(Aws::String &&value)
Definition: VolumeStatusAttachmentStatus.h:117
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetIoPerformance
void SetIoPerformance(const char *value)
Definition: VolumeStatusAttachmentStatus.h:66
Aws::EC2::Model::VolumeStatusAttachmentStatus
Definition: VolumeStatusAttachmentStatus.h:33
Aws::EC2::Model::VolumeStatusAttachmentStatus::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::EC2::Model::VolumeStatusAttachmentStatus::IoPerformanceHasBeenSet
bool IoPerformanceHasBeenSet() const
Definition: VolumeStatusAttachmentStatus.h:51
Aws::EC2::Model::VolumeStatusAttachmentStatus::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: VolumeStatusAttachmentStatus.h:97
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithIoPerformance
VolumeStatusAttachmentStatus & WithIoPerformance(const Aws::String &value)
Definition: VolumeStatusAttachmentStatus.h:71
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithInstanceId
VolumeStatusAttachmentStatus & WithInstanceId(const Aws::String &value)
Definition: VolumeStatusAttachmentStatus.h:112
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::VolumeStatusAttachmentStatus::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::VolumeStatusAttachmentStatus::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: VolumeStatusAttachmentStatus.h:92
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithInstanceId
VolumeStatusAttachmentStatus & WithInstanceId(const char *value)
Definition: VolumeStatusAttachmentStatus.h:122
Aws::EC2::Model::VolumeStatusAttachmentStatus::GetIoPerformance
const Aws::String & GetIoPerformance() const
Definition: VolumeStatusAttachmentStatus.h:46
Aws::EC2::Model::VolumeStatusAttachmentStatus::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: VolumeStatusAttachmentStatus.h:87
Aws::EC2::Model::VolumeStatusAttachmentStatus::VolumeStatusAttachmentStatus
VolumeStatusAttachmentStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VolumeStatusAttachmentStatus::VolumeStatusAttachmentStatus
VolumeStatusAttachmentStatus()
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithIoPerformance
VolumeStatusAttachmentStatus & WithIoPerformance(Aws::String &&value)
Definition: VolumeStatusAttachmentStatus.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::VolumeStatusAttachmentStatus::operator=
VolumeStatusAttachmentStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::VolumeStatusAttachmentStatus::WithIoPerformance
VolumeStatusAttachmentStatus & WithIoPerformance(const char *value)
Definition: VolumeStatusAttachmentStatus.h:81
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h