AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCoreDeviceThingName(const Aws::String& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = value; }
49 inline void SetCoreDeviceThingName(Aws::String&& value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName = std::move(value); }
50 inline void SetCoreDeviceThingName(const char* value) { m_coreDeviceThingNameHasBeenSet = true; m_coreDeviceThingName.assign(value); }
53 inline ListInstalledComponentsRequest& WithCoreDeviceThingName(const char* value) { SetCoreDeviceThingName(value); return *this;}
55
57
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListInstalledComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline ListInstalledComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListInstalledComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListInstalledComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
90 inline const InstalledComponentTopologyFilter& GetTopologyFilter() const{ return m_topologyFilter; }
91 inline bool TopologyFilterHasBeenSet() const { return m_topologyFilterHasBeenSet; }
92 inline void SetTopologyFilter(const InstalledComponentTopologyFilter& value) { m_topologyFilterHasBeenSet = true; m_topologyFilter = value; }
93 inline void SetTopologyFilter(InstalledComponentTopologyFilter&& value) { m_topologyFilterHasBeenSet = true; m_topologyFilter = std::move(value); }
97 private:
98
99 Aws::String m_coreDeviceThingName;
100 bool m_coreDeviceThingNameHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 InstalledComponentTopologyFilter m_topologyFilter;
109 bool m_topologyFilterHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GreengrassV2
114} // namespace Aws
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
ListInstalledComponentsRequest & WithNextToken(const char *value)
ListInstalledComponentsRequest & WithTopologyFilter(const InstalledComponentTopologyFilter &value)
void SetTopologyFilter(InstalledComponentTopologyFilter &&value)
ListInstalledComponentsRequest & WithTopologyFilter(InstalledComponentTopologyFilter &&value)
ListInstalledComponentsRequest & WithNextToken(const Aws::String &value)
ListInstalledComponentsRequest & WithCoreDeviceThingName(const char *value)
ListInstalledComponentsRequest & WithNextToken(Aws::String &&value)
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListInstalledComponentsRequest & WithCoreDeviceThingName(Aws::String &&value)
ListInstalledComponentsRequest & WithCoreDeviceThingName(const Aws::String &value)
void SetTopologyFilter(const InstalledComponentTopologyFilter &value)
const InstalledComponentTopologyFilter & GetTopologyFilter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String