AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeleteProperties(const Aws::Vector<Aws::String>& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties = value; }
46 inline void SetDeleteProperties(Aws::Vector<Aws::String>&& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties = std::move(value); }
48 inline UpdateImageRequest& WithDeleteProperties(Aws::Vector<Aws::String>&& value) { SetDeleteProperties(std::move(value)); return *this;}
49 inline UpdateImageRequest& AddDeleteProperties(const Aws::String& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties.push_back(value); return *this; }
50 inline UpdateImageRequest& AddDeleteProperties(Aws::String&& value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties.push_back(std::move(value)); return *this; }
51 inline UpdateImageRequest& AddDeleteProperties(const char* value) { m_deletePropertiesHasBeenSet = true; m_deleteProperties.push_back(value); return *this; }
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline UpdateImageRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline UpdateImageRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline UpdateImageRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
73 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
74 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
75 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
76 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
77 inline UpdateImageRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
78 inline UpdateImageRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
79 inline UpdateImageRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
81
83
86 inline const Aws::String& GetImageName() const{ return m_imageName; }
87 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
88 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
89 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
90 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
91 inline UpdateImageRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
92 inline UpdateImageRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
93 inline UpdateImageRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
95
97
101 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
102 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
103 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
104 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
105 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
106 inline UpdateImageRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
107 inline UpdateImageRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
108 inline UpdateImageRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
110 private:
111
112 Aws::Vector<Aws::String> m_deleteProperties;
113 bool m_deletePropertiesHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_displayName;
119 bool m_displayNameHasBeenSet = false;
120
121 Aws::String m_imageName;
122 bool m_imageNameHasBeenSet = false;
123
124 Aws::String m_roleArn;
125 bool m_roleArnHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
void SetDisplayName(const Aws::String &value)
UpdateImageRequest & WithRoleArn(const Aws::String &value)
UpdateImageRequest & WithDescription(const char *value)
void SetDeleteProperties(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
UpdateImageRequest & AddDeleteProperties(const Aws::String &value)
UpdateImageRequest & WithDisplayName(const Aws::String &value)
UpdateImageRequest & WithRoleArn(const char *value)
UpdateImageRequest & WithDeleteProperties(Aws::Vector< Aws::String > &&value)
UpdateImageRequest & AddDeleteProperties(Aws::String &&value)
UpdateImageRequest & WithRoleArn(Aws::String &&value)
UpdateImageRequest & WithImageName(Aws::String &&value)
UpdateImageRequest & WithDeleteProperties(const Aws::Vector< Aws::String > &value)
UpdateImageRequest & WithDisplayName(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateImageRequest & WithDescription(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateImageRequest & WithDisplayName(Aws::String &&value)
UpdateImageRequest & AddDeleteProperties(const char *value)
void SetDeleteProperties(const Aws::Vector< Aws::String > &value)
void SetImageName(const Aws::String &value)
UpdateImageRequest & WithDescription(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDeleteProperties() const
void SetDescription(const Aws::String &value)
UpdateImageRequest & WithImageName(const Aws::String &value)
UpdateImageRequest & WithImageName(const char *value)
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