AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDhcpOptionsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/DhcpOptions.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 CreateDhcpOptionsResponse() = default;
34
35
37
40 inline const DhcpOptions& GetDhcpOptions() const { return m_dhcpOptions; }
41 template<typename DhcpOptionsT = DhcpOptions>
42 void SetDhcpOptions(DhcpOptionsT&& value) { m_dhcpOptionsHasBeenSet = true; m_dhcpOptions = std::forward<DhcpOptionsT>(value); }
43 template<typename DhcpOptionsT = DhcpOptions>
44 CreateDhcpOptionsResponse& WithDhcpOptions(DhcpOptionsT&& value) { SetDhcpOptions(std::forward<DhcpOptionsT>(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 CreateDhcpOptionsResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
55 private:
56
57 DhcpOptions m_dhcpOptions;
58 bool m_dhcpOptionsHasBeenSet = false;
59
60 ResponseMetadata m_responseMetadata;
61 bool m_responseMetadataHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API CreateDhcpOptionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API CreateDhcpOptionsResponse()=default
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API CreateDhcpOptionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDhcpOptionsResponse & WithDhcpOptions(DhcpOptionsT &&value)
CreateDhcpOptionsResponse & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument