AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateBlueprintVersionRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace BedrockDataAutomation
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateBlueprintVersion"; }
35
36 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
44 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
45 template<typename BlueprintArnT = Aws::String>
46 void SetBlueprintArn(BlueprintArnT&& value) { m_blueprintArnHasBeenSet = true; m_blueprintArn = std::forward<BlueprintArnT>(value); }
47 template<typename BlueprintArnT = Aws::String>
48 CreateBlueprintVersionRequest& WithBlueprintArn(BlueprintArnT&& value) { SetBlueprintArn(std::forward<BlueprintArnT>(value)); return *this;}
50
52
53 inline const Aws::String& GetClientToken() const { return m_clientToken; }
54 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
55 template<typename ClientTokenT = Aws::String>
56 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
57 template<typename ClientTokenT = Aws::String>
58 CreateBlueprintVersionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
60 private:
61
62 Aws::String m_blueprintArn;
63 bool m_blueprintArnHasBeenSet = false;
64
66 bool m_clientTokenHasBeenSet = true;
67 };
68
69} // namespace Model
70} // namespace BedrockDataAutomation
71} // namespace Aws
CreateBlueprintVersionRequest & WithBlueprintArn(BlueprintArnT &&value)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionRequest()=default
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
CreateBlueprintVersionRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String