AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
UpdateSyncBlockerResult.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/SyncBlocker.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeConnections {
24namespace Model {
26 public:
27 AWS_CODECONNECTIONS_API UpdateSyncBlockerResult() = default;
30
32
35 inline const Aws::String& GetResourceName() const { return m_resourceName; }
36 template <typename ResourceNameT = Aws::String>
37 void SetResourceName(ResourceNameT&& value) {
38 m_resourceNameHasBeenSet = true;
39 m_resourceName = std::forward<ResourceNameT>(value);
40 }
41 template <typename ResourceNameT = Aws::String>
42 UpdateSyncBlockerResult& WithResourceName(ResourceNameT&& value) {
43 SetResourceName(std::forward<ResourceNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetParentResourceName() const { return m_parentResourceName; }
53 template <typename ParentResourceNameT = Aws::String>
54 void SetParentResourceName(ParentResourceNameT&& value) {
55 m_parentResourceNameHasBeenSet = true;
56 m_parentResourceName = std::forward<ParentResourceNameT>(value);
57 }
58 template <typename ParentResourceNameT = Aws::String>
59 UpdateSyncBlockerResult& WithParentResourceName(ParentResourceNameT&& value) {
60 SetParentResourceName(std::forward<ParentResourceNameT>(value));
61 return *this;
62 }
64
66
69 inline const SyncBlocker& GetSyncBlocker() const { return m_syncBlocker; }
70 template <typename SyncBlockerT = SyncBlocker>
71 void SetSyncBlocker(SyncBlockerT&& value) {
72 m_syncBlockerHasBeenSet = true;
73 m_syncBlocker = std::forward<SyncBlockerT>(value);
74 }
75 template <typename SyncBlockerT = SyncBlocker>
77 SetSyncBlocker(std::forward<SyncBlockerT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_resourceName;
100
101 Aws::String m_parentResourceName;
102
103 SyncBlocker m_syncBlocker;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_resourceNameHasBeenSet = false;
108 bool m_parentResourceNameHasBeenSet = false;
109 bool m_syncBlockerHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace CodeConnections
115} // namespace Aws
UpdateSyncBlockerResult & WithSyncBlocker(SyncBlockerT &&value)
UpdateSyncBlockerResult & WithRequestId(RequestIdT &&value)
AWS_CODECONNECTIONS_API UpdateSyncBlockerResult()=default
AWS_CODECONNECTIONS_API UpdateSyncBlockerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECONNECTIONS_API UpdateSyncBlockerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSyncBlockerResult & WithParentResourceName(ParentResourceNameT &&value)
UpdateSyncBlockerResult & WithResourceName(ResourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue