AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_APPCONFIG_API UpdateExtensionAssociationRequest() = default;
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 template<typename ExtensionAssociationIdT = Aws::String>
43 void SetExtensionAssociationId(ExtensionAssociationIdT&& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = std::forward<ExtensionAssociationIdT>(value); }
44 template<typename ExtensionAssociationIdT = Aws::String>
45 UpdateExtensionAssociationRequest& WithExtensionAssociationId(ExtensionAssociationIdT&& value) { SetExtensionAssociationId(std::forward<ExtensionAssociationIdT>(value)); return *this;}
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
53 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
54 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
55 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
56 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
57 UpdateExtensionAssociationRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
58 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
59 UpdateExtensionAssociationRequest& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
60 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
61 }
63 private:
64
65 Aws::String m_extensionAssociationId;
66 bool m_extensionAssociationIdHasBeenSet = false;
67
69 bool m_parametersHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace AppConfig
74} // namespace Aws
AWS_APPCONFIG_API UpdateExtensionAssociationRequest()=default
UpdateExtensionAssociationRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateExtensionAssociationRequest & WithExtensionAssociationId(ExtensionAssociationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateExtensionAssociationRequest & WithParameters(ParametersT &&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