AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateExtensionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/appconfig/model/ActionPoint.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appconfig/model/Parameter.h>
14#include <aws/appconfig/model/Action.h>
15#include <utility>
16
17namespace Aws
18{
19namespace AppConfig
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPCONFIG_API UpdateExtensionRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateExtension"; }
36
37 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetExtensionIdentifier() const{ return m_extensionIdentifier; }
45 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
46 inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; }
47 inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); }
48 inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); }
50 inline UpdateExtensionRequest& WithExtensionIdentifier(Aws::String&& value) { SetExtensionIdentifier(std::move(value)); return *this;}
51 inline UpdateExtensionRequest& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(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 UpdateExtensionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline UpdateExtensionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline UpdateExtensionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::Map<ActionPoint, Aws::Vector<Action>>& GetActions() const{ return m_actions; }
73 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
74 inline void SetActions(const Aws::Map<ActionPoint, Aws::Vector<Action>>& value) { m_actionsHasBeenSet = true; m_actions = value; }
75 inline void SetActions(Aws::Map<ActionPoint, Aws::Vector<Action>>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
77 inline UpdateExtensionRequest& WithActions(Aws::Map<ActionPoint, Aws::Vector<Action>>&& value) { SetActions(std::move(value)); return *this;}
78 inline UpdateExtensionRequest& AddActions(const ActionPoint& key, const Aws::Vector<Action>& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, value); return *this; }
79 inline UpdateExtensionRequest& AddActions(ActionPoint&& key, const Aws::Vector<Action>& value) { m_actionsHasBeenSet = true; m_actions.emplace(std::move(key), value); return *this; }
80 inline UpdateExtensionRequest& AddActions(const ActionPoint& key, Aws::Vector<Action>&& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, std::move(value)); return *this; }
81 inline UpdateExtensionRequest& AddActions(ActionPoint&& key, Aws::Vector<Action>&& value) { m_actionsHasBeenSet = true; m_actions.emplace(std::move(key), std::move(value)); return *this; }
83
85
88 inline const Aws::Map<Aws::String, Parameter>& GetParameters() const{ return m_parameters; }
89 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
90 inline void SetParameters(const Aws::Map<Aws::String, Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
91 inline void SetParameters(Aws::Map<Aws::String, Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
93 inline UpdateExtensionRequest& WithParameters(Aws::Map<Aws::String, Parameter>&& value) { SetParameters(std::move(value)); return *this;}
94 inline UpdateExtensionRequest& AddParameters(const Aws::String& key, const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
95 inline UpdateExtensionRequest& AddParameters(Aws::String&& key, const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
96 inline UpdateExtensionRequest& AddParameters(const Aws::String& key, Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
97 inline UpdateExtensionRequest& AddParameters(Aws::String&& key, Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
98 inline UpdateExtensionRequest& AddParameters(const char* key, Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
99 inline UpdateExtensionRequest& AddParameters(const char* key, const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
101
103
106 inline int GetVersionNumber() const{ return m_versionNumber; }
107 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
108 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
109 inline UpdateExtensionRequest& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
111 private:
112
113 Aws::String m_extensionIdentifier;
114 bool m_extensionIdentifierHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
120 bool m_actionsHasBeenSet = false;
121
123 bool m_parametersHasBeenSet = false;
124
125 int m_versionNumber;
126 bool m_versionNumberHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AppConfig
131} // namespace Aws
UpdateExtensionRequest & AddParameters(const char *key, Parameter &&value)
UpdateExtensionRequest & WithActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
UpdateExtensionRequest & AddParameters(Aws::String &&key, Parameter &&value)
UpdateExtensionRequest & AddActions(ActionPoint &&key, const Aws::Vector< Action > &value)
UpdateExtensionRequest & WithParameters(Aws::Map< Aws::String, Parameter > &&value)
void SetActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
UpdateExtensionRequest & WithExtensionIdentifier(Aws::String &&value)
UpdateExtensionRequest & AddParameters(const Aws::String &key, const Parameter &value)
UpdateExtensionRequest & WithParameters(const Aws::Map< Aws::String, Parameter > &value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
const Aws::Map< ActionPoint, Aws::Vector< Action > > & GetActions() const
const Aws::Map< Aws::String, Parameter > & GetParameters() const
UpdateExtensionRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
void SetParameters(Aws::Map< Aws::String, Parameter > &&value)
void SetExtensionIdentifier(const Aws::String &value)
UpdateExtensionRequest & AddParameters(Aws::String &&key, const Parameter &value)
void SetParameters(const Aws::Map< Aws::String, Parameter > &value)
UpdateExtensionRequest & WithExtensionIdentifier(const Aws::String &value)
UpdateExtensionRequest & WithVersionNumber(int value)
UpdateExtensionRequest & WithDescription(const Aws::String &value)
UpdateExtensionRequest & WithExtensionIdentifier(const char *value)
UpdateExtensionRequest & AddParameters(const char *key, const Parameter &value)
UpdateExtensionRequest & AddActions(const ActionPoint &key, Aws::Vector< Action > &&value)
UpdateExtensionRequest & AddParameters(const Aws::String &key, Parameter &&value)
UpdateExtensionRequest & WithActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
UpdateExtensionRequest & AddActions(const ActionPoint &key, const Aws::Vector< Action > &value)
void SetActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
UpdateExtensionRequest & AddActions(ActionPoint &&key, Aws::Vector< Action > &&value)
UpdateExtensionRequest & WithDescription(Aws::String &&value)
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