AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateExtensionAssociationRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppConfig {
16namespace Model {
17
21 public:
22 AWS_APPCONFIG_API UpdateExtensionAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateExtensionAssociation"; }
29
30 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetExtensionAssociationId() const { return m_extensionAssociationId; }
37 inline bool ExtensionAssociationIdHasBeenSet() const { return m_extensionAssociationIdHasBeenSet; }
38 template <typename ExtensionAssociationIdT = Aws::String>
39 void SetExtensionAssociationId(ExtensionAssociationIdT&& value) {
40 m_extensionAssociationIdHasBeenSet = true;
41 m_extensionAssociationId = std::forward<ExtensionAssociationIdT>(value);
42 }
43 template <typename ExtensionAssociationIdT = Aws::String>
45 SetExtensionAssociationId(std::forward<ExtensionAssociationIdT>(value));
46 return *this;
47 }
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 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
57 void SetParameters(ParametersT&& value) {
58 m_parametersHasBeenSet = true;
59 m_parameters = std::forward<ParametersT>(value);
60 }
61 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
63 SetParameters(std::forward<ParametersT>(value));
64 return *this;
65 }
66 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
67 UpdateExtensionAssociationRequest& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
68 m_parametersHasBeenSet = true;
69 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_extensionAssociationId;
75
77 bool m_extensionAssociationIdHasBeenSet = false;
78 bool m_parametersHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AppConfig
83} // 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