AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlywheelRequest.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 <aws/comprehend/model/UpdateDataSecurityConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Comprehend
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COMPREHEND_API UpdateFlywheelRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlywheel"; }
32
33 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
43 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
44 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
45 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
46 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
47 inline UpdateFlywheelRequest& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
48 inline UpdateFlywheelRequest& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
49 inline UpdateFlywheelRequest& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
51
53
56 inline const Aws::String& GetActiveModelArn() const{ return m_activeModelArn; }
57 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
58 inline void SetActiveModelArn(const Aws::String& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = value; }
59 inline void SetActiveModelArn(Aws::String&& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::move(value); }
60 inline void SetActiveModelArn(const char* value) { m_activeModelArnHasBeenSet = true; m_activeModelArn.assign(value); }
61 inline UpdateFlywheelRequest& WithActiveModelArn(const Aws::String& value) { SetActiveModelArn(value); return *this;}
62 inline UpdateFlywheelRequest& WithActiveModelArn(Aws::String&& value) { SetActiveModelArn(std::move(value)); return *this;}
63 inline UpdateFlywheelRequest& WithActiveModelArn(const char* value) { SetActiveModelArn(value); return *this;}
65
67
71 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
72 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
73 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
74 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
75 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
76 inline UpdateFlywheelRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
77 inline UpdateFlywheelRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
78 inline UpdateFlywheelRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
80
82
85 inline const UpdateDataSecurityConfig& GetDataSecurityConfig() const{ return m_dataSecurityConfig; }
86 inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; }
87 inline void SetDataSecurityConfig(const UpdateDataSecurityConfig& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = value; }
88 inline void SetDataSecurityConfig(UpdateDataSecurityConfig&& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = std::move(value); }
92 private:
93
94 Aws::String m_flywheelArn;
95 bool m_flywheelArnHasBeenSet = false;
96
97 Aws::String m_activeModelArn;
98 bool m_activeModelArnHasBeenSet = false;
99
100 Aws::String m_dataAccessRoleArn;
101 bool m_dataAccessRoleArnHasBeenSet = false;
102
103 UpdateDataSecurityConfig m_dataSecurityConfig;
104 bool m_dataSecurityConfigHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Comprehend
109} // namespace Aws
UpdateFlywheelRequest & WithDataAccessRoleArn(const Aws::String &value)
UpdateFlywheelRequest & WithFlywheelArn(Aws::String &&value)
void SetDataAccessRoleArn(const Aws::String &value)
UpdateFlywheelRequest & WithDataSecurityConfig(const UpdateDataSecurityConfig &value)
UpdateFlywheelRequest & WithFlywheelArn(const char *value)
void SetDataSecurityConfig(UpdateDataSecurityConfig &&value)
const UpdateDataSecurityConfig & GetDataSecurityConfig() const
UpdateFlywheelRequest & WithDataSecurityConfig(UpdateDataSecurityConfig &&value)
UpdateFlywheelRequest & WithActiveModelArn(const char *value)
UpdateFlywheelRequest & WithDataAccessRoleArn(Aws::String &&value)
UpdateFlywheelRequest & WithActiveModelArn(const Aws::String &value)
UpdateFlywheelRequest & WithFlywheelArn(const Aws::String &value)
void SetDataSecurityConfig(const UpdateDataSecurityConfig &value)
virtual const char * GetServiceRequestName() const override
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFlywheelRequest & WithActiveModelArn(Aws::String &&value)
UpdateFlywheelRequest & WithDataAccessRoleArn(const char *value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String