AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DeleteCapacityProviderRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ECS {
15namespace Model {
16
20 public:
21 AWS_ECS_API DeleteCapacityProviderRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteCapacityProvider"; }
28
29 AWS_ECS_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetCapacityProvider() const { return m_capacityProvider; }
39 inline bool CapacityProviderHasBeenSet() const { return m_capacityProviderHasBeenSet; }
40 template <typename CapacityProviderT = Aws::String>
41 void SetCapacityProvider(CapacityProviderT&& value) {
42 m_capacityProviderHasBeenSet = true;
43 m_capacityProvider = std::forward<CapacityProviderT>(value);
44 }
45 template <typename CapacityProviderT = Aws::String>
47 SetCapacityProvider(std::forward<CapacityProviderT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetCluster() const { return m_cluster; }
59 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
60 template <typename ClusterT = Aws::String>
61 void SetCluster(ClusterT&& value) {
62 m_clusterHasBeenSet = true;
63 m_cluster = std::forward<ClusterT>(value);
64 }
65 template <typename ClusterT = Aws::String>
67 SetCluster(std::forward<ClusterT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_capacityProvider;
73
74 Aws::String m_cluster;
75 bool m_capacityProviderHasBeenSet = false;
76 bool m_clusterHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ECS
81} // namespace Aws
AWS_ECS_API Aws::String SerializePayload() const override
DeleteCapacityProviderRequest & WithCluster(ClusterT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteCapacityProviderRequest & WithCapacityProvider(CapacityProviderT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String