AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListComponentsRequest.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 ListComponentsRequest() = 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 "ListComponents"; }
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 ListComponentsRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
46
48
52 inline const Aws::String& GetEntityId() const { return m_entityId; }
53 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
54 template<typename EntityIdT = Aws::String>
55 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
56 template<typename EntityIdT = Aws::String>
57 ListComponentsRequest& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
59
61
65 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
66 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
67 template<typename ComponentPathT = Aws::String>
68 void SetComponentPath(ComponentPathT&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::forward<ComponentPathT>(value); }
69 template<typename ComponentPathT = Aws::String>
70 ListComponentsRequest& WithComponentPath(ComponentPathT&& value) { SetComponentPath(std::forward<ComponentPathT>(value)); return *this;}
72
74
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template<typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
91 template<typename NextTokenT = Aws::String>
92 ListComponentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
94 private:
95
96 Aws::String m_workspaceId;
97 bool m_workspaceIdHasBeenSet = false;
98
99 Aws::String m_entityId;
100 bool m_entityIdHasBeenSet = false;
101
102 Aws::String m_componentPath;
103 bool m_componentPathHasBeenSet = false;
104
105 int m_maxResults{0};
106 bool m_maxResultsHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace IoTTwinMaker
114} // 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