AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateSyncBlockerResult.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/SyncBlocker.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 CodeStarconnections {
23namespace Model {
25 public:
26 AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerResult() = default;
29
31
34 inline const Aws::String& GetResourceName() const { return m_resourceName; }
35 template <typename ResourceNameT = Aws::String>
36 void SetResourceName(ResourceNameT&& value) {
37 m_resourceNameHasBeenSet = true;
38 m_resourceName = std::forward<ResourceNameT>(value);
39 }
40 template <typename ResourceNameT = Aws::String>
41 UpdateSyncBlockerResult& WithResourceName(ResourceNameT&& value) {
42 SetResourceName(std::forward<ResourceNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetParentResourceName() const { return m_parentResourceName; }
52 template <typename ParentResourceNameT = Aws::String>
53 void SetParentResourceName(ParentResourceNameT&& value) {
54 m_parentResourceNameHasBeenSet = true;
55 m_parentResourceName = std::forward<ParentResourceNameT>(value);
56 }
57 template <typename ParentResourceNameT = Aws::String>
58 UpdateSyncBlockerResult& WithParentResourceName(ParentResourceNameT&& value) {
59 SetParentResourceName(std::forward<ParentResourceNameT>(value));
60 return *this;
61 }
63
65
68 inline const SyncBlocker& GetSyncBlocker() const { return m_syncBlocker; }
69 template <typename SyncBlockerT = SyncBlocker>
70 void SetSyncBlocker(SyncBlockerT&& value) {
71 m_syncBlockerHasBeenSet = true;
72 m_syncBlocker = std::forward<SyncBlockerT>(value);
73 }
74 template <typename SyncBlockerT = SyncBlocker>
76 SetSyncBlocker(std::forward<SyncBlockerT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_resourceName;
97
98 Aws::String m_parentResourceName;
99
100 SyncBlocker m_syncBlocker;
101
102 Aws::String m_requestId;
103 bool m_resourceNameHasBeenSet = false;
104 bool m_parentResourceNameHasBeenSet = false;
105 bool m_syncBlockerHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace CodeStarconnections
111} // namespace Aws
UpdateSyncBlockerResult & WithResourceName(ResourceNameT &&value)
AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSyncBlockerResult & WithParentResourceName(ParentResourceNameT &&value)
UpdateSyncBlockerResult & WithRequestId(RequestIdT &&value)
AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerResult()=default
UpdateSyncBlockerResult & WithSyncBlocker(SyncBlockerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue