AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetBundlesRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/AppCategory.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Lightsail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LIGHTSAIL_API GetBundlesRequest() = 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 "GetBundles"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline bool GetIncludeInactive() const { return m_includeInactive; }
44 inline bool IncludeInactiveHasBeenSet() const { return m_includeInactiveHasBeenSet; }
45 inline void SetIncludeInactive(bool value) { m_includeInactiveHasBeenSet = true; m_includeInactive = value; }
46 inline GetBundlesRequest& WithIncludeInactive(bool value) { SetIncludeInactive(value); return *this;}
48
50
56 inline const Aws::String& GetPageToken() const { return m_pageToken; }
57 inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
58 template<typename PageTokenT = Aws::String>
59 void SetPageToken(PageTokenT&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::forward<PageTokenT>(value); }
60 template<typename PageTokenT = Aws::String>
61 GetBundlesRequest& WithPageToken(PageTokenT&& value) { SetPageToken(std::forward<PageTokenT>(value)); return *this;}
63
65
70 inline AppCategory GetAppCategory() const { return m_appCategory; }
71 inline bool AppCategoryHasBeenSet() const { return m_appCategoryHasBeenSet; }
72 inline void SetAppCategory(AppCategory value) { m_appCategoryHasBeenSet = true; m_appCategory = value; }
73 inline GetBundlesRequest& WithAppCategory(AppCategory value) { SetAppCategory(value); return *this;}
75 private:
76
77 bool m_includeInactive{false};
78 bool m_includeInactiveHasBeenSet = false;
79
80 Aws::String m_pageToken;
81 bool m_pageTokenHasBeenSet = false;
82
83 AppCategory m_appCategory{AppCategory::NOT_SET};
84 bool m_appCategoryHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Lightsail
89} // 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