AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBlueprintsRequest.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 GetBlueprintsRequest();
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 "GetBlueprints"; }
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 GetBlueprintsRequest& 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 GetBlueprintsRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
62 inline GetBlueprintsRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
63 inline GetBlueprintsRequest& 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 GetBlueprintsRequest& WithAppCategory(const AppCategory& value) { SetAppCategory(value); return *this;}
77 inline GetBlueprintsRequest& 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
GetBlueprintsRequest & WithAppCategory(const AppCategory &value)
GetBlueprintsRequest & WithPageToken(const char *value)
GetBlueprintsRequest & WithPageToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetBlueprintsRequest & WithPageToken(const Aws::String &value)
void SetAppCategory(const AppCategory &value)
GetBlueprintsRequest & WithAppCategory(AppCategory &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
GetBlueprintsRequest & WithIncludeInactive(bool value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String