AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeNotificationConfigurationsRequest.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 DescribeNotificationConfigurationsRequest() = default;
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 "DescribeNotificationConfigurations"; }
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
44 inline const Aws::Vector<Aws::String>& GetAutoScalingGroupNames() const { return m_autoScalingGroupNames; }
45 inline bool AutoScalingGroupNamesHasBeenSet() const { return m_autoScalingGroupNamesHasBeenSet; }
46 template<typename AutoScalingGroupNamesT = Aws::Vector<Aws::String>>
47 void SetAutoScalingGroupNames(AutoScalingGroupNamesT&& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames = std::forward<AutoScalingGroupNamesT>(value); }
48 template<typename AutoScalingGroupNamesT = Aws::Vector<Aws::String>>
49 DescribeNotificationConfigurationsRequest& WithAutoScalingGroupNames(AutoScalingGroupNamesT&& value) { SetAutoScalingGroupNames(std::forward<AutoScalingGroupNamesT>(value)); return *this;}
50 template<typename AutoScalingGroupNamesT = Aws::String>
51 DescribeNotificationConfigurationsRequest& AddAutoScalingGroupNames(AutoScalingGroupNamesT&& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames.emplace_back(std::forward<AutoScalingGroupNamesT>(value)); return *this; }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template<typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<typename NextTokenT = Aws::String>
64 DescribeNotificationConfigurationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
66
68
72 inline int GetMaxRecords() const { return m_maxRecords; }
73 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
74 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
77 private:
78
79 Aws::Vector<Aws::String> m_autoScalingGroupNames;
80 bool m_autoScalingGroupNamesHasBeenSet = false;
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 int m_maxRecords{0};
86 bool m_maxRecordsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AutoScaling
91} // 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