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