AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeviceResourcesRequest.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/SnowDeviceManagementRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace SnowDeviceManagement
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SNOWDEVICEMANAGEMENT_API ListDeviceResourcesRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListDeviceResources"; }
35
36 AWS_SNOWDEVICEMANAGEMENT_API Aws::String SerializePayload() const override;
37
38 AWS_SNOWDEVICEMANAGEMENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; }
46 inline bool ManagedDeviceIdHasBeenSet() const { return m_managedDeviceIdHasBeenSet; }
47 inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = value; }
48 inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::move(value); }
49 inline void SetManagedDeviceId(const char* value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId.assign(value); }
51 inline ListDeviceResourcesRequest& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;}
52 inline ListDeviceResourcesRequest& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;}
54
56
59 inline int GetMaxResults() const{ return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline ListDeviceResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
74 inline ListDeviceResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline ListDeviceResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline ListDeviceResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
83 inline const Aws::String& GetType() const{ return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
86 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
87 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
88 inline ListDeviceResourcesRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
89 inline ListDeviceResourcesRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
90 inline ListDeviceResourcesRequest& WithType(const char* value) { SetType(value); return *this;}
92 private:
93
94 Aws::String m_managedDeviceId;
95 bool m_managedDeviceIdHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 Aws::String m_type;
104 bool m_typeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SnowDeviceManagement
109} // namespace Aws
ListDeviceResourcesRequest & WithType(const Aws::String &value)
ListDeviceResourcesRequest & WithManagedDeviceId(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::String SerializePayload() const override
ListDeviceResourcesRequest & WithNextToken(const char *value)
ListDeviceResourcesRequest & WithManagedDeviceId(const char *value)
ListDeviceResourcesRequest & WithType(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDeviceResourcesRequest & WithNextToken(const Aws::String &value)
ListDeviceResourcesRequest & WithManagedDeviceId(const Aws::String &value)
ListDeviceResourcesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String