AWS SDK for C++  1.9.129
AWS SDK for C++
DetachElasticLoadBalancerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace OpsWorks
15 {
16 namespace 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::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetElasticLoadBalancerName() const{ return m_elasticLoadBalancerName; }
41 
45  inline bool ElasticLoadBalancerNameHasBeenSet() const { return m_elasticLoadBalancerNameHasBeenSet; }
46 
50  inline void SetElasticLoadBalancerName(const Aws::String& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = value; }
51 
55  inline void SetElasticLoadBalancerName(Aws::String&& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = std::move(value); }
56 
60  inline void SetElasticLoadBalancerName(const char* value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName.assign(value); }
61 
65  inline DetachElasticLoadBalancerRequest& WithElasticLoadBalancerName(const Aws::String& value) { SetElasticLoadBalancerName(value); return *this;}
66 
70  inline DetachElasticLoadBalancerRequest& WithElasticLoadBalancerName(Aws::String&& value) { SetElasticLoadBalancerName(std::move(value)); return *this;}
71 
75  inline DetachElasticLoadBalancerRequest& WithElasticLoadBalancerName(const char* value) { SetElasticLoadBalancerName(value); return *this;}
76 
77 
82  inline const Aws::String& GetLayerId() const{ return m_layerId; }
83 
88  inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; }
89 
94  inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; }
95 
100  inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); }
101 
106  inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); }
107 
112  inline DetachElasticLoadBalancerRequest& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;}
113 
118  inline DetachElasticLoadBalancerRequest& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;}
119 
124  inline DetachElasticLoadBalancerRequest& WithLayerId(const char* value) { SetLayerId(value); return *this;}
125 
126  private:
127 
128  Aws::String m_elasticLoadBalancerName;
129  bool m_elasticLoadBalancerNameHasBeenSet;
130 
131  Aws::String m_layerId;
132  bool m_layerIdHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace OpsWorks
137 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::ElasticLoadBalancerNameHasBeenSet
bool ElasticLoadBalancerNameHasBeenSet() const
Definition: DetachElasticLoadBalancerRequest.h:45
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetElasticLoadBalancerName
void SetElasticLoadBalancerName(Aws::String &&value)
Definition: DetachElasticLoadBalancerRequest.h:55
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetLayerId
void SetLayerId(const char *value)
Definition: DetachElasticLoadBalancerRequest.h:106
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::DetachElasticLoadBalancerRequest
DetachElasticLoadBalancerRequest()
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithElasticLoadBalancerName
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(Aws::String &&value)
Definition: DetachElasticLoadBalancerRequest.h:70
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
OpsWorksRequest.h
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::GetLayerId
const Aws::String & GetLayerId() const
Definition: DetachElasticLoadBalancerRequest.h:82
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::LayerIdHasBeenSet
bool LayerIdHasBeenSet() const
Definition: DetachElasticLoadBalancerRequest.h:88
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetLayerId
void SetLayerId(Aws::String &&value)
Definition: DetachElasticLoadBalancerRequest.h:100
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithLayerId
DetachElasticLoadBalancerRequest & WithLayerId(const Aws::String &value)
Definition: DetachElasticLoadBalancerRequest.h:112
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetLayerId
void SetLayerId(const Aws::String &value)
Definition: DetachElasticLoadBalancerRequest.h:94
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetElasticLoadBalancerName
void SetElasticLoadBalancerName(const Aws::String &value)
Definition: DetachElasticLoadBalancerRequest.h:50
AWSString.h
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::GetElasticLoadBalancerName
const Aws::String & GetElasticLoadBalancerName() const
Definition: DetachElasticLoadBalancerRequest.h:40
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest
Definition: DetachElasticLoadBalancerRequest.h:22
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithLayerId
DetachElasticLoadBalancerRequest & WithLayerId(Aws::String &&value)
Definition: DetachElasticLoadBalancerRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithElasticLoadBalancerName
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const char *value)
Definition: DetachElasticLoadBalancerRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetachElasticLoadBalancerRequest.h:30
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithElasticLoadBalancerName
DetachElasticLoadBalancerRequest & WithElasticLoadBalancerName(const Aws::String &value)
Definition: DetachElasticLoadBalancerRequest.h:65
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::WithLayerId
DetachElasticLoadBalancerRequest & WithLayerId(const char *value)
Definition: DetachElasticLoadBalancerRequest.h:124
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::DetachElasticLoadBalancerRequest::SetElasticLoadBalancerName
void SetElasticLoadBalancerName(const char *value)
Definition: DetachElasticLoadBalancerRequest.h:60