AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DescribeLaunchConfigurationsResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/LaunchConfiguration.h>
9#include <aws/autoscaling/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace AutoScaling {
25namespace Model {
27 public:
28 AWS_AUTOSCALING_API DescribeLaunchConfigurationsResult() = default;
32
34
37 inline const Aws::Vector<LaunchConfiguration>& GetLaunchConfigurations() const { return m_launchConfigurations; }
38 template <typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
39 void SetLaunchConfigurations(LaunchConfigurationsT&& value) {
40 m_launchConfigurationsHasBeenSet = true;
41 m_launchConfigurations = std::forward<LaunchConfigurationsT>(value);
42 }
43 template <typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
45 SetLaunchConfigurations(std::forward<LaunchConfigurationsT>(value));
46 return *this;
47 }
48 template <typename LaunchConfigurationsT = LaunchConfiguration>
50 m_launchConfigurationsHasBeenSet = true;
51 m_launchConfigurations.emplace_back(std::forward<LaunchConfigurationsT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 template <typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) {
66 m_nextTokenHasBeenSet = true;
67 m_nextToken = std::forward<NextTokenT>(value);
68 }
69 template <typename NextTokenT = Aws::String>
71 SetNextToken(std::forward<NextTokenT>(value));
72 return *this;
73 }
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
79 template <typename ResponseMetadataT = ResponseMetadata>
80 void SetResponseMetadata(ResponseMetadataT&& value) {
81 m_responseMetadataHasBeenSet = true;
82 m_responseMetadata = std::forward<ResponseMetadataT>(value);
83 }
84 template <typename ResponseMetadataT = ResponseMetadata>
86 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
87 return *this;
88 }
90 private:
91 Aws::Vector<LaunchConfiguration> m_launchConfigurations;
92
93 Aws::String m_nextToken;
94
95 ResponseMetadata m_responseMetadata;
96 bool m_launchConfigurationsHasBeenSet = false;
97 bool m_nextTokenHasBeenSet = false;
98 bool m_responseMetadataHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AutoScaling
103} // namespace Aws
AWS_AUTOSCALING_API DescribeLaunchConfigurationsResult()=default
const Aws::Vector< LaunchConfiguration > & GetLaunchConfigurations() const
DescribeLaunchConfigurationsResult & WithNextToken(NextTokenT &&value)
AWS_AUTOSCALING_API DescribeLaunchConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLaunchConfigurationsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeLaunchConfigurationsResult & AddLaunchConfigurations(LaunchConfigurationsT &&value)
AWS_AUTOSCALING_API DescribeLaunchConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLaunchConfigurationsResult & WithLaunchConfigurations(LaunchConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument