AWS SDK for C++  1.9.108
AWS SDK for C++
GetLoadBalancerResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lightsail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const LoadBalancer& GetLoadBalancer() const{ return m_loadBalancer; }
39 
43  inline void SetLoadBalancer(const LoadBalancer& value) { m_loadBalancer = value; }
44 
48  inline void SetLoadBalancer(LoadBalancer&& value) { m_loadBalancer = std::move(value); }
49 
53  inline GetLoadBalancerResult& WithLoadBalancer(const LoadBalancer& value) { SetLoadBalancer(value); return *this;}
54 
58  inline GetLoadBalancerResult& WithLoadBalancer(LoadBalancer&& value) { SetLoadBalancer(std::move(value)); return *this;}
59 
60  private:
61 
62  LoadBalancer m_loadBalancer;
63  };
64 
65 } // namespace Model
66 } // namespace Lightsail
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetLoadBalancerResult::GetLoadBalancerResult
GetLoadBalancerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::LoadBalancer
Definition: LoadBalancer.h:44
Aws::Lightsail::Model::GetLoadBalancerResult::SetLoadBalancer
void SetLoadBalancer(const LoadBalancer &value)
Definition: GetLoadBalancerResult.h:43
Aws::Lightsail::Model::GetLoadBalancerResult::GetLoadBalancer
const LoadBalancer & GetLoadBalancer() const
Definition: GetLoadBalancerResult.h:38
Aws::Lightsail::Model::GetLoadBalancerResult::WithLoadBalancer
GetLoadBalancerResult & WithLoadBalancer(const LoadBalancer &value)
Definition: GetLoadBalancerResult.h:53
Aws::Lightsail::Model::GetLoadBalancerResult::SetLoadBalancer
void SetLoadBalancer(LoadBalancer &&value)
Definition: GetLoadBalancerResult.h:48
LoadBalancer.h
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetLoadBalancerResult
Definition: GetLoadBalancerResult.h:28
Aws::Lightsail::Model::GetLoadBalancerResult::GetLoadBalancerResult
GetLoadBalancerResult()
Aws::Lightsail::Model::GetLoadBalancerResult::operator=
GetLoadBalancerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetLoadBalancerResult::WithLoadBalancer
GetLoadBalancerResult & WithLoadBalancer(LoadBalancer &&value)
Definition: GetLoadBalancerResult.h:58