AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLaunchConfigurationsRequest.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 DescribeLaunchConfigurationsRequest() = 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 "DescribeLaunchConfigurations"; }
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
46 inline const Aws::Vector<Aws::String>& GetLaunchConfigurationNames() const { return m_launchConfigurationNames; }
47 inline bool LaunchConfigurationNamesHasBeenSet() const { return m_launchConfigurationNamesHasBeenSet; }
48 template<typename LaunchConfigurationNamesT = Aws::Vector<Aws::String>>
49 void SetLaunchConfigurationNames(LaunchConfigurationNamesT&& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames = std::forward<LaunchConfigurationNamesT>(value); }
50 template<typename LaunchConfigurationNamesT = Aws::Vector<Aws::String>>
51 DescribeLaunchConfigurationsRequest& WithLaunchConfigurationNames(LaunchConfigurationNamesT&& value) { SetLaunchConfigurationNames(std::forward<LaunchConfigurationNamesT>(value)); return *this;}
52 template<typename LaunchConfigurationNamesT = Aws::String>
53 DescribeLaunchConfigurationsRequest& AddLaunchConfigurationNames(LaunchConfigurationNamesT&& value) { m_launchConfigurationNamesHasBeenSet = true; m_launchConfigurationNames.emplace_back(std::forward<LaunchConfigurationNamesT>(value)); return *this; }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 DescribeLaunchConfigurationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
74 inline int GetMaxRecords() const { return m_maxRecords; }
75 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
76 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
77 inline DescribeLaunchConfigurationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
79 private:
80
81 Aws::Vector<Aws::String> m_launchConfigurationNames;
82 bool m_launchConfigurationNamesHasBeenSet = false;
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
87 int m_maxRecords{0};
88 bool m_maxRecordsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace AutoScaling
93} // namespace Aws
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeLaunchConfigurationsRequest & WithNextToken(NextTokenT &&value)
DescribeLaunchConfigurationsRequest & WithLaunchConfigurationNames(LaunchConfigurationNamesT &&value)
AWS_AUTOSCALING_API DescribeLaunchConfigurationsRequest()=default
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
DescribeLaunchConfigurationsRequest & AddLaunchConfigurationNames(LaunchConfigurationNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector