AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceResult.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/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 AppRunner
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPRUNNER_API UpdateServiceResult();
34
35
37
42 inline const Service& GetService() const{ return m_service; }
43 inline void SetService(const Service& value) { m_service = value; }
44 inline void SetService(Service&& value) { m_service = std::move(value); }
45 inline UpdateServiceResult& WithService(const Service& value) { SetService(value); return *this;}
46 inline UpdateServiceResult& WithService(Service&& value) { SetService(std::move(value)); return *this;}
48
50
55 inline const Aws::String& GetOperationId() const{ return m_operationId; }
56 inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
57 inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
58 inline void SetOperationId(const char* value) { m_operationId.assign(value); }
59 inline UpdateServiceResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
60 inline UpdateServiceResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
61 inline UpdateServiceResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline UpdateServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline UpdateServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline UpdateServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Service m_service;
77
78 Aws::String m_operationId;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace AppRunner
85} // namespace Aws
UpdateServiceResult & WithOperationId(const Aws::String &value)
UpdateServiceResult & WithService(const Service &value)
UpdateServiceResult & WithOperationId(Aws::String &&value)
UpdateServiceResult & WithRequestId(Aws::String &&value)
void SetOperationId(const Aws::String &value)
AWS_APPRUNNER_API UpdateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceResult & WithRequestId(const char *value)
UpdateServiceResult & WithOperationId(const char *value)
AWS_APPRUNNER_API UpdateServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceResult & WithService(Service &&value)
void SetRequestId(const Aws::String &value)
UpdateServiceResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue