AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeNotificationConfigurationsRequest.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#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AutoScaling {
16namespace Model {
17
21 public:
22 AWS_AUTOSCALING_API DescribeNotificationConfigurationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeNotificationConfigurations"; }
29
30 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
40 inline const Aws::Vector<Aws::String>& GetAutoScalingGroupNames() const { return m_autoScalingGroupNames; }
41 inline bool AutoScalingGroupNamesHasBeenSet() const { return m_autoScalingGroupNamesHasBeenSet; }
42 template <typename AutoScalingGroupNamesT = Aws::Vector<Aws::String>>
43 void SetAutoScalingGroupNames(AutoScalingGroupNamesT&& value) {
44 m_autoScalingGroupNamesHasBeenSet = true;
45 m_autoScalingGroupNames = std::forward<AutoScalingGroupNamesT>(value);
46 }
47 template <typename AutoScalingGroupNamesT = Aws::Vector<Aws::String>>
49 SetAutoScalingGroupNames(std::forward<AutoScalingGroupNamesT>(value));
50 return *this;
51 }
52 template <typename AutoScalingGroupNamesT = Aws::String>
54 m_autoScalingGroupNamesHasBeenSet = true;
55 m_autoScalingGroupNames.emplace_back(std::forward<AutoScalingGroupNamesT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template <typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) {
69 m_nextTokenHasBeenSet = true;
70 m_nextToken = std::forward<NextTokenT>(value);
71 }
72 template <typename NextTokenT = Aws::String>
74 SetNextToken(std::forward<NextTokenT>(value));
75 return *this;
76 }
78
80
84 inline int GetMaxRecords() const { return m_maxRecords; }
85 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
86 inline void SetMaxRecords(int value) {
87 m_maxRecordsHasBeenSet = true;
88 m_maxRecords = value;
89 }
91 SetMaxRecords(value);
92 return *this;
93 }
95 private:
96 Aws::Vector<Aws::String> m_autoScalingGroupNames;
97 bool m_autoScalingGroupNamesHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxRecords{0};
103 bool m_maxRecordsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace AutoScaling
108} // namespace Aws
DescribeNotificationConfigurationsRequest & AddAutoScalingGroupNames(AutoScalingGroupNamesT &&value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNotificationConfigurationsRequest & WithAutoScalingGroupNames(AutoScalingGroupNamesT &&value)
DescribeNotificationConfigurationsRequest & WithNextToken(NextTokenT &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector