AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteServiceResult.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 DeleteServiceResult() = default;
29
31
34 inline const Service& GetService() const { return m_service; }
35 template <typename ServiceT = Service>
36 void SetService(ServiceT&& value) {
37 m_serviceHasBeenSet = true;
38 m_service = std::forward<ServiceT>(value);
39 }
40 template <typename ServiceT = Service>
41 DeleteServiceResult& WithService(ServiceT&& value) {
42 SetService(std::forward<ServiceT>(value));
43 return *this;
44 }
46
48
53 inline const Aws::String& GetOperationId() const { return m_operationId; }
54 template <typename OperationIdT = Aws::String>
55 void SetOperationId(OperationIdT&& value) {
56 m_operationIdHasBeenSet = true;
57 m_operationId = std::forward<OperationIdT>(value);
58 }
59 template <typename OperationIdT = Aws::String>
60 DeleteServiceResult& WithOperationId(OperationIdT&& value) {
61 SetOperationId(std::forward<OperationIdT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
75 DeleteServiceResult& WithRequestId(RequestIdT&& value) {
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 Service m_service;
82
83 Aws::String m_operationId;
84
85 Aws::String m_requestId;
86 bool m_serviceHasBeenSet = false;
87 bool m_operationIdHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace AppRunner
93} // namespace Aws
AWS_APPRUNNER_API DeleteServiceResult()=default
AWS_APPRUNNER_API DeleteServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithRequestId(RequestIdT &&value)
DeleteServiceResult & WithOperationId(OperationIdT &&value)
AWS_APPRUNNER_API DeleteServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteServiceResult & WithService(ServiceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue