AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSyncJobRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTTwinMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTTWINMAKER_API CreateSyncJobRequest();
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 "CreateSyncJob"; }
32
33 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
41 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
42 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
43 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
44 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
45 inline CreateSyncJobRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
46 inline CreateSyncJobRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
47 inline CreateSyncJobRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
49
51
55 inline const Aws::String& GetSyncSource() const{ return m_syncSource; }
56 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
57 inline void SetSyncSource(const Aws::String& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
58 inline void SetSyncSource(Aws::String&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
59 inline void SetSyncSource(const char* value) { m_syncSourceHasBeenSet = true; m_syncSource.assign(value); }
60 inline CreateSyncJobRequest& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;}
61 inline CreateSyncJobRequest& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;}
62 inline CreateSyncJobRequest& WithSyncSource(const char* value) { SetSyncSource(value); return *this;}
64
66
70 inline const Aws::String& GetSyncRole() const{ return m_syncRole; }
71 inline bool SyncRoleHasBeenSet() const { return m_syncRoleHasBeenSet; }
72 inline void SetSyncRole(const Aws::String& value) { m_syncRoleHasBeenSet = true; m_syncRole = value; }
73 inline void SetSyncRole(Aws::String&& value) { m_syncRoleHasBeenSet = true; m_syncRole = std::move(value); }
74 inline void SetSyncRole(const char* value) { m_syncRoleHasBeenSet = true; m_syncRole.assign(value); }
75 inline CreateSyncJobRequest& WithSyncRole(const Aws::String& value) { SetSyncRole(value); return *this;}
76 inline CreateSyncJobRequest& WithSyncRole(Aws::String&& value) { SetSyncRole(std::move(value)); return *this;}
77 inline CreateSyncJobRequest& WithSyncRole(const char* value) { SetSyncRole(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
88 inline CreateSyncJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
89 inline CreateSyncJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateSyncJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateSyncJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateSyncJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateSyncJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateSyncJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateSyncJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateSyncJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_workspaceId;
101 bool m_workspaceIdHasBeenSet = false;
102
103 Aws::String m_syncSource;
104 bool m_syncSourceHasBeenSet = false;
105
106 Aws::String m_syncRole;
107 bool m_syncRoleHasBeenSet = false;
108
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoTTwinMaker
115} // namespace Aws
CreateSyncJobRequest & AddTags(const char *key, const char *value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
CreateSyncJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateSyncJobRequest & WithSyncRole(const Aws::String &value)
CreateSyncJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSyncJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSyncJobRequest & WithWorkspaceId(const Aws::String &value)
CreateSyncJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSyncJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSyncJobRequest & AddTags(Aws::String &&key, const char *value)
CreateSyncJobRequest & WithSyncRole(const char *value)
CreateSyncJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSyncJobRequest & AddTags(const char *key, Aws::String &&value)
CreateSyncJobRequest & WithWorkspaceId(const char *value)
CreateSyncJobRequest & WithWorkspaceId(Aws::String &&value)
CreateSyncJobRequest & WithSyncSource(Aws::String &&value)
CreateSyncJobRequest & WithSyncRole(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSyncJobRequest & WithSyncSource(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateSyncJobRequest & WithSyncSource(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String