AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeLaunchConfigurationsResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/ResponseMetadata.h>
11#include <aws/autoscaling/model/LaunchConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace AutoScaling
27{
28namespace Model
29{
31 {
32 public:
33 AWS_AUTOSCALING_API DescribeLaunchConfigurationsResult() = default;
36
37
39
42 inline const Aws::Vector<LaunchConfiguration>& GetLaunchConfigurations() const { return m_launchConfigurations; }
43 template<typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
44 void SetLaunchConfigurations(LaunchConfigurationsT&& value) { m_launchConfigurationsHasBeenSet = true; m_launchConfigurations = std::forward<LaunchConfigurationsT>(value); }
45 template<typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
46 DescribeLaunchConfigurationsResult& WithLaunchConfigurations(LaunchConfigurationsT&& value) { SetLaunchConfigurations(std::forward<LaunchConfigurationsT>(value)); return *this;}
47 template<typename LaunchConfigurationsT = LaunchConfiguration>
48 DescribeLaunchConfigurationsResult& AddLaunchConfigurations(LaunchConfigurationsT&& value) { m_launchConfigurationsHasBeenSet = true; m_launchConfigurations.emplace_back(std::forward<LaunchConfigurationsT>(value)); return *this; }
50
52
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 DescribeLaunchConfigurationsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
68 template<typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
70 template<typename ResponseMetadataT = ResponseMetadata>
71 DescribeLaunchConfigurationsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
73 private:
74
75 Aws::Vector<LaunchConfiguration> m_launchConfigurations;
76 bool m_launchConfigurationsHasBeenSet = false;
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80
81 ResponseMetadata m_responseMetadata;
82 bool m_responseMetadataHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace AutoScaling
87} // 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