AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeLoadBasedAutoScalingRequest.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 "DescribeLoadBasedAutoScaling"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetLayerIds() const{ return m_layerIds; }
42 
46  inline bool LayerIdsHasBeenSet() const { return m_layerIdsHasBeenSet; }
47 
51  inline void SetLayerIds(const Aws::Vector<Aws::String>& value) { m_layerIdsHasBeenSet = true; m_layerIds = value; }
52 
56  inline void SetLayerIds(Aws::Vector<Aws::String>&& value) { m_layerIdsHasBeenSet = true; m_layerIds = std::move(value); }
57 
61  inline DescribeLoadBasedAutoScalingRequest& WithLayerIds(const Aws::Vector<Aws::String>& value) { SetLayerIds(value); return *this;}
62 
66  inline DescribeLoadBasedAutoScalingRequest& WithLayerIds(Aws::Vector<Aws::String>&& value) { SetLayerIds(std::move(value)); return *this;}
67 
71  inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(const Aws::String& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
72 
76  inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(Aws::String&& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeLoadBasedAutoScalingRequest& AddLayerIds(const char* value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_layerIds;
86  bool m_layerIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace OpsWorks
91 } // namespace Aws
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::LayerIdsHasBeenSet
bool LayerIdsHasBeenSet() const
Definition: DescribeLoadBasedAutoScalingRequest.h:46
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::AddLayerIds
DescribeLoadBasedAutoScalingRequest & AddLayerIds(const char *value)
Definition: DescribeLoadBasedAutoScalingRequest.h:81
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::AddLayerIds
DescribeLoadBasedAutoScalingRequest & AddLayerIds(Aws::String &&value)
Definition: DescribeLoadBasedAutoScalingRequest.h:76
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::WithLayerIds
DescribeLoadBasedAutoScalingRequest & WithLayerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLoadBasedAutoScalingRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::SetLayerIds
void SetLayerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLoadBasedAutoScalingRequest.h:51
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLoadBasedAutoScalingRequest.h:31
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::AddLayerIds
DescribeLoadBasedAutoScalingRequest & AddLayerIds(const Aws::String &value)
Definition: DescribeLoadBasedAutoScalingRequest.h:71
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest
Definition: DescribeLoadBasedAutoScalingRequest.h:23
AWSString.h
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::DescribeLoadBasedAutoScalingRequest
DescribeLoadBasedAutoScalingRequest()
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::WithLayerIds
DescribeLoadBasedAutoScalingRequest & WithLayerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLoadBasedAutoScalingRequest.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::GetLayerIds
const Aws::Vector< Aws::String > & GetLayerIds() const
Definition: DescribeLoadBasedAutoScalingRequest.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingRequest::SetLayerIds
void SetLayerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLoadBasedAutoScalingRequest.h:56