AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
GetBlueprintRequest.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/BlueprintStage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockDataAutomation {
16namespace Model {
17
24 public:
25 AWS_BEDROCKDATAAUTOMATION_API GetBlueprintRequest() = 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 "GetBlueprint"; }
32
33 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
34
36
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 GetBlueprintRequest& WithBlueprintArn(BlueprintArnT&& value) {
48 SetBlueprintArn(std::forward<BlueprintArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
58 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
59 template <typename BlueprintVersionT = Aws::String>
60 void SetBlueprintVersion(BlueprintVersionT&& value) {
61 m_blueprintVersionHasBeenSet = true;
62 m_blueprintVersion = std::forward<BlueprintVersionT>(value);
63 }
64 template <typename BlueprintVersionT = Aws::String>
65 GetBlueprintRequest& WithBlueprintVersion(BlueprintVersionT&& value) {
66 SetBlueprintVersion(std::forward<BlueprintVersionT>(value));
67 return *this;
68 }
70
72
75 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
76 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
77 inline void SetBlueprintStage(BlueprintStage value) {
78 m_blueprintStageHasBeenSet = true;
79 m_blueprintStage = value;
80 }
82 SetBlueprintStage(value);
83 return *this;
84 }
86 private:
87 Aws::String m_blueprintArn;
88
89 Aws::String m_blueprintVersion;
90
92 bool m_blueprintArnHasBeenSet = false;
93 bool m_blueprintVersionHasBeenSet = false;
94 bool m_blueprintStageHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace BedrockDataAutomation
99} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
GetBlueprintRequest & WithBlueprintArn(BlueprintArnT &&value)
virtual const char * GetServiceRequestName() const override
GetBlueprintRequest & WithBlueprintStage(BlueprintStage value)
GetBlueprintRequest & WithBlueprintVersion(BlueprintVersionT &&value)
AWS_BEDROCKDATAAUTOMATION_API GetBlueprintRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String