AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeWarmPoolRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScalingRequest.h>
8#include <aws/autoscaling/AutoScaling_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AutoScaling {
15namespace Model {
16
20 public:
21 AWS_AUTOSCALING_API DescribeWarmPoolRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeWarmPool"; }
28
29 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetAutoScalingGroupName() const { return m_autoScalingGroupName; }
40 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
41 template <typename AutoScalingGroupNameT = Aws::String>
42 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) {
43 m_autoScalingGroupNameHasBeenSet = true;
44 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
45 }
46 template <typename AutoScalingGroupNameT = Aws::String>
47 DescribeWarmPoolRequest& WithAutoScalingGroupName(AutoScalingGroupNameT&& value) {
48 SetAutoScalingGroupName(std::forward<AutoScalingGroupNameT>(value));
49 return *this;
50 }
52
54
58 inline int GetMaxRecords() const { return m_maxRecords; }
59 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
60 inline void SetMaxRecords(int value) {
61 m_maxRecordsHasBeenSet = true;
62 m_maxRecords = value;
63 }
65 SetMaxRecords(value);
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_autoScalingGroupName;
90 bool m_autoScalingGroupNameHasBeenSet = false;
91
92 int m_maxRecords{0};
93 bool m_maxRecordsHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace AutoScaling
101} // namespace Aws
DescribeWarmPoolRequest & WithMaxRecords(int value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
AWS_AUTOSCALING_API DescribeWarmPoolRequest()=default
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
DescribeWarmPoolRequest & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
DescribeWarmPoolRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String