AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
59 inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
60 inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
61 inline GetBundlesRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
62 inline GetBundlesRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
63 inline GetBundlesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
65
67
72 inline const AppCategory& GetAppCategory() const{ return m_appCategory; }
73 inline bool AppCategoryHasBeenSet() const { return m_appCategoryHasBeenSet; }
74 inline void SetAppCategory(const AppCategory& value) { m_appCategoryHasBeenSet = true; m_appCategory = value; }
75 inline void SetAppCategory(AppCategory&& value) { m_appCategoryHasBeenSet = true; m_appCategory = std::move(value); }
76 inline GetBundlesRequest& WithAppCategory(const AppCategory& value) { SetAppCategory(value); return *this;}
77 inline GetBundlesRequest& WithAppCategory(AppCategory&& value) { SetAppCategory(std::move(value)); return *this;}
79 private:
80
81 bool m_includeInactive;
82 bool m_includeInactiveHasBeenSet = false;
83
84 Aws::String m_pageToken;
85 bool m_pageTokenHasBeenSet = false;
86
87 AppCategory m_appCategory;
88 bool m_appCategoryHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Lightsail
93} // namespace Aws
const AppCategory & GetAppCategory() const
GetBundlesRequest & WithAppCategory(AppCategory &&value)
GetBundlesRequest & WithPageToken(const Aws::String &value)
void SetAppCategory(const AppCategory &value)
GetBundlesRequest & WithPageToken(Aws::String &&value)
const Aws::String & GetPageToken() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetBundlesRequest & WithAppCategory(const AppCategory &value)
GetBundlesRequest & WithPageToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPageToken(const Aws::String &value)
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