AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
UpdateProxyAttributesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elb-proxy/ELBProxyRequest.h>
10#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
11#include <aws/elb-proxy/model/Attribute.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ELBProxy {
17namespace Model {
18
22 public:
23 AWS_ELBPROXY_API UpdateProxyAttributesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateProxyAttributes"; }
30
31 AWS_ELBPROXY_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetProxyIdentifier() const { return m_proxyIdentifier; }
40 inline bool ProxyIdentifierHasBeenSet() const { return m_proxyIdentifierHasBeenSet; }
41 template <typename ProxyIdentifierT = Aws::String>
42 void SetProxyIdentifier(ProxyIdentifierT&& value) {
43 m_proxyIdentifierHasBeenSet = true;
44 m_proxyIdentifier = std::forward<ProxyIdentifierT>(value);
45 }
46 template <typename ProxyIdentifierT = Aws::String>
48 SetProxyIdentifier(std::forward<ProxyIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::Vector<Attribute>& GetAttributes() const { return m_attributes; }
59 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
60 template <typename AttributesT = Aws::Vector<Attribute>>
61 void SetAttributes(AttributesT&& value) {
62 m_attributesHasBeenSet = true;
63 m_attributes = std::forward<AttributesT>(value);
64 }
65 template <typename AttributesT = Aws::Vector<Attribute>>
67 SetAttributes(std::forward<AttributesT>(value));
68 return *this;
69 }
70 template <typename AttributesT = Attribute>
72 m_attributesHasBeenSet = true;
73 m_attributes.emplace_back(std::forward<AttributesT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_proxyIdentifier;
79
80 Aws::Vector<Attribute> m_attributes;
81 bool m_proxyIdentifierHasBeenSet = false;
82 bool m_attributesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ELBProxy
87} // namespace Aws
UpdateProxyAttributesRequest & AddAttributes(AttributesT &&value)
AWS_ELBPROXY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProxyAttributesRequest & WithAttributes(AttributesT &&value)
UpdateProxyAttributesRequest & WithProxyIdentifier(ProxyIdentifierT &&value)
AWS_ELBPROXY_API UpdateProxyAttributesRequest()=default
AWS_ELBPROXY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector