AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ListComponentsRequest.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 IoTTwinMaker {
15namespace Model {
16
20 public:
21 AWS_IOTTWINMAKER_API ListComponentsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListComponents"; }
28
29 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
36 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
37 template <typename WorkspaceIdT = Aws::String>
38 void SetWorkspaceId(WorkspaceIdT&& value) {
39 m_workspaceIdHasBeenSet = true;
40 m_workspaceId = std::forward<WorkspaceIdT>(value);
41 }
42 template <typename WorkspaceIdT = Aws::String>
43 ListComponentsRequest& WithWorkspaceId(WorkspaceIdT&& value) {
44 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetEntityId() const { return m_entityId; }
55 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
56 template <typename EntityIdT = Aws::String>
57 void SetEntityId(EntityIdT&& value) {
58 m_entityIdHasBeenSet = true;
59 m_entityId = std::forward<EntityIdT>(value);
60 }
61 template <typename EntityIdT = Aws::String>
62 ListComponentsRequest& WithEntityId(EntityIdT&& value) {
63 SetEntityId(std::forward<EntityIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
74 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
75 template <typename ComponentPathT = Aws::String>
76 void SetComponentPath(ComponentPathT&& value) {
77 m_componentPathHasBeenSet = true;
78 m_componentPath = std::forward<ComponentPathT>(value);
79 }
80 template <typename ComponentPathT = Aws::String>
81 ListComponentsRequest& WithComponentPath(ComponentPathT&& value) {
82 SetComponentPath(std::forward<ComponentPathT>(value));
83 return *this;
84 }
86
88
91 inline int GetMaxResults() const { return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) {
94 m_maxResultsHasBeenSet = true;
95 m_maxResults = value;
96 }
98 SetMaxResults(value);
99 return *this;
100 }
102
104
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template <typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) {
111 m_nextTokenHasBeenSet = true;
112 m_nextToken = std::forward<NextTokenT>(value);
113 }
114 template <typename NextTokenT = Aws::String>
116 SetNextToken(std::forward<NextTokenT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_workspaceId;
122
123 Aws::String m_entityId;
124
125 Aws::String m_componentPath;
126
127 int m_maxResults{0};
128
129 Aws::String m_nextToken;
130 bool m_workspaceIdHasBeenSet = false;
131 bool m_entityIdHasBeenSet = false;
132 bool m_componentPathHasBeenSet = false;
133 bool m_maxResultsHasBeenSet = false;
134 bool m_nextTokenHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace IoTTwinMaker
139} // namespace Aws
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
ListComponentsRequest & WithMaxResults(int value)
ListComponentsRequest & WithWorkspaceId(WorkspaceIdT &&value)
virtual const char * GetServiceRequestName() const override
ListComponentsRequest & WithEntityId(EntityIdT &&value)
ListComponentsRequest & WithNextToken(NextTokenT &&value)
AWS_IOTTWINMAKER_API ListComponentsRequest()=default
ListComponentsRequest & WithComponentPath(ComponentPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String