AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceActionRequest.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/servicecatalog/model/ServiceActionDefinitionKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ServiceCatalog
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SERVICECATALOG_API UpdateServiceActionRequest();
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 "UpdateServiceAction"; }
33
34 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
35
36 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetId() const{ return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
46 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
47 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
48 inline UpdateServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline UpdateServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline UpdateServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateServiceActionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateServiceActionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateServiceActionRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::Map<ServiceActionDefinitionKey, Aws::String>& GetDefinition() const{ return m_definition; }
72 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
73 inline void SetDefinition(const Aws::Map<ServiceActionDefinitionKey, Aws::String>& value) { m_definitionHasBeenSet = true; m_definition = value; }
74 inline void SetDefinition(Aws::Map<ServiceActionDefinitionKey, Aws::String>&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
77 inline UpdateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
78 inline UpdateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
79 inline UpdateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, std::move(value)); return *this; }
80 inline UpdateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), std::move(value)); return *this; }
81 inline UpdateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
82 inline UpdateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline UpdateServiceActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline UpdateServiceActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline UpdateServiceActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
104 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
105 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
106 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
107 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
108 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
109 inline UpdateServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
110 inline UpdateServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
111 inline UpdateServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
113 private:
114
115 Aws::String m_id;
116 bool m_idHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
122 bool m_definitionHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_acceptLanguage;
128 bool m_acceptLanguageHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ServiceCatalog
133} // namespace Aws
UpdateServiceActionRequest & AddDefinition(const ServiceActionDefinitionKey &key, Aws::String &&value)
const Aws::Map< ServiceActionDefinitionKey, Aws::String > & GetDefinition() const
void SetDefinition(Aws::Map< ServiceActionDefinitionKey, Aws::String > &&value)
UpdateServiceActionRequest & WithName(Aws::String &&value)
UpdateServiceActionRequest & WithId(const Aws::String &value)
UpdateServiceActionRequest & WithName(const char *value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
UpdateServiceActionRequest & WithDefinition(Aws::Map< ServiceActionDefinitionKey, Aws::String > &&value)
UpdateServiceActionRequest & WithId(const char *value)
UpdateServiceActionRequest & AddDefinition(ServiceActionDefinitionKey &&key, const Aws::String &value)
UpdateServiceActionRequest & WithDescription(const Aws::String &value)
UpdateServiceActionRequest & WithDescription(const char *value)
UpdateServiceActionRequest & AddDefinition(const ServiceActionDefinitionKey &key, const char *value)
UpdateServiceActionRequest & AddDefinition(const ServiceActionDefinitionKey &key, const Aws::String &value)
UpdateServiceActionRequest & WithAcceptLanguage(const Aws::String &value)
UpdateServiceActionRequest & WithName(const Aws::String &value)
UpdateServiceActionRequest & WithAcceptLanguage(Aws::String &&value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDefinition(const Aws::Map< ServiceActionDefinitionKey, Aws::String > &value)
UpdateServiceActionRequest & WithAcceptLanguage(const char *value)
UpdateServiceActionRequest & WithId(Aws::String &&value)
UpdateServiceActionRequest & AddDefinition(ServiceActionDefinitionKey &&key, Aws::String &&value)
UpdateServiceActionRequest & WithDescription(Aws::String &&value)
UpdateServiceActionRequest & AddDefinition(ServiceActionDefinitionKey &&key, const char *value)
UpdateServiceActionRequest & WithDefinition(const Aws::Map< ServiceActionDefinitionKey, Aws::String > &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