AWS SDK for C++  1.9.156
AWS SDK for C++
DeregisterContainerInstanceResult.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 ContainerInstance& GetContainerInstance() const{ return m_containerInstance; }
39 
43  inline void SetContainerInstance(const ContainerInstance& value) { m_containerInstance = value; }
44 
48  inline void SetContainerInstance(ContainerInstance&& value) { m_containerInstance = std::move(value); }
49 
53  inline DeregisterContainerInstanceResult& WithContainerInstance(const ContainerInstance& value) { SetContainerInstance(value); return *this;}
54 
58  inline DeregisterContainerInstanceResult& WithContainerInstance(ContainerInstance&& value) { SetContainerInstance(std::move(value)); return *this;}
59 
60  private:
61 
62  ContainerInstance m_containerInstance;
63  };
64 
65 } // namespace Model
66 } // namespace ECS
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::DeregisterContainerInstanceResult::SetContainerInstance
void SetContainerInstance(const ContainerInstance &value)
Definition: DeregisterContainerInstanceResult.h:43
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::DeregisterContainerInstanceResult::DeregisterContainerInstanceResult
DeregisterContainerInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::DeregisterContainerInstanceResult::SetContainerInstance
void SetContainerInstance(ContainerInstance &&value)
Definition: DeregisterContainerInstanceResult.h:48
Aws::ECS::Model::DeregisterContainerInstanceResult::DeregisterContainerInstanceResult
DeregisterContainerInstanceResult()
Aws::ECS::Model::DeregisterContainerInstanceResult::WithContainerInstance
DeregisterContainerInstanceResult & WithContainerInstance(const ContainerInstance &value)
Definition: DeregisterContainerInstanceResult.h:53
ContainerInstance.h
Aws::ECS::Model::DeregisterContainerInstanceResult::WithContainerInstance
DeregisterContainerInstanceResult & WithContainerInstance(ContainerInstance &&value)
Definition: DeregisterContainerInstanceResult.h:58
Aws::ECS::Model::DeregisterContainerInstanceResult::GetContainerInstance
const ContainerInstance & GetContainerInstance() const
Definition: DeregisterContainerInstanceResult.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::DeregisterContainerInstanceResult
Definition: DeregisterContainerInstanceResult.h:28
Aws::ECS::Model::DeregisterContainerInstanceResult::operator=
DeregisterContainerInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ContainerInstance
Definition: ContainerInstance.h:42
ECS_EXPORTS.h