AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateSyncBlockerRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
8#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
9#include <aws/codestar-connections/model/SyncConfigurationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeStarconnections {
16namespace Model {
17
21 public:
22 AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSyncBlocker"; }
29
30 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
31
32 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
57 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
59 m_syncTypeHasBeenSet = true;
60 m_syncType = value;
61 }
63 SetSyncType(value);
64 return *this;
65 }
67
69
72 inline const Aws::String& GetResourceName() const { return m_resourceName; }
73 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
74 template <typename ResourceNameT = Aws::String>
75 void SetResourceName(ResourceNameT&& value) {
76 m_resourceNameHasBeenSet = true;
77 m_resourceName = std::forward<ResourceNameT>(value);
78 }
79 template <typename ResourceNameT = Aws::String>
81 SetResourceName(std::forward<ResourceNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetResolvedReason() const { return m_resolvedReason; }
91 inline bool ResolvedReasonHasBeenSet() const { return m_resolvedReasonHasBeenSet; }
92 template <typename ResolvedReasonT = Aws::String>
93 void SetResolvedReason(ResolvedReasonT&& value) {
94 m_resolvedReasonHasBeenSet = true;
95 m_resolvedReason = std::forward<ResolvedReasonT>(value);
96 }
97 template <typename ResolvedReasonT = Aws::String>
98 UpdateSyncBlockerRequest& WithResolvedReason(ResolvedReasonT&& value) {
99 SetResolvedReason(std::forward<ResolvedReasonT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_id;
105
107
108 Aws::String m_resourceName;
109
110 Aws::String m_resolvedReason;
111 bool m_idHasBeenSet = false;
112 bool m_syncTypeHasBeenSet = false;
113 bool m_resourceNameHasBeenSet = false;
114 bool m_resolvedReasonHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace CodeStarconnections
119} // namespace Aws
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSyncBlockerRequest & WithResolvedReason(ResolvedReasonT &&value)
UpdateSyncBlockerRequest & WithSyncType(SyncConfigurationType value)
AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerRequest()=default
UpdateSyncBlockerRequest & WithResourceName(ResourceNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String