AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateBlueprintRequest.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/bedrock-data-automation/model/EncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace BedrockDataAutomation {
17namespace Model {
18
25 public:
26 AWS_BEDROCKDATAAUTOMATION_API UpdateBlueprintRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateBlueprint"; }
33
34 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
41 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
42 template <typename BlueprintArnT = Aws::String>
43 void SetBlueprintArn(BlueprintArnT&& value) {
44 m_blueprintArnHasBeenSet = true;
45 m_blueprintArn = std::forward<BlueprintArnT>(value);
46 }
47 template <typename BlueprintArnT = Aws::String>
48 UpdateBlueprintRequest& WithBlueprintArn(BlueprintArnT&& value) {
49 SetBlueprintArn(std::forward<BlueprintArnT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetSchema() const { return m_schema; }
57 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
58 template <typename SchemaT = Aws::String>
59 void SetSchema(SchemaT&& value) {
60 m_schemaHasBeenSet = true;
61 m_schema = std::forward<SchemaT>(value);
62 }
63 template <typename SchemaT = Aws::String>
65 SetSchema(std::forward<SchemaT>(value));
66 return *this;
67 }
69
71
72 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
73 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
74 inline void SetBlueprintStage(BlueprintStage value) {
75 m_blueprintStageHasBeenSet = true;
76 m_blueprintStage = value;
77 }
79 SetBlueprintStage(value);
80 return *this;
81 }
83
85
86 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
87 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
88 template <typename EncryptionConfigurationT = EncryptionConfiguration>
89 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
90 m_encryptionConfigurationHasBeenSet = true;
91 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
92 }
93 template <typename EncryptionConfigurationT = EncryptionConfiguration>
94 UpdateBlueprintRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
95 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_blueprintArn;
101
102 Aws::String m_schema;
103
104 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
105
106 EncryptionConfiguration m_encryptionConfiguration;
107 bool m_blueprintArnHasBeenSet = false;
108 bool m_schemaHasBeenSet = false;
109 bool m_blueprintStageHasBeenSet = false;
110 bool m_encryptionConfigurationHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace BedrockDataAutomation
115} // namespace Aws
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_BEDROCKDATAAUTOMATION_API UpdateBlueprintRequest()=default
UpdateBlueprintRequest & WithBlueprintStage(BlueprintStage value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
UpdateBlueprintRequest & WithBlueprintArn(BlueprintArnT &&value)
UpdateBlueprintRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String