AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEndpointRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Comprehend
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_COMPREHEND_API UpdateEndpointRequest();
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 "UpdateEndpoint"; }
31
32 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
42 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
43 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
44 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
45 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
46 inline UpdateEndpointRequest& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
47 inline UpdateEndpointRequest& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
48 inline UpdateEndpointRequest& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
50
52
55 inline const Aws::String& GetDesiredModelArn() const{ return m_desiredModelArn; }
56 inline bool DesiredModelArnHasBeenSet() const { return m_desiredModelArnHasBeenSet; }
57 inline void SetDesiredModelArn(const Aws::String& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = value; }
58 inline void SetDesiredModelArn(Aws::String&& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = std::move(value); }
59 inline void SetDesiredModelArn(const char* value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn.assign(value); }
60 inline UpdateEndpointRequest& WithDesiredModelArn(const Aws::String& value) { SetDesiredModelArn(value); return *this;}
61 inline UpdateEndpointRequest& WithDesiredModelArn(Aws::String&& value) { SetDesiredModelArn(std::move(value)); return *this;}
62 inline UpdateEndpointRequest& WithDesiredModelArn(const char* value) { SetDesiredModelArn(value); return *this;}
64
66
71 inline int GetDesiredInferenceUnits() const{ return m_desiredInferenceUnits; }
72 inline bool DesiredInferenceUnitsHasBeenSet() const { return m_desiredInferenceUnitsHasBeenSet; }
73 inline void SetDesiredInferenceUnits(int value) { m_desiredInferenceUnitsHasBeenSet = true; m_desiredInferenceUnits = value; }
76
78
82 inline const Aws::String& GetDesiredDataAccessRoleArn() const{ return m_desiredDataAccessRoleArn; }
83 inline bool DesiredDataAccessRoleArnHasBeenSet() const { return m_desiredDataAccessRoleArnHasBeenSet; }
84 inline void SetDesiredDataAccessRoleArn(const Aws::String& value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn = value; }
85 inline void SetDesiredDataAccessRoleArn(Aws::String&& value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn = std::move(value); }
86 inline void SetDesiredDataAccessRoleArn(const char* value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn.assign(value); }
89 inline UpdateEndpointRequest& WithDesiredDataAccessRoleArn(const char* value) { SetDesiredDataAccessRoleArn(value); return *this;}
91
93
96 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
97 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
98 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
99 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
100 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
101 inline UpdateEndpointRequest& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
102 inline UpdateEndpointRequest& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
103 inline UpdateEndpointRequest& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
105 private:
106
107 Aws::String m_endpointArn;
108 bool m_endpointArnHasBeenSet = false;
109
110 Aws::String m_desiredModelArn;
111 bool m_desiredModelArnHasBeenSet = false;
112
113 int m_desiredInferenceUnits;
114 bool m_desiredInferenceUnitsHasBeenSet = false;
115
116 Aws::String m_desiredDataAccessRoleArn;
117 bool m_desiredDataAccessRoleArnHasBeenSet = false;
118
119 Aws::String m_flywheelArn;
120 bool m_flywheelArnHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Comprehend
125} // namespace Aws
UpdateEndpointRequest & WithDesiredDataAccessRoleArn(const Aws::String &value)
UpdateEndpointRequest & WithDesiredModelArn(Aws::String &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateEndpointRequest & WithDesiredDataAccessRoleArn(Aws::String &&value)
UpdateEndpointRequest & WithFlywheelArn(Aws::String &&value)
UpdateEndpointRequest & WithDesiredModelArn(const char *value)
UpdateEndpointRequest & WithDesiredDataAccessRoleArn(const char *value)
UpdateEndpointRequest & WithDesiredModelArn(const Aws::String &value)
UpdateEndpointRequest & WithFlywheelArn(const Aws::String &value)
void SetDesiredDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateEndpointRequest & WithEndpointArn(const char *value)
UpdateEndpointRequest & WithDesiredInferenceUnits(int value)
UpdateEndpointRequest & WithFlywheelArn(const char *value)
UpdateEndpointRequest & WithEndpointArn(const Aws::String &value)
UpdateEndpointRequest & WithEndpointArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String