AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace AppRunner {
23namespace Model {
25 public:
26 AWS_APPRUNNER_API UpdateServiceResult() = default;
29
31
36 inline const Service& GetService() const { return m_service; }
37 template <typename ServiceT = Service>
38 void SetService(ServiceT&& value) {
39 m_serviceHasBeenSet = true;
40 m_service = std::forward<ServiceT>(value);
41 }
42 template <typename ServiceT = Service>
43 UpdateServiceResult& WithService(ServiceT&& value) {
44 SetService(std::forward<ServiceT>(value));
45 return *this;
46 }
48
50
55 inline const Aws::String& GetOperationId() const { return m_operationId; }
56 template <typename OperationIdT = Aws::String>
57 void SetOperationId(OperationIdT&& value) {
58 m_operationIdHasBeenSet = true;
59 m_operationId = std::forward<OperationIdT>(value);
60 }
61 template <typename OperationIdT = Aws::String>
62 UpdateServiceResult& WithOperationId(OperationIdT&& value) {
63 SetOperationId(std::forward<OperationIdT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
77 UpdateServiceResult& WithRequestId(RequestIdT&& value) {
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 private:
83 Service m_service;
84
85 Aws::String m_operationId;
86
87 Aws::String m_requestId;
88 bool m_serviceHasBeenSet = false;
89 bool m_operationIdHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace AppRunner
95} // namespace Aws
AWS_APPRUNNER_API UpdateServiceResult()=default
UpdateServiceResult & WithOperationId(OperationIdT &&value)
UpdateServiceResult & WithRequestId(RequestIdT &&value)
AWS_APPRUNNER_API UpdateServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateServiceResult & WithService(ServiceT &&value)
AWS_APPRUNNER_API UpdateServiceResult & operator=(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