AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetSyncJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoTTwinMaker {
18namespace Model {
19
23 public:
24 AWS_IOTTWINMAKER_API GetSyncJobRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetSyncJob"; }
31
32 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
33
34 AWS_IOTTWINMAKER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetSyncSource() const { return m_syncSource; }
42 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
43 template <typename SyncSourceT = Aws::String>
44 void SetSyncSource(SyncSourceT&& value) {
45 m_syncSourceHasBeenSet = true;
46 m_syncSource = std::forward<SyncSourceT>(value);
47 }
48 template <typename SyncSourceT = Aws::String>
49 GetSyncJobRequest& WithSyncSource(SyncSourceT&& value) {
50 SetSyncSource(std::forward<SyncSourceT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
60 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
61 template <typename WorkspaceIdT = Aws::String>
62 void SetWorkspaceId(WorkspaceIdT&& value) {
63 m_workspaceIdHasBeenSet = true;
64 m_workspaceId = std::forward<WorkspaceIdT>(value);
65 }
66 template <typename WorkspaceIdT = Aws::String>
67 GetSyncJobRequest& WithWorkspaceId(WorkspaceIdT&& value) {
68 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_syncSource;
74
75 Aws::String m_workspaceId;
76 bool m_syncSourceHasBeenSet = false;
77 bool m_workspaceIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace IoTTwinMaker
82} // namespace Aws
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
GetSyncJobRequest & WithSyncSource(SyncSourceT &&value)
AWS_IOTTWINMAKER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOTTWINMAKER_API GetSyncJobRequest()=default
virtual const char * GetServiceRequestName() const override
GetSyncJobRequest & WithWorkspaceId(WorkspaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String