AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeElasticLoadBalancersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeElasticLoadBalancers"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStackId() const{ return m_stackId; }
43 
48  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
49 
54  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
55 
60  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
61 
66  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
67 
72  inline DescribeElasticLoadBalancersRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
73 
78  inline DescribeElasticLoadBalancersRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 
84  inline DescribeElasticLoadBalancersRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
86 
91  inline const Aws::Vector<Aws::String>& GetLayerIds() const{ return m_layerIds; }
92 
97  inline bool LayerIdsHasBeenSet() const { return m_layerIdsHasBeenSet; }
98 
103  inline void SetLayerIds(const Aws::Vector<Aws::String>& value) { m_layerIdsHasBeenSet = true; m_layerIds = value; }
104 
109  inline void SetLayerIds(Aws::Vector<Aws::String>&& value) { m_layerIdsHasBeenSet = true; m_layerIds = std::move(value); }
110 
115  inline DescribeElasticLoadBalancersRequest& WithLayerIds(const Aws::Vector<Aws::String>& value) { SetLayerIds(value); return *this;}
116 
121  inline DescribeElasticLoadBalancersRequest& WithLayerIds(Aws::Vector<Aws::String>&& value) { SetLayerIds(std::move(value)); return *this;}
122 
127  inline DescribeElasticLoadBalancersRequest& AddLayerIds(const Aws::String& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
128 
133  inline DescribeElasticLoadBalancersRequest& AddLayerIds(Aws::String&& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(std::move(value)); return *this; }
134 
139  inline DescribeElasticLoadBalancersRequest& AddLayerIds(const char* value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
140 
141  private:
142 
143  Aws::String m_stackId;
144  bool m_stackIdHasBeenSet;
145 
146  Aws::Vector<Aws::String> m_layerIds;
147  bool m_layerIdsHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace OpsWorks
152 } // namespace Aws
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeElasticLoadBalancersRequest.h:66
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeElasticLoadBalancersRequest.h:31
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeElasticLoadBalancersRequest.h:48
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::WithStackId
DescribeElasticLoadBalancersRequest & WithStackId(const Aws::String &value)
Definition: DescribeElasticLoadBalancersRequest.h:72
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::GetLayerIds
const Aws::Vector< Aws::String > & GetLayerIds() const
Definition: DescribeElasticLoadBalancersRequest.h:91
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::WithStackId
DescribeElasticLoadBalancersRequest & WithStackId(const char *value)
Definition: DescribeElasticLoadBalancersRequest.h:84
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SerializePayload
Aws::String SerializePayload() const override
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SetLayerIds
void SetLayerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeElasticLoadBalancersRequest.h:109
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::LayerIdsHasBeenSet
bool LayerIdsHasBeenSet() const
Definition: DescribeElasticLoadBalancersRequest.h:97
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeElasticLoadBalancersRequest.h:42
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeElasticLoadBalancersRequest.h:60
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeElasticLoadBalancersRequest.h:54
AWSString.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest
Definition: DescribeElasticLoadBalancersRequest.h:23
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::AddLayerIds
DescribeElasticLoadBalancersRequest & AddLayerIds(Aws::String &&value)
Definition: DescribeElasticLoadBalancersRequest.h:133
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::WithLayerIds
DescribeElasticLoadBalancersRequest & WithLayerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeElasticLoadBalancersRequest.h:121
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::WithLayerIds
DescribeElasticLoadBalancersRequest & WithLayerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeElasticLoadBalancersRequest.h:115
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::SetLayerIds
void SetLayerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeElasticLoadBalancersRequest.h:103
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::AddLayerIds
DescribeElasticLoadBalancersRequest & AddLayerIds(const Aws::String &value)
Definition: DescribeElasticLoadBalancersRequest.h:127
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::DescribeElasticLoadBalancersRequest
DescribeElasticLoadBalancersRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::AddLayerIds
DescribeElasticLoadBalancersRequest & AddLayerIds(const char *value)
Definition: DescribeElasticLoadBalancersRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeElasticLoadBalancersRequest::WithStackId
DescribeElasticLoadBalancersRequest & WithStackId(Aws::String &&value)
Definition: DescribeElasticLoadBalancersRequest.h:78