AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDeviceFleetRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/EdgeOutputConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateDeviceFleetRequest() = default;
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 "UpdateDeviceFleet"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
43 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
44 template<typename DeviceFleetNameT = Aws::String>
45 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
46 template<typename DeviceFleetNameT = Aws::String>
47 UpdateDeviceFleetRequest& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
55 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
56 template<typename RoleArnT = Aws::String>
57 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
58 template<typename RoleArnT = Aws::String>
59 UpdateDeviceFleetRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateDeviceFleetRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const EdgeOutputConfig& GetOutputConfig() const { return m_outputConfig; }
79 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
80 template<typename OutputConfigT = EdgeOutputConfig>
81 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
82 template<typename OutputConfigT = EdgeOutputConfig>
83 UpdateDeviceFleetRequest& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
85
87
94 inline bool GetEnableIotRoleAlias() const { return m_enableIotRoleAlias; }
95 inline bool EnableIotRoleAliasHasBeenSet() const { return m_enableIotRoleAliasHasBeenSet; }
96 inline void SetEnableIotRoleAlias(bool value) { m_enableIotRoleAliasHasBeenSet = true; m_enableIotRoleAlias = value; }
97 inline UpdateDeviceFleetRequest& WithEnableIotRoleAlias(bool value) { SetEnableIotRoleAlias(value); return *this;}
99 private:
100
101 Aws::String m_deviceFleetName;
102 bool m_deviceFleetNameHasBeenSet = false;
103
104 Aws::String m_roleArn;
105 bool m_roleArnHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 EdgeOutputConfig m_outputConfig;
111 bool m_outputConfigHasBeenSet = false;
112
113 bool m_enableIotRoleAlias{false};
114 bool m_enableIotRoleAliasHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SageMaker
119} // 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