AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScalingActivitiesRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AutoScaling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AUTOSCALING_API DescribeScalingActivitiesRequest();
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 "DescribeScalingActivities"; }
32
33 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
48 inline const Aws::Vector<Aws::String>& GetActivityIds() const{ return m_activityIds; }
49 inline bool ActivityIdsHasBeenSet() const { return m_activityIdsHasBeenSet; }
50 inline void SetActivityIds(const Aws::Vector<Aws::String>& value) { m_activityIdsHasBeenSet = true; m_activityIds = value; }
51 inline void SetActivityIds(Aws::Vector<Aws::String>&& value) { m_activityIdsHasBeenSet = true; m_activityIds = std::move(value); }
54 inline DescribeScalingActivitiesRequest& AddActivityIds(const Aws::String& value) { m_activityIdsHasBeenSet = true; m_activityIds.push_back(value); return *this; }
55 inline DescribeScalingActivitiesRequest& AddActivityIds(Aws::String&& value) { m_activityIdsHasBeenSet = true; m_activityIds.push_back(std::move(value)); return *this; }
56 inline DescribeScalingActivitiesRequest& AddActivityIds(const char* value) { m_activityIdsHasBeenSet = true; m_activityIds.push_back(value); return *this; }
58
60
63 inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
64 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
65 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
66 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
67 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
70 inline DescribeScalingActivitiesRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
72
74
78 inline bool GetIncludeDeletedGroups() const{ return m_includeDeletedGroups; }
79 inline bool IncludeDeletedGroupsHasBeenSet() const { return m_includeDeletedGroupsHasBeenSet; }
80 inline void SetIncludeDeletedGroups(bool value) { m_includeDeletedGroupsHasBeenSet = true; m_includeDeletedGroups = value; }
83
85
89 inline int GetMaxRecords() const{ return m_maxRecords; }
90 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
91 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
92 inline DescribeScalingActivitiesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
94
96
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline DescribeScalingActivitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline DescribeScalingActivitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline DescribeScalingActivitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 private:
110
111 Aws::Vector<Aws::String> m_activityIds;
112 bool m_activityIdsHasBeenSet = false;
113
114 Aws::String m_autoScalingGroupName;
115 bool m_autoScalingGroupNameHasBeenSet = false;
116
117 bool m_includeDeletedGroups;
118 bool m_includeDeletedGroupsHasBeenSet = false;
119
120 int m_maxRecords;
121 bool m_maxRecordsHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AutoScaling
129} // namespace Aws
DescribeScalingActivitiesRequest & WithNextToken(const Aws::String &value)
DescribeScalingActivitiesRequest & WithAutoScalingGroupName(const Aws::String &value)
DescribeScalingActivitiesRequest & WithIncludeDeletedGroups(bool value)
DescribeScalingActivitiesRequest & WithAutoScalingGroupName(const char *value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeScalingActivitiesRequest & AddActivityIds(Aws::String &&value)
DescribeScalingActivitiesRequest & WithAutoScalingGroupName(Aws::String &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
DescribeScalingActivitiesRequest & AddActivityIds(const char *value)
DescribeScalingActivitiesRequest & WithActivityIds(const Aws::Vector< Aws::String > &value)
DescribeScalingActivitiesRequest & WithNextToken(Aws::String &&value)
DescribeScalingActivitiesRequest & WithActivityIds(Aws::Vector< Aws::String > &&value)
DescribeScalingActivitiesRequest & AddActivityIds(const Aws::String &value)
DescribeScalingActivitiesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector