AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateCustomModelDeploymentRequest.h
1
6#pragma once
7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Bedrock {
15namespace Model {
16
20 public:
21 AWS_BEDROCK_API UpdateCustomModelDeploymentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateCustomModelDeployment"; }
28
29 AWS_BEDROCK_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetModelArn() const { return m_modelArn; }
37 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
38 template <typename ModelArnT = Aws::String>
39 void SetModelArn(ModelArnT&& value) {
40 m_modelArnHasBeenSet = true;
41 m_modelArn = std::forward<ModelArnT>(value);
42 }
43 template <typename ModelArnT = Aws::String>
45 SetModelArn(std::forward<ModelArnT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetCustomModelDeploymentIdentifier() const { return m_customModelDeploymentIdentifier; }
56 inline bool CustomModelDeploymentIdentifierHasBeenSet() const { return m_customModelDeploymentIdentifierHasBeenSet; }
57 template <typename CustomModelDeploymentIdentifierT = Aws::String>
59 m_customModelDeploymentIdentifierHasBeenSet = true;
60 m_customModelDeploymentIdentifier = std::forward<CustomModelDeploymentIdentifierT>(value);
61 }
62 template <typename CustomModelDeploymentIdentifierT = Aws::String>
64 SetCustomModelDeploymentIdentifier(std::forward<CustomModelDeploymentIdentifierT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_modelArn;
70
71 Aws::String m_customModelDeploymentIdentifier;
72 bool m_modelArnHasBeenSet = false;
73 bool m_customModelDeploymentIdentifierHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Bedrock
78} // namespace Aws
UpdateCustomModelDeploymentRequest & WithCustomModelDeploymentIdentifier(CustomModelDeploymentIdentifierT &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
UpdateCustomModelDeploymentRequest & WithModelArn(ModelArnT &&value)
void SetCustomModelDeploymentIdentifier(CustomModelDeploymentIdentifierT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String