AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetBundlesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/AppCategory.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Lightsail {
16namespace Model {
17
21 public:
22 AWS_LIGHTSAIL_API GetBundlesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetBundles"; }
29
30 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
31
33
35
39 inline bool GetIncludeInactive() const { return m_includeInactive; }
40 inline bool IncludeInactiveHasBeenSet() const { return m_includeInactiveHasBeenSet; }
41 inline void SetIncludeInactive(bool value) {
42 m_includeInactiveHasBeenSet = true;
43 m_includeInactive = value;
44 }
46 SetIncludeInactive(value);
47 return *this;
48 }
50
52
58 inline const Aws::String& GetPageToken() const { return m_pageToken; }
59 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
60 template <typename PageTokenT = Aws::String>
61 void SetPageToken(PageTokenT&& value) {
62 m_pageTokenHasBeenSet = true;
63 m_pageToken = std::forward<PageTokenT>(value);
64 }
65 template <typename PageTokenT = Aws::String>
66 GetBundlesRequest& WithPageToken(PageTokenT&& value) {
67 SetPageToken(std::forward<PageTokenT>(value));
68 return *this;
69 }
71
73
78 inline AppCategory GetAppCategory() const { return m_appCategory; }
79 inline bool AppCategoryHasBeenSet() const { return m_appCategoryHasBeenSet; }
80 inline void SetAppCategory(AppCategory value) {
81 m_appCategoryHasBeenSet = true;
82 m_appCategory = value;
83 }
85 SetAppCategory(value);
86 return *this;
87 }
89 private:
90 bool m_includeInactive{false};
91 bool m_includeInactiveHasBeenSet = false;
92
93 Aws::String m_pageToken;
94 bool m_pageTokenHasBeenSet = false;
95
96 AppCategory m_appCategory{AppCategory::NOT_SET};
97 bool m_appCategoryHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Lightsail
102} // namespace Aws
GetBundlesRequest & WithAppCategory(AppCategory value)
const Aws::String & GetPageToken() const
GetBundlesRequest & WithPageToken(PageTokenT &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LIGHTSAIL_API GetBundlesRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
GetBundlesRequest & WithIncludeInactive(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String