AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateArtifactRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API UpdateArtifactRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateArtifact"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetArtifactArn() const{ return m_artifactArn; }
44 inline bool ArtifactArnHasBeenSet() const { return m_artifactArnHasBeenSet; }
45 inline void SetArtifactArn(const Aws::String& value) { m_artifactArnHasBeenSet = true; m_artifactArn = value; }
46 inline void SetArtifactArn(Aws::String&& value) { m_artifactArnHasBeenSet = true; m_artifactArn = std::move(value); }
47 inline void SetArtifactArn(const char* value) { m_artifactArnHasBeenSet = true; m_artifactArn.assign(value); }
48 inline UpdateArtifactRequest& WithArtifactArn(const Aws::String& value) { SetArtifactArn(value); return *this;}
49 inline UpdateArtifactRequest& WithArtifactArn(Aws::String&& value) { SetArtifactArn(std::move(value)); return *this;}
50 inline UpdateArtifactRequest& WithArtifactArn(const char* value) { SetArtifactArn(value); return *this;}
52
54
57 inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
58 inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
59 inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; }
60 inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); }
61 inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); }
62 inline UpdateArtifactRequest& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
63 inline UpdateArtifactRequest& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
64 inline UpdateArtifactRequest& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
66
68
71 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
72 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
73 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
74 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
76 inline UpdateArtifactRequest& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
77 inline UpdateArtifactRequest& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
78 inline UpdateArtifactRequest& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
79 inline UpdateArtifactRequest& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
80 inline UpdateArtifactRequest& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
81 inline UpdateArtifactRequest& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
82 inline UpdateArtifactRequest& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
83 inline UpdateArtifactRequest& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
85
87
90 inline const Aws::Vector<Aws::String>& GetPropertiesToRemove() const{ return m_propertiesToRemove; }
91 inline bool PropertiesToRemoveHasBeenSet() const { return m_propertiesToRemoveHasBeenSet; }
92 inline void SetPropertiesToRemove(const Aws::Vector<Aws::String>& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = value; }
93 inline void SetPropertiesToRemove(Aws::Vector<Aws::String>&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove = std::move(value); }
96 inline UpdateArtifactRequest& AddPropertiesToRemove(const Aws::String& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
97 inline UpdateArtifactRequest& AddPropertiesToRemove(Aws::String&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(std::move(value)); return *this; }
98 inline UpdateArtifactRequest& AddPropertiesToRemove(const char* value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
100 private:
101
102 Aws::String m_artifactArn;
103 bool m_artifactArnHasBeenSet = false;
104
105 Aws::String m_artifactName;
106 bool m_artifactNameHasBeenSet = false;
107
109 bool m_propertiesHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_propertiesToRemove;
112 bool m_propertiesToRemoveHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SageMaker
117} // namespace Aws
UpdateArtifactRequest & AddPropertiesToRemove(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateArtifactRequest & WithArtifactName(const Aws::String &value)
UpdateArtifactRequest & AddProperties(const Aws::String &key, const Aws::String &value)
UpdateArtifactRequest & AddProperties(const char *key, Aws::String &&value)
void SetPropertiesToRemove(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
UpdateArtifactRequest & AddProperties(Aws::String &&key, const char *value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateArtifactRequest & WithArtifactName(const char *value)
UpdateArtifactRequest & AddPropertiesToRemove(const Aws::String &value)
UpdateArtifactRequest & WithArtifactArn(const char *value)
UpdateArtifactRequest & WithPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateArtifactRequest & WithArtifactName(Aws::String &&value)
void SetPropertiesToRemove(Aws::Vector< Aws::String > &&value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateArtifactRequest & AddProperties(Aws::String &&key, const Aws::String &value)
UpdateArtifactRequest & AddProperties(const Aws::String &key, Aws::String &&value)
UpdateArtifactRequest & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateArtifactRequest & AddProperties(Aws::String &&key, Aws::String &&value)
UpdateArtifactRequest & WithArtifactArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
UpdateArtifactRequest & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateArtifactRequest & WithPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateArtifactRequest & WithArtifactArn(Aws::String &&value)
UpdateArtifactRequest & AddPropertiesToRemove(Aws::String &&value)
UpdateArtifactRequest & AddProperties(const char *key, const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector