AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateImageRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateImageRequest() = 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 "UpdateImage"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::Vector<Aws::String>& GetDeleteProperties() const { return m_deleteProperties; }
44 inline bool DeletePropertiesHasBeenSet() const { return m_deletePropertiesHasBeenSet; }
45 template<typename DeletePropertiesT = Aws::Vector<Aws::String>>
46 void SetDeleteProperties(DeletePropertiesT&& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties = std::forward<DeletePropertiesT>(value); }
47 template<typename DeletePropertiesT = Aws::Vector<Aws::String>>
48 UpdateImageRequest& WithDeleteProperties(DeletePropertiesT&& value) { SetDeleteProperties(std::forward<DeletePropertiesT>(value)); return *this;}
49 template<typename DeletePropertiesT = Aws::String>
50 UpdateImageRequest& AddDeleteProperties(DeletePropertiesT&& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties.emplace_back(std::forward<DeletePropertiesT>(value)); return *this; }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 UpdateImageRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDisplayName() const { return m_displayName; }
70 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
71 template<typename DisplayNameT = Aws::String>
72 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
73 template<typename DisplayNameT = Aws::String>
74 UpdateImageRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetImageName() const { return m_imageName; }
82 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
83 template<typename ImageNameT = Aws::String>
84 void SetImageName(ImageNameT&& value) { m_imageNameHasBeenSet = true; m_imageName = std::forward<ImageNameT>(value); }
85 template<typename ImageNameT = Aws::String>
86 UpdateImageRequest& WithImageName(ImageNameT&& value) { SetImageName(std::forward<ImageNameT>(value)); return *this;}
88
90
94 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
95 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
96 template<typename RoleArnT = Aws::String>
97 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
98 template<typename RoleArnT = Aws::String>
99 UpdateImageRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
101 private:
102
103 Aws::Vector<Aws::String> m_deleteProperties;
104 bool m_deletePropertiesHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 Aws::String m_displayName;
110 bool m_displayNameHasBeenSet = false;
111
112 Aws::String m_imageName;
113 bool m_imageNameHasBeenSet = false;
114
115 Aws::String m_roleArn;
116 bool m_roleArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // 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