AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContextRequest.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 UpdateContextRequest();
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 "UpdateContext"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetContextName() const{ return m_contextName; }
44 inline bool ContextNameHasBeenSet() const { return m_contextNameHasBeenSet; }
45 inline void SetContextName(const Aws::String& value) { m_contextNameHasBeenSet = true; m_contextName = value; }
46 inline void SetContextName(Aws::String&& value) { m_contextNameHasBeenSet = true; m_contextName = std::move(value); }
47 inline void SetContextName(const char* value) { m_contextNameHasBeenSet = true; m_contextName.assign(value); }
48 inline UpdateContextRequest& WithContextName(const Aws::String& value) { SetContextName(value); return *this;}
49 inline UpdateContextRequest& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;}
50 inline UpdateContextRequest& WithContextName(const char* value) { SetContextName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateContextRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateContextRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateContextRequest& WithDescription(const char* value) { SetDescription(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 UpdateContextRequest& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
77 inline UpdateContextRequest& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
78 inline UpdateContextRequest& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
79 inline UpdateContextRequest& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
80 inline UpdateContextRequest& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
81 inline UpdateContextRequest& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
82 inline UpdateContextRequest& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
83 inline UpdateContextRequest& 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 UpdateContextRequest& AddPropertiesToRemove(const Aws::String& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
97 inline UpdateContextRequest& AddPropertiesToRemove(Aws::String&& value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(std::move(value)); return *this; }
98 inline UpdateContextRequest& AddPropertiesToRemove(const char* value) { m_propertiesToRemoveHasBeenSet = true; m_propertiesToRemove.push_back(value); return *this; }
100 private:
101
102 Aws::String m_contextName;
103 bool m_contextNameHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = 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
UpdateContextRequest & AddProperties(const char *key, Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateContextRequest & AddProperties(const Aws::String &key, Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetContextName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetPropertiesToRemove() const
UpdateContextRequest & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
UpdateContextRequest & WithPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateContextRequest & AddProperties(Aws::String &&key, const char *value)
UpdateContextRequest & AddPropertiesToRemove(Aws::String &&value)
UpdateContextRequest & AddProperties(Aws::String &&key, Aws::String &&value)
void SetPropertiesToRemove(Aws::Vector< Aws::String > &&value)
UpdateContextRequest & WithContextName(const char *value)
UpdateContextRequest & WithDescription(const char *value)
UpdateContextRequest & WithContextName(Aws::String &&value)
UpdateContextRequest & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateContextRequest & AddPropertiesToRemove(const Aws::String &value)
UpdateContextRequest & WithContextName(const Aws::String &value)
UpdateContextRequest & WithDescription(const Aws::String &value)
void SetPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateContextRequest & AddProperties(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateContextRequest & AddProperties(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
UpdateContextRequest & AddProperties(const char *key, const char *value)
UpdateContextRequest & WithDescription(Aws::String &&value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
UpdateContextRequest & WithPropertiesToRemove(const Aws::Vector< Aws::String > &value)
UpdateContextRequest & AddPropertiesToRemove(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