AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListActionsRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/iotsitewise/model/TargetResourceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTSiteWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTSITEWISE_API ListActionsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListActions"; }
36
37 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const TargetResourceType& GetTargetResourceType() const{ return m_targetResourceType; }
47 inline bool TargetResourceTypeHasBeenSet() const { return m_targetResourceTypeHasBeenSet; }
48 inline void SetTargetResourceType(const TargetResourceType& value) { m_targetResourceTypeHasBeenSet = true; m_targetResourceType = value; }
49 inline void SetTargetResourceType(TargetResourceType&& value) { m_targetResourceTypeHasBeenSet = true; m_targetResourceType = std::move(value); }
51 inline ListActionsRequest& WithTargetResourceType(TargetResourceType&& value) { SetTargetResourceType(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetTargetResourceId() const{ return m_targetResourceId; }
59 inline bool TargetResourceIdHasBeenSet() const { return m_targetResourceIdHasBeenSet; }
60 inline void SetTargetResourceId(const Aws::String& value) { m_targetResourceIdHasBeenSet = true; m_targetResourceId = value; }
61 inline void SetTargetResourceId(Aws::String&& value) { m_targetResourceIdHasBeenSet = true; m_targetResourceId = std::move(value); }
62 inline void SetTargetResourceId(const char* value) { m_targetResourceIdHasBeenSet = true; m_targetResourceId.assign(value); }
63 inline ListActionsRequest& WithTargetResourceId(const Aws::String& value) { SetTargetResourceId(value); return *this;}
64 inline ListActionsRequest& WithTargetResourceId(Aws::String&& value) { SetTargetResourceId(std::move(value)); return *this;}
65 inline ListActionsRequest& WithTargetResourceId(const char* value) { SetTargetResourceId(value); return *this;}
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline ListActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline ListActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline ListActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
86 inline int GetMaxResults() const{ return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline ListActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91 private:
92
93 TargetResourceType m_targetResourceType;
94 bool m_targetResourceTypeHasBeenSet = false;
95
96 Aws::String m_targetResourceId;
97 bool m_targetResourceIdHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTSiteWise
108} // namespace Aws
void SetNextToken(const Aws::String &value)
const Aws::String & GetTargetResourceId() const
ListActionsRequest & WithTargetResourceId(Aws::String &&value)
ListActionsRequest & WithTargetResourceId(const char *value)
ListActionsRequest & WithTargetResourceId(const Aws::String &value)
ListActionsRequest & WithNextToken(const Aws::String &value)
const TargetResourceType & GetTargetResourceType() const
ListActionsRequest & WithNextToken(Aws::String &&value)
ListActionsRequest & WithTargetResourceType(TargetResourceType &&value)
ListActionsRequest & WithTargetResourceType(const TargetResourceType &value)
void SetTargetResourceType(const TargetResourceType &value)
ListActionsRequest & WithMaxResults(int value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTargetResourceType(TargetResourceType &&value)
void SetTargetResourceId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
ListActionsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String