AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PutClusterCapacityProvidersResult.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECS
24{
25namespace Model
26{
28 {
29 public:
33
34
38 inline const Cluster& GetCluster() const{ return m_cluster; }
39
43 inline void SetCluster(const Cluster& value) { m_cluster = value; }
44
48 inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); }
49
53 inline PutClusterCapacityProvidersResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;}
54
58 inline PutClusterCapacityProvidersResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;}
59
60 private:
61
62 Cluster m_cluster;
63 };
64
65} // namespace Model
66} // namespace ECS
67} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API PutClusterCapacityProvidersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API PutClusterCapacityProvidersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutClusterCapacityProvidersResult & WithCluster(Cluster &&value)
PutClusterCapacityProvidersResult & WithCluster(const Cluster &value)