AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateServiceResult.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/Service.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ECS
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ECS_API CreateServiceResult();
34
35
37
49 inline const Service& GetService() const{ return m_service; }
50 inline void SetService(const Service& value) { m_service = value; }
51 inline void SetService(Service&& value) { m_service = std::move(value); }
52 inline CreateServiceResult& WithService(const Service& value) { SetService(value); return *this;}
53 inline CreateServiceResult& WithService(Service&& value) { SetService(std::move(value)); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline CreateServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline CreateServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline CreateServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 Service m_service;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace ECS
75} // namespace Aws
CreateServiceResult & WithRequestId(const char *value)
CreateServiceResult & WithRequestId(Aws::String &&value)
CreateServiceResult & WithService(const Service &value)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
CreateServiceResult & WithService(Service &&value)
void SetService(const Service &value)
AWS_ECS_API CreateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceResult & WithRequestId(const Aws::String &value)
AWS_ECS_API CreateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue