AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSyncBlockerRequest.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/CodeConnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeconnections/model/SyncConfigurationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeConnections
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECONNECTIONS_API UpdateSyncBlockerRequest();
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_CODECONNECTIONS_API Aws::String SerializePayload() const override;
34
35 AWS_CODECONNECTIONS_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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline UpdateSyncBlockerRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline UpdateSyncBlockerRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline UpdateSyncBlockerRequest& WithId(const char* value) { SetId(value); return *this;}
51
53
56 inline const SyncConfigurationType& GetSyncType() const{ return m_syncType; }
57 inline bool SyncTypeHasBeenSet() const { return m_syncTypeHasBeenSet; }
58 inline void SetSyncType(const SyncConfigurationType& value) { m_syncTypeHasBeenSet = true; m_syncType = value; }
59 inline void SetSyncType(SyncConfigurationType&& value) { m_syncTypeHasBeenSet = true; m_syncType = std::move(value); }
60 inline UpdateSyncBlockerRequest& WithSyncType(const SyncConfigurationType& value) { SetSyncType(value); return *this;}
61 inline UpdateSyncBlockerRequest& WithSyncType(SyncConfigurationType&& value) { SetSyncType(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
69 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
70 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
71 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
72 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
73 inline UpdateSyncBlockerRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
74 inline UpdateSyncBlockerRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
75 inline UpdateSyncBlockerRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
77
79
82 inline const Aws::String& GetResolvedReason() const{ return m_resolvedReason; }
83 inline bool ResolvedReasonHasBeenSet() const { return m_resolvedReasonHasBeenSet; }
84 inline void SetResolvedReason(const Aws::String& value) { m_resolvedReasonHasBeenSet = true; m_resolvedReason = value; }
85 inline void SetResolvedReason(Aws::String&& value) { m_resolvedReasonHasBeenSet = true; m_resolvedReason = std::move(value); }
86 inline void SetResolvedReason(const char* value) { m_resolvedReasonHasBeenSet = true; m_resolvedReason.assign(value); }
87 inline UpdateSyncBlockerRequest& WithResolvedReason(const Aws::String& value) { SetResolvedReason(value); return *this;}
88 inline UpdateSyncBlockerRequest& WithResolvedReason(Aws::String&& value) { SetResolvedReason(std::move(value)); return *this;}
89 inline UpdateSyncBlockerRequest& WithResolvedReason(const char* value) { SetResolvedReason(value); return *this;}
91 private:
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 SyncConfigurationType m_syncType;
97 bool m_syncTypeHasBeenSet = false;
98
99 Aws::String m_resourceName;
100 bool m_resourceNameHasBeenSet = false;
101
102 Aws::String m_resolvedReason;
103 bool m_resolvedReasonHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace CodeConnections
108} // namespace Aws
AWS_CODECONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSyncBlockerRequest & WithId(Aws::String &&value)
UpdateSyncBlockerRequest & WithResolvedReason(Aws::String &&value)
UpdateSyncBlockerRequest & WithResourceName(const char *value)
UpdateSyncBlockerRequest & WithId(const Aws::String &value)
UpdateSyncBlockerRequest & WithSyncType(SyncConfigurationType &&value)
UpdateSyncBlockerRequest & WithSyncType(const SyncConfigurationType &value)
AWS_CODECONNECTIONS_API Aws::String SerializePayload() const override
UpdateSyncBlockerRequest & WithId(const char *value)
UpdateSyncBlockerRequest & WithResolvedReason(const char *value)
UpdateSyncBlockerRequest & WithResourceName(const Aws::String &value)
UpdateSyncBlockerRequest & WithResolvedReason(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateSyncBlockerRequest & WithResourceName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String