AWS SDK for C++  1.9.155
AWS SDK for C++
UpdateCapacityProviderResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const CapacityProvider& GetCapacityProvider() const{ return m_capacityProvider; }
39 
43  inline void SetCapacityProvider(const CapacityProvider& value) { m_capacityProvider = value; }
44 
48  inline void SetCapacityProvider(CapacityProvider&& value) { m_capacityProvider = std::move(value); }
49 
53  inline UpdateCapacityProviderResult& WithCapacityProvider(const CapacityProvider& value) { SetCapacityProvider(value); return *this;}
54 
58  inline UpdateCapacityProviderResult& WithCapacityProvider(CapacityProvider&& value) { SetCapacityProvider(std::move(value)); return *this;}
59 
60  private:
61 
62  CapacityProvider m_capacityProvider;
63  };
64 
65 } // namespace Model
66 } // namespace ECS
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::UpdateCapacityProviderResult::SetCapacityProvider
void SetCapacityProvider(const CapacityProvider &value)
Definition: UpdateCapacityProviderResult.h:43
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::UpdateCapacityProviderResult::operator=
UpdateCapacityProviderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::UpdateCapacityProviderResult::UpdateCapacityProviderResult
UpdateCapacityProviderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::UpdateCapacityProviderResult::SetCapacityProvider
void SetCapacityProvider(CapacityProvider &&value)
Definition: UpdateCapacityProviderResult.h:48
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::UpdateCapacityProviderResult
Definition: UpdateCapacityProviderResult.h:28
Aws::ECS::Model::CapacityProvider
Definition: CapacityProvider.h:37
Aws::ECS::Model::UpdateCapacityProviderResult::UpdateCapacityProviderResult
UpdateCapacityProviderResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::UpdateCapacityProviderResult::GetCapacityProvider
const CapacityProvider & GetCapacityProvider() const
Definition: UpdateCapacityProviderResult.h:38
Aws
Definition: AccessManagementClient.h:15
CapacityProvider.h
Aws::ECS::Model::UpdateCapacityProviderResult::WithCapacityProvider
UpdateCapacityProviderResult & WithCapacityProvider(const CapacityProvider &value)
Definition: UpdateCapacityProviderResult.h:53
Aws::ECS::Model::UpdateCapacityProviderResult::WithCapacityProvider
UpdateCapacityProviderResult & WithCapacityProvider(CapacityProvider &&value)
Definition: UpdateCapacityProviderResult.h:58
ECS_EXPORTS.h