AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RemoveEndpointsRequest.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/globalaccelerator/GlobalAcceleratorRequest.h>
10#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
11#include <aws/globalaccelerator/model/EndpointIdentifier.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GlobalAccelerator {
17namespace Model {
18
22 public:
23 AWS_GLOBALACCELERATOR_API RemoveEndpointsRequest() = 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 "RemoveEndpoints"; }
30
31 AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override;
32
33 AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::Vector<EndpointIdentifier>& GetEndpointIdentifiers() const { return m_endpointIdentifiers; }
40 inline bool EndpointIdentifiersHasBeenSet() const { return m_endpointIdentifiersHasBeenSet; }
41 template <typename EndpointIdentifiersT = Aws::Vector<EndpointIdentifier>>
42 void SetEndpointIdentifiers(EndpointIdentifiersT&& value) {
43 m_endpointIdentifiersHasBeenSet = true;
44 m_endpointIdentifiers = std::forward<EndpointIdentifiersT>(value);
45 }
46 template <typename EndpointIdentifiersT = Aws::Vector<EndpointIdentifier>>
47 RemoveEndpointsRequest& WithEndpointIdentifiers(EndpointIdentifiersT&& value) {
48 SetEndpointIdentifiers(std::forward<EndpointIdentifiersT>(value));
49 return *this;
50 }
51 template <typename EndpointIdentifiersT = EndpointIdentifier>
52 RemoveEndpointsRequest& AddEndpointIdentifiers(EndpointIdentifiersT&& value) {
53 m_endpointIdentifiersHasBeenSet = true;
54 m_endpointIdentifiers.emplace_back(std::forward<EndpointIdentifiersT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetEndpointGroupArn() const { return m_endpointGroupArn; }
64 inline bool EndpointGroupArnHasBeenSet() const { return m_endpointGroupArnHasBeenSet; }
65 template <typename EndpointGroupArnT = Aws::String>
66 void SetEndpointGroupArn(EndpointGroupArnT&& value) {
67 m_endpointGroupArnHasBeenSet = true;
68 m_endpointGroupArn = std::forward<EndpointGroupArnT>(value);
69 }
70 template <typename EndpointGroupArnT = Aws::String>
71 RemoveEndpointsRequest& WithEndpointGroupArn(EndpointGroupArnT&& value) {
72 SetEndpointGroupArn(std::forward<EndpointGroupArnT>(value));
73 return *this;
74 }
76 private:
77 Aws::Vector<EndpointIdentifier> m_endpointIdentifiers;
78
79 Aws::String m_endpointGroupArn;
80 bool m_endpointIdentifiersHasBeenSet = false;
81 bool m_endpointGroupArnHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace GlobalAccelerator
86} // namespace Aws
const Aws::Vector< EndpointIdentifier > & GetEndpointIdentifiers() const
RemoveEndpointsRequest & WithEndpointGroupArn(EndpointGroupArnT &&value)
RemoveEndpointsRequest & AddEndpointIdentifiers(EndpointIdentifiersT &&value)
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveEndpointsRequest & WithEndpointIdentifiers(EndpointIdentifiersT &&value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_GLOBALACCELERATOR_API RemoveEndpointsRequest()=default
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