1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8 #include <aws/elasticloadbalancingv2/model/IpAddressType.h>
9 #include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21   class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace ElasticLoadBalancingv2
25 {
26 namespace Model
27 {
28   class AWS_ELASTICLOADBALANCINGV2_API SetIpAddressTypeResult
29   {
30   public:
31     SetIpAddressTypeResult();
32     SetIpAddressTypeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
33     SetIpAddressTypeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
34 
35 
36     /**
37      * <p>The IP address type.</p>
38      */
GetIpAddressType()39     inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
40 
41     /**
42      * <p>The IP address type.</p>
43      */
SetIpAddressType(const IpAddressType & value)44     inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressType = value; }
45 
46     /**
47      * <p>The IP address type.</p>
48      */
SetIpAddressType(IpAddressType && value)49     inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressType = std::move(value); }
50 
51     /**
52      * <p>The IP address type.</p>
53      */
WithIpAddressType(const IpAddressType & value)54     inline SetIpAddressTypeResult& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
55 
56     /**
57      * <p>The IP address type.</p>
58      */
WithIpAddressType(IpAddressType && value)59     inline SetIpAddressTypeResult& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
60 
61 
62 
GetResponseMetadata()63     inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 
65 
SetResponseMetadata(const ResponseMetadata & value)66     inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 
68 
SetResponseMetadata(ResponseMetadata && value)69     inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 
71 
WithResponseMetadata(const ResponseMetadata & value)72     inline SetIpAddressTypeResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
73 
74 
WithResponseMetadata(ResponseMetadata && value)75     inline SetIpAddressTypeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 
77   private:
78 
79     IpAddressType m_ipAddressType;
80 
81     ResponseMetadata m_responseMetadata;
82   };
83 
84 } // namespace Model
85 } // namespace ElasticLoadBalancingv2
86 } // namespace Aws
87