AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateExtensionAssociationRequest.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 <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateExtensionAssociation"; }
32
33 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetExtensionAssociationId() const{ return m_extensionAssociationId; }
41 inline bool ExtensionAssociationIdHasBeenSet() const { return m_extensionAssociationIdHasBeenSet; }
42 inline void SetExtensionAssociationId(const Aws::String& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = value; }
43 inline void SetExtensionAssociationId(Aws::String&& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = std::move(value); }
44 inline void SetExtensionAssociationId(const char* value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId.assign(value); }
49
51
54 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
55 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
56 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
57 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
60 inline UpdateExtensionAssociationRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
61 inline UpdateExtensionAssociationRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
62 inline UpdateExtensionAssociationRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
63 inline UpdateExtensionAssociationRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
64 inline UpdateExtensionAssociationRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
65 inline UpdateExtensionAssociationRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
66 inline UpdateExtensionAssociationRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
68 private:
69
70 Aws::String m_extensionAssociationId;
71 bool m_extensionAssociationIdHasBeenSet = false;
72
74 bool m_parametersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppConfig
79} // namespace Aws
UpdateExtensionAssociationRequest & AddParameters(Aws::String &&key, const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExtensionAssociationRequest & AddParameters(const Aws::String &key, const Aws::String &value)
UpdateExtensionAssociationRequest & WithExtensionAssociationId(Aws::String &&value)
UpdateExtensionAssociationRequest & AddParameters(Aws::String &&key, Aws::String &&value)
UpdateExtensionAssociationRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateExtensionAssociationRequest & AddParameters(const Aws::String &key, Aws::String &&value)
UpdateExtensionAssociationRequest & AddParameters(Aws::String &&key, const char *value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExtensionAssociationRequest & WithExtensionAssociationId(const Aws::String &value)
UpdateExtensionAssociationRequest & WithExtensionAssociationId(const char *value)
UpdateExtensionAssociationRequest & AddParameters(const char *key, Aws::String &&value)
UpdateExtensionAssociationRequest & AddParameters(const char *key, const char *value)
UpdateExtensionAssociationRequest & WithParameters(const Aws::Map< Aws::String, 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