AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAutoScalingGroupNames(const Aws::Vector<Aws::String>& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames = value; }
47 inline void SetAutoScalingGroupNames(Aws::Vector<Aws::String>&& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames = std::move(value); }
50 inline DescribeNotificationConfigurationsRequest& AddAutoScalingGroupNames(const Aws::String& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames.push_back(value); return *this; }
51 inline DescribeNotificationConfigurationsRequest& AddAutoScalingGroupNames(Aws::String&& value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames.push_back(std::move(value)); return *this; }
52 inline DescribeNotificationConfigurationsRequest& AddAutoScalingGroupNames(const char* value) { m_autoScalingGroupNamesHasBeenSet = true; m_autoScalingGroupNames.push_back(value); return *this; }
54
56
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline DescribeNotificationConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline DescribeNotificationConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
75 inline int GetMaxRecords() const{ return m_maxRecords; }
76 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
77 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
80 private:
81
82 Aws::Vector<Aws::String> m_autoScalingGroupNames;
83 bool m_autoScalingGroupNamesHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87
88 int m_maxRecords;
89 bool m_maxRecordsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace AutoScaling
94} // namespace Aws
DescribeNotificationConfigurationsRequest & WithNextToken(const char *value)
DescribeNotificationConfigurationsRequest & WithNextToken(Aws::String &&value)
DescribeNotificationConfigurationsRequest & WithAutoScalingGroupNames(const Aws::Vector< Aws::String > &value)
DescribeNotificationConfigurationsRequest & AddAutoScalingGroupNames(Aws::String &&value)
DescribeNotificationConfigurationsRequest & AddAutoScalingGroupNames(const char *value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNotificationConfigurationsRequest & WithNextToken(const Aws::String &value)
DescribeNotificationConfigurationsRequest & WithAutoScalingGroupNames(Aws::Vector< Aws::String > &&value)
DescribeNotificationConfigurationsRequest & AddAutoScalingGroupNames(const Aws::String &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