AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateCustomModelDeploymentResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock {
22namespace Model {
24 public:
25 AWS_BEDROCK_API CreateCustomModelDeploymentResult() = default;
28
30
35 inline const Aws::String& GetCustomModelDeploymentArn() const { return m_customModelDeploymentArn; }
36 template <typename CustomModelDeploymentArnT = Aws::String>
38 m_customModelDeploymentArnHasBeenSet = true;
39 m_customModelDeploymentArn = std::forward<CustomModelDeploymentArnT>(value);
40 }
41 template <typename CustomModelDeploymentArnT = Aws::String>
43 SetCustomModelDeploymentArn(std::forward<CustomModelDeploymentArnT>(value));
44 return *this;
45 }
47
49
50 inline const Aws::String& GetRequestId() const { return m_requestId; }
51 template <typename RequestIdT = Aws::String>
52 void SetRequestId(RequestIdT&& value) {
53 m_requestIdHasBeenSet = true;
54 m_requestId = std::forward<RequestIdT>(value);
55 }
56 template <typename RequestIdT = Aws::String>
58 SetRequestId(std::forward<RequestIdT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_customModelDeploymentArn;
64
65 Aws::String m_requestId;
66 bool m_customModelDeploymentArnHasBeenSet = false;
67 bool m_requestIdHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace Bedrock
72} // namespace Aws
AWS_BEDROCK_API CreateCustomModelDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomModelDeploymentResult & WithCustomModelDeploymentArn(CustomModelDeploymentArnT &&value)
CreateCustomModelDeploymentResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCK_API CreateCustomModelDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue