AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RemoveEndpointsRequest.h
1
6#pragma once
7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/globalaccelerator/GlobalAcceleratorRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/globalaccelerator/model/EndpointIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GlobalAccelerator
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLOBALACCELERATOR_API RemoveEndpointsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RemoveEndpoints"; }
33
34 AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override;
35
36 AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::Vector<EndpointIdentifier>& GetEndpointIdentifiers() const { return m_endpointIdentifiers; }
44 inline bool EndpointIdentifiersHasBeenSet() const { return m_endpointIdentifiersHasBeenSet; }
45 template<typename EndpointIdentifiersT = Aws::Vector<EndpointIdentifier>>
46 void SetEndpointIdentifiers(EndpointIdentifiersT&& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers = std::forward<EndpointIdentifiersT>(value); }
47 template<typename EndpointIdentifiersT = Aws::Vector<EndpointIdentifier>>
48 RemoveEndpointsRequest& WithEndpointIdentifiers(EndpointIdentifiersT&& value) { SetEndpointIdentifiers(std::forward<EndpointIdentifiersT>(value)); return *this;}
49 template<typename EndpointIdentifiersT = EndpointIdentifier>
50 RemoveEndpointsRequest& AddEndpointIdentifiers(EndpointIdentifiersT&& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers.emplace_back(std::forward<EndpointIdentifiersT>(value)); return *this; }
52
54
57 inline const Aws::String& GetEndpointGroupArn() const { return m_endpointGroupArn; }
58 inline bool EndpointGroupArnHasBeenSet() const { return m_endpointGroupArnHasBeenSet; }
59 template<typename EndpointGroupArnT = Aws::String>
60 void SetEndpointGroupArn(EndpointGroupArnT&& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = std::forward<EndpointGroupArnT>(value); }
61 template<typename EndpointGroupArnT = Aws::String>
62 RemoveEndpointsRequest& WithEndpointGroupArn(EndpointGroupArnT&& value) { SetEndpointGroupArn(std::forward<EndpointGroupArnT>(value)); return *this;}
64 private:
65
66 Aws::Vector<EndpointIdentifier> m_endpointIdentifiers;
67 bool m_endpointIdentifiersHasBeenSet = false;
68
69 Aws::String m_endpointGroupArn;
70 bool m_endpointGroupArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GlobalAccelerator
75} // 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