AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingPlansClient.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/autoscaling-plans/AutoScalingPlansServiceClientModel.h>
13
14namespace Aws
15{
16namespace AutoScalingPlans
17{
35 class AWS_AUTOSCALINGPLANS_API AutoScalingPlansClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<AutoScalingPlansClient>
36 {
37 public:
39 static const char* GetServiceName();
40 static const char* GetAllocationTag();
41
44
50 std::shared_ptr<AutoScalingPlansEndpointProviderBase> endpointProvider = nullptr);
51
57 std::shared_ptr<AutoScalingPlansEndpointProviderBase> endpointProvider = nullptr,
59
64 AutoScalingPlansClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
65 std::shared_ptr<AutoScalingPlansEndpointProviderBase> endpointProvider = nullptr,
67
68
69 /* Legacy constructors due deprecation */
75
81 const Aws::Client::ClientConfiguration& clientConfiguration);
82
87 AutoScalingPlansClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
88 const Aws::Client::ClientConfiguration& clientConfiguration);
89
90 /* End of legacy constructors due deprecation */
92
99
103 template<typename CreateScalingPlanRequestT = Model::CreateScalingPlanRequest>
104 Model::CreateScalingPlanOutcomeCallable CreateScalingPlanCallable(const CreateScalingPlanRequestT& request) const
105 {
106 return SubmitCallable(&AutoScalingPlansClient::CreateScalingPlan, request);
107 }
108
112 template<typename CreateScalingPlanRequestT = Model::CreateScalingPlanRequest>
113 void CreateScalingPlanAsync(const CreateScalingPlanRequestT& request, const CreateScalingPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
114 {
115 return SubmitAsync(&AutoScalingPlansClient::CreateScalingPlan, request, handler, context);
116 }
117
128
132 template<typename DeleteScalingPlanRequestT = Model::DeleteScalingPlanRequest>
133 Model::DeleteScalingPlanOutcomeCallable DeleteScalingPlanCallable(const DeleteScalingPlanRequestT& request) const
134 {
135 return SubmitCallable(&AutoScalingPlansClient::DeleteScalingPlan, request);
136 }
137
141 template<typename DeleteScalingPlanRequestT = Model::DeleteScalingPlanRequest>
142 void DeleteScalingPlanAsync(const DeleteScalingPlanRequestT& request, const DeleteScalingPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
143 {
144 return SubmitAsync(&AutoScalingPlansClient::DeleteScalingPlan, request, handler, context);
145 }
146
154
158 template<typename DescribeScalingPlanResourcesRequestT = Model::DescribeScalingPlanResourcesRequest>
159 Model::DescribeScalingPlanResourcesOutcomeCallable DescribeScalingPlanResourcesCallable(const DescribeScalingPlanResourcesRequestT& request) const
160 {
161 return SubmitCallable(&AutoScalingPlansClient::DescribeScalingPlanResources, request);
162 }
163
167 template<typename DescribeScalingPlanResourcesRequestT = Model::DescribeScalingPlanResourcesRequest>
168 void DescribeScalingPlanResourcesAsync(const DescribeScalingPlanResourcesRequestT& request, const DescribeScalingPlanResourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
169 {
170 return SubmitAsync(&AutoScalingPlansClient::DescribeScalingPlanResources, request, handler, context);
171 }
172
179
183 template<typename DescribeScalingPlansRequestT = Model::DescribeScalingPlansRequest>
184 Model::DescribeScalingPlansOutcomeCallable DescribeScalingPlansCallable(const DescribeScalingPlansRequestT& request = {}) const
185 {
186 return SubmitCallable(&AutoScalingPlansClient::DescribeScalingPlans, request);
187 }
188
192 template<typename DescribeScalingPlansRequestT = Model::DescribeScalingPlansRequest>
193 void DescribeScalingPlansAsync(const DescribeScalingPlansResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DescribeScalingPlansRequestT& request = {}) const
194 {
195 return SubmitAsync(&AutoScalingPlansClient::DescribeScalingPlans, request, handler, context);
196 }
197
207
211 template<typename GetScalingPlanResourceForecastDataRequestT = Model::GetScalingPlanResourceForecastDataRequest>
213 {
214 return SubmitCallable(&AutoScalingPlansClient::GetScalingPlanResourceForecastData, request);
215 }
216
220 template<typename GetScalingPlanResourceForecastDataRequestT = Model::GetScalingPlanResourceForecastDataRequest>
221 void GetScalingPlanResourceForecastDataAsync(const GetScalingPlanResourceForecastDataRequestT& request, const GetScalingPlanResourceForecastDataResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
222 {
223 return SubmitAsync(&AutoScalingPlansClient::GetScalingPlanResourceForecastData, request, handler, context);
224 }
225
234
238 template<typename UpdateScalingPlanRequestT = Model::UpdateScalingPlanRequest>
239 Model::UpdateScalingPlanOutcomeCallable UpdateScalingPlanCallable(const UpdateScalingPlanRequestT& request) const
240 {
241 return SubmitCallable(&AutoScalingPlansClient::UpdateScalingPlan, request);
242 }
243
247 template<typename UpdateScalingPlanRequestT = Model::UpdateScalingPlanRequest>
248 void UpdateScalingPlanAsync(const UpdateScalingPlanRequestT& request, const UpdateScalingPlanResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
249 {
250 return SubmitAsync(&AutoScalingPlansClient::UpdateScalingPlan, request, handler, context);
251 }
252
253
254 void OverrideEndpoint(const Aws::String& endpoint);
255 std::shared_ptr<AutoScalingPlansEndpointProviderBase>& accessEndpointProvider();
256 private:
258 void init(const AutoScalingPlansClientConfiguration& clientConfiguration);
259
260 AutoScalingPlansClientConfiguration m_clientConfiguration;
261 std::shared_ptr<AutoScalingPlansEndpointProviderBase> m_endpointProvider;
262 };
263
264} // namespace AutoScalingPlans
265} // namespace Aws
void DescribeScalingPlanResourcesAsync(const DescribeScalingPlanResourcesRequestT &request, const DescribeScalingPlanResourcesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DescribeScalingPlanResourcesOutcome DescribeScalingPlanResources(const Model::DescribeScalingPlanResourcesRequest &request) const
virtual Model::UpdateScalingPlanOutcome UpdateScalingPlan(const Model::UpdateScalingPlanRequest &request) const
AutoScalingPlansClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
AutoScalingPlansClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void CreateScalingPlanAsync(const CreateScalingPlanRequestT &request, const CreateScalingPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateScalingPlanOutcomeCallable CreateScalingPlanCallable(const CreateScalingPlanRequestT &request) const
void DescribeScalingPlansAsync(const DescribeScalingPlansResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DescribeScalingPlansRequestT &request={}) const
Model::GetScalingPlanResourceForecastDataOutcomeCallable GetScalingPlanResourceForecastDataCallable(const GetScalingPlanResourceForecastDataRequestT &request) const
virtual Model::CreateScalingPlanOutcome CreateScalingPlan(const Model::CreateScalingPlanRequest &request) const
Model::DeleteScalingPlanOutcomeCallable DeleteScalingPlanCallable(const DeleteScalingPlanRequestT &request) const
virtual Model::GetScalingPlanResourceForecastDataOutcome GetScalingPlanResourceForecastData(const Model::GetScalingPlanResourceForecastDataRequest &request) const
AutoScalingPlansClientConfiguration ClientConfigurationType
AutoScalingPlansClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AutoScalingPlansEndpointProviderBase > endpointProvider=nullptr, const Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration &clientConfiguration=Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration())
AutoScalingPlansClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AutoScalingPlansEndpointProviderBase > endpointProvider=nullptr, const Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration &clientConfiguration=Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration())
AutoScalingPlansEndpointProvider EndpointProviderType
Model::UpdateScalingPlanOutcomeCallable UpdateScalingPlanCallable(const UpdateScalingPlanRequestT &request) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::DescribeScalingPlansOutcomeCallable DescribeScalingPlansCallable(const DescribeScalingPlansRequestT &request={}) const
AutoScalingPlansClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void UpdateScalingPlanAsync(const UpdateScalingPlanRequestT &request, const UpdateScalingPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeScalingPlanResourcesOutcomeCallable DescribeScalingPlanResourcesCallable(const DescribeScalingPlanResourcesRequestT &request) const
void DeleteScalingPlanAsync(const DeleteScalingPlanRequestT &request, const DeleteScalingPlanResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AutoScalingPlansClient(const Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration &clientConfiguration=Aws::AutoScalingPlans::AutoScalingPlansClientConfiguration(), std::shared_ptr< AutoScalingPlansEndpointProviderBase > endpointProvider=nullptr)
std::shared_ptr< AutoScalingPlansEndpointProviderBase > & accessEndpointProvider()
virtual Model::DescribeScalingPlansOutcome DescribeScalingPlans(const Model::DescribeScalingPlansRequest &request={}) const
virtual Model::DeleteScalingPlanOutcome DeleteScalingPlan(const Model::DeleteScalingPlanRequest &request) const
void GetScalingPlanResourceForecastDataAsync(const GetScalingPlanResourceForecastDataRequestT &request, const GetScalingPlanResourceForecastDataResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< CreateScalingPlanOutcome > CreateScalingPlanOutcomeCallable
std::future< DescribeScalingPlansOutcome > DescribeScalingPlansOutcomeCallable
std::future< DescribeScalingPlanResourcesOutcome > DescribeScalingPlanResourcesOutcomeCallable
std::future< UpdateScalingPlanOutcome > UpdateScalingPlanOutcomeCallable
std::future< DeleteScalingPlanOutcome > DeleteScalingPlanOutcomeCallable
std::future< GetScalingPlanResourceForecastDataOutcome > GetScalingPlanResourceForecastDataOutcomeCallable
std::function< void(const AutoScalingPlansClient *, const Model::UpdateScalingPlanRequest &, const Model::UpdateScalingPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateScalingPlanResponseReceivedHandler
std::function< void(const AutoScalingPlansClient *, const Model::DeleteScalingPlanRequest &, const Model::DeleteScalingPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteScalingPlanResponseReceivedHandler
std::function< void(const AutoScalingPlansClient *, const Model::GetScalingPlanResourceForecastDataRequest &, const Model::GetScalingPlanResourceForecastDataOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetScalingPlanResourceForecastDataResponseReceivedHandler
std::function< void(const AutoScalingPlansClient *, const Model::DescribeScalingPlanResourcesRequest &, const Model::DescribeScalingPlanResourcesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeScalingPlanResourcesResponseReceivedHandler
std::function< void(const AutoScalingPlansClient *, const Model::CreateScalingPlanRequest &, const Model::CreateScalingPlanOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateScalingPlanResponseReceivedHandler
std::function< void(const AutoScalingPlansClient *, const Model::DescribeScalingPlansRequest &, const Model::DescribeScalingPlansOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeScalingPlansResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String