AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ListScenesRequest.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 ListScenesRequest() = 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 "ListScenes"; }
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 ListScenesRequest& WithWorkspaceId(WorkspaceIdT&& value) {
44 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
45 return *this;
46 }
48
50
53 inline int GetMaxResults() const { return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) {
56 m_maxResultsHasBeenSet = true;
57 m_maxResults = value;
58 }
59 inline ListScenesRequest& WithMaxResults(int value) {
60 SetMaxResults(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 template <typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) {
73 m_nextTokenHasBeenSet = true;
74 m_nextToken = std::forward<NextTokenT>(value);
75 }
76 template <typename NextTokenT = Aws::String>
77 ListScenesRequest& WithNextToken(NextTokenT&& value) {
78 SetNextToken(std::forward<NextTokenT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_workspaceId;
84
85 int m_maxResults{0};
86
87 Aws::String m_nextToken;
88 bool m_workspaceIdHasBeenSet = false;
89 bool m_maxResultsHasBeenSet = false;
90 bool m_nextTokenHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace IoTTwinMaker
95} // namespace Aws
AWS_IOTTWINMAKER_API ListScenesRequest()=default
ListScenesRequest & WithMaxResults(int value)
ListScenesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
ListScenesRequest & WithWorkspaceId(WorkspaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String