AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSyncBlockerResult.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/SyncBlocker.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 CodeStarconnections
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerResult() = default;
34
35
37
40 inline const Aws::String& GetResourceName() const { return m_resourceName; }
41 template<typename ResourceNameT = Aws::String>
42 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
43 template<typename ResourceNameT = Aws::String>
44 UpdateSyncBlockerResult& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetParentResourceName() const { return m_parentResourceName; }
52 template<typename ParentResourceNameT = Aws::String>
53 void SetParentResourceName(ParentResourceNameT&& value) { m_parentResourceNameHasBeenSet = true; m_parentResourceName = std::forward<ParentResourceNameT>(value); }
54 template<typename ParentResourceNameT = Aws::String>
55 UpdateSyncBlockerResult& WithParentResourceName(ParentResourceNameT&& value) { SetParentResourceName(std::forward<ParentResourceNameT>(value)); return *this;}
57
59
62 inline const SyncBlocker& GetSyncBlocker() const { return m_syncBlocker; }
63 template<typename SyncBlockerT = SyncBlocker>
64 void SetSyncBlocker(SyncBlockerT&& value) { m_syncBlockerHasBeenSet = true; m_syncBlocker = std::forward<SyncBlockerT>(value); }
65 template<typename SyncBlockerT = SyncBlocker>
66 UpdateSyncBlockerResult& WithSyncBlocker(SyncBlockerT&& value) { SetSyncBlocker(std::forward<SyncBlockerT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 UpdateSyncBlockerResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_resourceName;
80 bool m_resourceNameHasBeenSet = false;
81
82 Aws::String m_parentResourceName;
83 bool m_parentResourceNameHasBeenSet = false;
84
85 SyncBlocker m_syncBlocker;
86 bool m_syncBlockerHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CodeStarconnections
94} // 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