AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInstalledComponentsRequest.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrassv2/model/InstalledComponentTopologyFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace GreengrassV2
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_GREENGRASSV2_API ListInstalledComponentsRequest() = default;
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 "ListInstalledComponents"; }
36
37 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
38
39 AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetCoreDeviceThingName() const { return m_coreDeviceThingName; }
47 inline bool CoreDeviceThingNameHasBeenSet() const { return m_coreDeviceThingNameHasBeenSet; }
48 template<typename CoreDeviceThingNameT = Aws::String>
49 void SetCoreDeviceThingName(CoreDeviceThingNameT&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::forward<CoreDeviceThingNameT>(value); }
50 template<typename CoreDeviceThingNameT = Aws::String>
51 ListInstalledComponentsRequest& WithCoreDeviceThingName(CoreDeviceThingNameT&& value) { SetCoreDeviceThingName(std::forward<CoreDeviceThingNameT>(value)); return *this;}
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListInstalledComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 template<typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<typename NextTokenT = Aws::String>
73 ListInstalledComponentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
75
77
86 inline InstalledComponentTopologyFilter GetTopologyFilter() const { return m_topologyFilter; }
87 inline bool TopologyFilterHasBeenSet() const { return m_topologyFilterHasBeenSet; }
88 inline void SetTopologyFilter(InstalledComponentTopologyFilter value) { m_topologyFilterHasBeenSet = true; m_topologyFilter = value; }
91 private:
92
93 Aws::String m_coreDeviceThingName;
94 bool m_coreDeviceThingNameHasBeenSet = false;
95
96 int m_maxResults{0};
97 bool m_maxResultsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
103 bool m_topologyFilterHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GreengrassV2
108} // namespace Aws
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
ListInstalledComponentsRequest & WithNextToken(NextTokenT &&value)
ListInstalledComponentsRequest & WithCoreDeviceThingName(CoreDeviceThingNameT &&value)
AWS_GREENGRASSV2_API ListInstalledComponentsRequest()=default
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListInstalledComponentsRequest & WithTopologyFilter(InstalledComponentTopologyFilter value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String