AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteInstanceEventWindowResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/InstanceEventWindowStateChange.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_EC2_API DeleteInstanceEventWindowResponse() = default;
34
35
37
40 inline const InstanceEventWindowStateChange& GetInstanceEventWindowState() const { return m_instanceEventWindowState; }
41 template<typename InstanceEventWindowStateT = InstanceEventWindowStateChange>
42 void SetInstanceEventWindowState(InstanceEventWindowStateT&& value) { m_instanceEventWindowStateHasBeenSet = true; m_instanceEventWindowState = std::forward<InstanceEventWindowStateT>(value); }
43 template<typename InstanceEventWindowStateT = InstanceEventWindowStateChange>
44 DeleteInstanceEventWindowResponse& WithInstanceEventWindowState(InstanceEventWindowStateT&& value) { SetInstanceEventWindowState(std::forward<InstanceEventWindowStateT>(value)); return *this;}
46
48
49 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
50 template<typename ResponseMetadataT = ResponseMetadata>
51 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
52 template<typename ResponseMetadataT = ResponseMetadata>
53 DeleteInstanceEventWindowResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
55 private:
56
57 InstanceEventWindowStateChange m_instanceEventWindowState;
58 bool m_instanceEventWindowStateHasBeenSet = false;
59
60 ResponseMetadata m_responseMetadata;
61 bool m_responseMetadataHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
AWS_EC2_API DeleteInstanceEventWindowResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const InstanceEventWindowStateChange & GetInstanceEventWindowState() const
AWS_EC2_API DeleteInstanceEventWindowResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteInstanceEventWindowResponse & WithInstanceEventWindowState(InstanceEventWindowStateT &&value)
void SetInstanceEventWindowState(InstanceEventWindowStateT &&value)
DeleteInstanceEventWindowResponse & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument