AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListPropertiesRequest.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 <utility>
11
12namespace Aws
13{
14namespace IoTTwinMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTTWINMAKER_API ListPropertiesRequest() = 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 "ListProperties"; }
31
32 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
40 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
41 template<typename WorkspaceIdT = Aws::String>
42 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
43 template<typename WorkspaceIdT = Aws::String>
44 ListPropertiesRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetComponentName() const { return m_componentName; }
52 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
53 template<typename ComponentNameT = Aws::String>
54 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
55 template<typename ComponentNameT = Aws::String>
56 ListPropertiesRequest& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
58
60
64 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
65 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
66 template<typename ComponentPathT = Aws::String>
67 void SetComponentPath(ComponentPathT&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::forward<ComponentPathT>(value); }
68 template<typename ComponentPathT = Aws::String>
69 ListPropertiesRequest& WithComponentPath(ComponentPathT&& value) { SetComponentPath(std::forward<ComponentPathT>(value)); return *this;}
71
73
77 inline const Aws::String& GetEntityId() const { return m_entityId; }
78 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
79 template<typename EntityIdT = Aws::String>
80 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
81 template<typename EntityIdT = Aws::String>
82 ListPropertiesRequest& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
84
86
89 inline int GetMaxResults() const { return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListPropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
99 inline const Aws::String& GetNextToken() const { return m_nextToken; }
100 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 template<typename NextTokenT = Aws::String>
102 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
103 template<typename NextTokenT = Aws::String>
104 ListPropertiesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
106 private:
107
108 Aws::String m_workspaceId;
109 bool m_workspaceIdHasBeenSet = false;
110
111 Aws::String m_componentName;
112 bool m_componentNameHasBeenSet = false;
113
114 Aws::String m_componentPath;
115 bool m_componentPathHasBeenSet = false;
116
117 Aws::String m_entityId;
118 bool m_entityIdHasBeenSet = false;
119
120 int m_maxResults{0};
121 bool m_maxResultsHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace IoTTwinMaker
129} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
ListPropertiesRequest & WithMaxResults(int value)
ListPropertiesRequest & WithComponentName(ComponentNameT &&value)
ListPropertiesRequest & WithEntityId(EntityIdT &&value)
ListPropertiesRequest & WithComponentPath(ComponentPathT &&value)
ListPropertiesRequest & WithWorkspaceId(WorkspaceIdT &&value)
ListPropertiesRequest & WithNextToken(NextTokenT &&value)
AWS_IOTTWINMAKER_API ListPropertiesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String