AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSyncBlockerRequest.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-connections/model/SyncConfigurationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeStarconnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODESTARCONNECTIONS_API UpdateSyncBlockerRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSyncBlocker"; }
32
33 AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 UpdateSyncBlockerRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
54 inline SyncConfigurationType GetSyncType() const { return m_syncType; }
55 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
56 inline void SetSyncType(SyncConfigurationType value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
59
61
64 inline const Aws::String& GetResourceName() const { return m_resourceName; }
65 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
66 template<typename ResourceNameT = Aws::String>
67 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
68 template<typename ResourceNameT = Aws::String>
69 UpdateSyncBlockerRequest& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetResolvedReason() const { return m_resolvedReason; }
77 inline bool ResolvedReasonHasBeenSet() const { return m_resolvedReasonHasBeenSet; }
78 template<typename ResolvedReasonT = Aws::String>
79 void SetResolvedReason(ResolvedReasonT&& value) { m_resolvedReasonHasBeenSet = true; m_resolvedReason = std::forward<ResolvedReasonT>(value); }
80 template<typename ResolvedReasonT = Aws::String>
81 UpdateSyncBlockerRequest& WithResolvedReason(ResolvedReasonT&& value) { SetResolvedReason(std::forward<ResolvedReasonT>(value)); return *this;}
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
89 bool m_syncTypeHasBeenSet = false;
90
91 Aws::String m_resourceName;
92 bool m_resourceNameHasBeenSet = false;
93
94 Aws::String m_resolvedReason;
95 bool m_resolvedReasonHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CodeStarconnections
100} // 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