AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListBlueprintsRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
9#include <aws/bedrock-data-automation/model/BlueprintStageFilter.h>
10#include <aws/bedrock-data-automation/model/DataAutomationProjectFilter.h>
11#include <aws/bedrock-data-automation/model/ResourceOwner.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace BedrockDataAutomation {
18namespace Model {
19
26 public:
27 AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListBlueprints"; }
34
35 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
36
38
39 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
40 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
41 template <typename BlueprintArnT = Aws::String>
42 void SetBlueprintArn(BlueprintArnT&& value) {
43 m_blueprintArnHasBeenSet = true;
44 m_blueprintArn = std::forward<BlueprintArnT>(value);
45 }
46 template <typename BlueprintArnT = Aws::String>
47 ListBlueprintsRequest& WithBlueprintArn(BlueprintArnT&& value) {
48 SetBlueprintArn(std::forward<BlueprintArnT>(value));
49 return *this;
50 }
52
54
55 inline ResourceOwner GetResourceOwner() const { return m_resourceOwner; }
56 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
57 inline void SetResourceOwner(ResourceOwner value) {
58 m_resourceOwnerHasBeenSet = true;
59 m_resourceOwner = value;
60 }
62 SetResourceOwner(value);
63 return *this;
64 }
66
68
69 inline BlueprintStageFilter GetBlueprintStageFilter() const { return m_blueprintStageFilter; }
70 inline bool BlueprintStageFilterHasBeenSet() const { return m_blueprintStageFilterHasBeenSet; }
72 m_blueprintStageFilterHasBeenSet = true;
73 m_blueprintStageFilter = value;
74 }
77 return *this;
78 }
80
82
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) {
86 m_maxResultsHasBeenSet = true;
87 m_maxResults = value;
88 }
90 SetMaxResults(value);
91 return *this;
92 }
94
96
97 inline const Aws::String& GetNextToken() const { return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 template <typename NextTokenT = Aws::String>
100 void SetNextToken(NextTokenT&& value) {
101 m_nextTokenHasBeenSet = true;
102 m_nextToken = std::forward<NextTokenT>(value);
103 }
104 template <typename NextTokenT = Aws::String>
106 SetNextToken(std::forward<NextTokenT>(value));
107 return *this;
108 }
110
112
113 inline const DataAutomationProjectFilter& GetProjectFilter() const { return m_projectFilter; }
114 inline bool ProjectFilterHasBeenSet() const { return m_projectFilterHasBeenSet; }
115 template <typename ProjectFilterT = DataAutomationProjectFilter>
116 void SetProjectFilter(ProjectFilterT&& value) {
117 m_projectFilterHasBeenSet = true;
118 m_projectFilter = std::forward<ProjectFilterT>(value);
119 }
120 template <typename ProjectFilterT = DataAutomationProjectFilter>
121 ListBlueprintsRequest& WithProjectFilter(ProjectFilterT&& value) {
122 SetProjectFilter(std::forward<ProjectFilterT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_blueprintArn;
128
129 ResourceOwner m_resourceOwner{ResourceOwner::NOT_SET};
130
132
133 int m_maxResults{0};
134
135 Aws::String m_nextToken;
136
137 DataAutomationProjectFilter m_projectFilter;
138 bool m_blueprintArnHasBeenSet = false;
139 bool m_resourceOwnerHasBeenSet = false;
140 bool m_blueprintStageFilterHasBeenSet = false;
141 bool m_maxResultsHasBeenSet = false;
142 bool m_nextTokenHasBeenSet = false;
143 bool m_projectFilterHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace BedrockDataAutomation
148} // namespace Aws
ListBlueprintsRequest & WithBlueprintArn(BlueprintArnT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
AWS_BEDROCKDATAAUTOMATION_API ListBlueprintsRequest()=default
ListBlueprintsRequest & WithBlueprintStageFilter(BlueprintStageFilter value)
ListBlueprintsRequest & WithNextToken(NextTokenT &&value)
ListBlueprintsRequest & WithResourceOwner(ResourceOwner value)
const DataAutomationProjectFilter & GetProjectFilter() const
ListBlueprintsRequest & WithProjectFilter(ProjectFilterT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String