AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListStateTemplatesRequest.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/model/ListResponseScope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTFleetWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTFLEETWISE_API ListStateTemplatesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListStateTemplates"; }
32
33 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
34
35 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template<typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
47 template<typename NextTokenT = Aws::String>
48 ListStateTemplatesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
50
52
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
57 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 inline ListStateTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60
62
67 inline ListResponseScope GetListResponseScope() const { return m_listResponseScope; }
68 inline bool ListResponseScopeHasBeenSet() const { return m_listResponseScopeHasBeenSet; }
69 inline void SetListResponseScope(ListResponseScope value) { m_listResponseScopeHasBeenSet = true; m_listResponseScope = value; }
72 private:
73
74 Aws::String m_nextToken;
75 bool m_nextTokenHasBeenSet = false;
76
77 int m_maxResults{0};
78 bool m_maxResultsHasBeenSet = false;
79
81 bool m_listResponseScopeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace IoTFleetWise
86} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
ListStateTemplatesRequest & WithNextToken(NextTokenT &&value)
AWS_IOTFLEETWISE_API ListStateTemplatesRequest()=default
ListStateTemplatesRequest & WithListResponseScope(ListResponseScope value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String