AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateServiceResult.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
47 inline const Service& GetService() const{ return m_service; }
48
61 inline void SetService(const Service& value) { m_service = value; }
62
75 inline void SetService(Service&& value) { m_service = std::move(value); }
76
89 inline CreateServiceResult& WithService(const Service& value) { SetService(value); return *this;}
90
103 inline CreateServiceResult& WithService(Service&& value) { SetService(std::move(value)); return *this;}
104
105 private:
106
107 Service m_service;
108 };
109
110} // namespace Model
111} // namespace ECS
112} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
CreateServiceResult & WithService(const Service &value)
CreateServiceResult & WithService(Service &&value)
void SetService(const Service &value)
AWS_ECS_API CreateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API CreateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)