AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateDeviceFleetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/EdgeOutputConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateDeviceFleetRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDeviceFleet"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
39 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
40 template <typename DeviceFleetNameT = Aws::String>
41 void SetDeviceFleetName(DeviceFleetNameT&& value) {
42 m_deviceFleetNameHasBeenSet = true;
43 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
44 }
45 template <typename DeviceFleetNameT = Aws::String>
46 UpdateDeviceFleetRequest& WithDeviceFleetName(DeviceFleetNameT&& value) {
47 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 template <typename RoleArnT = Aws::String>
59 void SetRoleArn(RoleArnT&& value) {
60 m_roleArnHasBeenSet = true;
61 m_roleArn = std::forward<RoleArnT>(value);
62 }
63 template <typename RoleArnT = Aws::String>
65 SetRoleArn(std::forward<RoleArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const EdgeOutputConfig& GetOutputConfig() const { return m_outputConfig; }
93 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
94 template <typename OutputConfigT = EdgeOutputConfig>
95 void SetOutputConfig(OutputConfigT&& value) {
96 m_outputConfigHasBeenSet = true;
97 m_outputConfig = std::forward<OutputConfigT>(value);
98 }
99 template <typename OutputConfigT = EdgeOutputConfig>
101 SetOutputConfig(std::forward<OutputConfigT>(value));
102 return *this;
103 }
105
107
114 inline bool GetEnableIotRoleAlias() const { return m_enableIotRoleAlias; }
115 inline bool EnableIotRoleAliasHasBeenSet() const { return m_enableIotRoleAliasHasBeenSet; }
116 inline void SetEnableIotRoleAlias(bool value) {
117 m_enableIotRoleAliasHasBeenSet = true;
118 m_enableIotRoleAlias = value;
119 }
122 return *this;
123 }
125 private:
126 Aws::String m_deviceFleetName;
127
128 Aws::String m_roleArn;
129
130 Aws::String m_description;
131
132 EdgeOutputConfig m_outputConfig;
133
134 bool m_enableIotRoleAlias{false};
135 bool m_deviceFleetNameHasBeenSet = false;
136 bool m_roleArnHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_outputConfigHasBeenSet = false;
139 bool m_enableIotRoleAliasHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateDeviceFleetRequest & WithDescription(DescriptionT &&value)
UpdateDeviceFleetRequest & WithOutputConfig(OutputConfigT &&value)
UpdateDeviceFleetRequest & WithRoleArn(RoleArnT &&value)
AWS_SAGEMAKER_API UpdateDeviceFleetRequest()=default
UpdateDeviceFleetRequest & WithDeviceFleetName(DeviceFleetNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDeviceFleetRequest & WithEnableIotRoleAlias(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String