AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyInstanceMaintenanceOptionsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/InstanceAutoRecoveryState.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
43 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
44 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
46 inline ModifyInstanceMaintenanceOptionsResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
47 inline ModifyInstanceMaintenanceOptionsResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
49
51
55 inline const InstanceAutoRecoveryState& GetAutoRecovery() const{ return m_autoRecovery; }
56 inline void SetAutoRecovery(const InstanceAutoRecoveryState& value) { m_autoRecovery = value; }
57 inline void SetAutoRecovery(InstanceAutoRecoveryState&& value) { m_autoRecovery = std::move(value); }
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
65 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
66 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 private:
71
72 Aws::String m_instanceId;
73
74 InstanceAutoRecoveryState m_autoRecovery;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
AWS_EC2_API ModifyInstanceMaintenanceOptionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyInstanceMaintenanceOptionsResponse & WithInstanceId(const Aws::String &value)
ModifyInstanceMaintenanceOptionsResponse & WithInstanceId(Aws::String &&value)
ModifyInstanceMaintenanceOptionsResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API ModifyInstanceMaintenanceOptionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyInstanceMaintenanceOptionsResponse & WithInstanceId(const char *value)
ModifyInstanceMaintenanceOptionsResponse & WithResponseMetadata(ResponseMetadata &&value)
ModifyInstanceMaintenanceOptionsResponse & WithAutoRecovery(InstanceAutoRecoveryState &&value)
ModifyInstanceMaintenanceOptionsResponse & WithAutoRecovery(const InstanceAutoRecoveryState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument