AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachElasticLoadBalancerRequest.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 "AttachElasticLoadBalancer"; }
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 AttachElasticLoadBalancerRequest& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
62 inline AttachElasticLoadBalancerRequest& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
63 inline AttachElasticLoadBalancerRequest& 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
AttachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const char *value)
AttachElasticLoadBalancerRequest & WithLayerId(const Aws::String &value)
AttachElasticLoadBalancerRequest & WithLayerId(Aws::String &&value)
AttachElasticLoadBalancerRequest & WithElasticLoadBalancerName(Aws::String &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AttachElasticLoadBalancerRequest & WithLayerId(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AttachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String