AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProvisionedModelThroughputRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Bedrock
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateProvisionedModelThroughput"; }
31
32 AWS_BEDROCK_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetProvisionedModelId() const{ return m_provisionedModelId; }
41 inline bool ProvisionedModelIdHasBeenSet() const { return m_provisionedModelIdHasBeenSet; }
42 inline void SetProvisionedModelId(const Aws::String& value) { m_provisionedModelIdHasBeenSet = true; m_provisionedModelId = value; }
43 inline void SetProvisionedModelId(Aws::String&& value) { m_provisionedModelIdHasBeenSet = true; m_provisionedModelId = std::move(value); }
44 inline void SetProvisionedModelId(const char* value) { m_provisionedModelIdHasBeenSet = true; m_provisionedModelId.assign(value); }
49
51
54 inline const Aws::String& GetDesiredProvisionedModelName() const{ return m_desiredProvisionedModelName; }
55 inline bool DesiredProvisionedModelNameHasBeenSet() const { return m_desiredProvisionedModelNameHasBeenSet; }
56 inline void SetDesiredProvisionedModelName(const Aws::String& value) { m_desiredProvisionedModelNameHasBeenSet = true; m_desiredProvisionedModelName = value; }
57 inline void SetDesiredProvisionedModelName(Aws::String&& value) { m_desiredProvisionedModelNameHasBeenSet = true; m_desiredProvisionedModelName = std::move(value); }
58 inline void SetDesiredProvisionedModelName(const char* value) { m_desiredProvisionedModelNameHasBeenSet = true; m_desiredProvisionedModelName.assign(value); }
63
65
74 inline const Aws::String& GetDesiredModelId() const{ return m_desiredModelId; }
75 inline bool DesiredModelIdHasBeenSet() const { return m_desiredModelIdHasBeenSet; }
76 inline void SetDesiredModelId(const Aws::String& value) { m_desiredModelIdHasBeenSet = true; m_desiredModelId = value; }
77 inline void SetDesiredModelId(Aws::String&& value) { m_desiredModelIdHasBeenSet = true; m_desiredModelId = std::move(value); }
78 inline void SetDesiredModelId(const char* value) { m_desiredModelIdHasBeenSet = true; m_desiredModelId.assign(value); }
81 inline UpdateProvisionedModelThroughputRequest& WithDesiredModelId(const char* value) { SetDesiredModelId(value); return *this;}
83 private:
84
85 Aws::String m_provisionedModelId;
86 bool m_provisionedModelIdHasBeenSet = false;
87
88 Aws::String m_desiredProvisionedModelName;
89 bool m_desiredProvisionedModelNameHasBeenSet = false;
90
91 Aws::String m_desiredModelId;
92 bool m_desiredModelIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Bedrock
97} // namespace Aws
UpdateProvisionedModelThroughputRequest & WithProvisionedModelId(const char *value)
UpdateProvisionedModelThroughputRequest & WithDesiredProvisionedModelName(Aws::String &&value)
UpdateProvisionedModelThroughputRequest & WithDesiredModelId(Aws::String &&value)
UpdateProvisionedModelThroughputRequest & WithDesiredProvisionedModelName(const char *value)
UpdateProvisionedModelThroughputRequest & WithProvisionedModelId(const Aws::String &value)
UpdateProvisionedModelThroughputRequest & WithProvisionedModelId(Aws::String &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
UpdateProvisionedModelThroughputRequest & WithDesiredProvisionedModelName(const Aws::String &value)
UpdateProvisionedModelThroughputRequest & WithDesiredModelId(const Aws::String &value)
UpdateProvisionedModelThroughputRequest & WithDesiredModelId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String