AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateImageRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateImageRequest() = 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 "UpdateImage"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::Vector<Aws::String>& GetDeleteProperties() const { return m_deleteProperties; }
40 inline bool DeletePropertiesHasBeenSet() const { return m_deletePropertiesHasBeenSet; }
41 template <typename DeletePropertiesT = Aws::Vector<Aws::String>>
42 void SetDeleteProperties(DeletePropertiesT&& value) {
43 m_deletePropertiesHasBeenSet = true;
44 m_deleteProperties = std::forward<DeletePropertiesT>(value);
45 }
46 template <typename DeletePropertiesT = Aws::Vector<Aws::String>>
47 UpdateImageRequest& WithDeleteProperties(DeletePropertiesT&& value) {
48 SetDeleteProperties(std::forward<DeletePropertiesT>(value));
49 return *this;
50 }
51 template <typename DeletePropertiesT = Aws::String>
52 UpdateImageRequest& AddDeleteProperties(DeletePropertiesT&& value) {
53 m_deletePropertiesHasBeenSet = true;
54 m_deleteProperties.emplace_back(std::forward<DeletePropertiesT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
71 UpdateImageRequest& WithDescription(DescriptionT&& value) {
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDisplayName() const { return m_displayName; }
82 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
83 template <typename DisplayNameT = Aws::String>
84 void SetDisplayName(DisplayNameT&& value) {
85 m_displayNameHasBeenSet = true;
86 m_displayName = std::forward<DisplayNameT>(value);
87 }
88 template <typename DisplayNameT = Aws::String>
89 UpdateImageRequest& WithDisplayName(DisplayNameT&& value) {
90 SetDisplayName(std::forward<DisplayNameT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetImageName() const { return m_imageName; }
100 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
101 template <typename ImageNameT = Aws::String>
102 void SetImageName(ImageNameT&& value) {
103 m_imageNameHasBeenSet = true;
104 m_imageName = std::forward<ImageNameT>(value);
105 }
106 template <typename ImageNameT = Aws::String>
107 UpdateImageRequest& WithImageName(ImageNameT&& value) {
108 SetImageName(std::forward<ImageNameT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
119 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
120 template <typename RoleArnT = Aws::String>
121 void SetRoleArn(RoleArnT&& value) {
122 m_roleArnHasBeenSet = true;
123 m_roleArn = std::forward<RoleArnT>(value);
124 }
125 template <typename RoleArnT = Aws::String>
126 UpdateImageRequest& WithRoleArn(RoleArnT&& value) {
127 SetRoleArn(std::forward<RoleArnT>(value));
128 return *this;
129 }
131 private:
132 Aws::Vector<Aws::String> m_deleteProperties;
133
134 Aws::String m_description;
135
136 Aws::String m_displayName;
137
138 Aws::String m_imageName;
139
140 Aws::String m_roleArn;
141 bool m_deletePropertiesHasBeenSet = false;
142 bool m_descriptionHasBeenSet = false;
143 bool m_displayNameHasBeenSet = false;
144 bool m_imageNameHasBeenSet = false;
145 bool m_roleArnHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace SageMaker
150} // namespace Aws
void SetDeleteProperties(DeletePropertiesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateImageRequest & WithDeleteProperties(DeletePropertiesT &&value)
UpdateImageRequest & WithImageName(ImageNameT &&value)
AWS_SAGEMAKER_API UpdateImageRequest()=default
UpdateImageRequest & AddDeleteProperties(DeletePropertiesT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateImageRequest & WithDisplayName(DisplayNameT &&value)
UpdateImageRequest & WithDescription(DescriptionT &&value)
UpdateImageRequest & WithRoleArn(RoleArnT &&value)
const Aws::Vector< Aws::String > & GetDeleteProperties() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector