AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetachElasticLoadBalancerRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace OpsWorks
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DetachElasticLoadBalancer"; }
31
32 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetElasticLoadBalancerName() const{ return m_elasticLoadBalancerName; }
42 inline bool ElasticLoadBalancerNameHasBeenSet() const { return m_elasticLoadBalancerNameHasBeenSet; }
43 inline void SetElasticLoadBalancerName(const Aws::String& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = value; }
44 inline void SetElasticLoadBalancerName(Aws::String&& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = std::move(value); }
45 inline void SetElasticLoadBalancerName(const char* value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName.assign(value); }
50
52
56 inline const Aws::String& GetLayerId() const{ return m_layerId; }
57 inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
58 inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
59 inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); }
60 inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); }
61 inline DetachElasticLoadBalancerRequest& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
62 inline DetachElasticLoadBalancerRequest& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
63 inline DetachElasticLoadBalancerRequest& WithLayerId(const char* value) { SetLayerId(value); return *this;}
65 private:
66
67 Aws::String m_elasticLoadBalancerName;
68 bool m_elasticLoadBalancerNameHasBeenSet = false;
69
70 Aws::String m_layerId;
71 bool m_layerIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace OpsWorks
76} // namespace Aws
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(Aws::String &&value)
DetachElasticLoadBalancerRequest & WithLayerId(Aws::String &&value)
DetachElasticLoadBalancerRequest & WithLayerId(const char *value)
DetachElasticLoadBalancerRequest & WithLayerId(const Aws::String &value)
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const Aws::String &value)
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String