AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RemoveCustomRoutingEndpointsRequest.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 <utility>
12
13namespace Aws
14{
15namespace GlobalAccelerator
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLOBALACCELERATOR_API RemoveCustomRoutingEndpointsRequest() = 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 "RemoveCustomRoutingEndpoints"; }
32
33 AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override;
34
35 AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::Vector<Aws::String>& GetEndpointIds() const { return m_endpointIds; }
44 inline bool EndpointIdsHasBeenSet() const { return m_endpointIdsHasBeenSet; }
45 template<typename EndpointIdsT = Aws::Vector<Aws::String>>
46 void SetEndpointIds(EndpointIdsT&& value) { m_endpointIdsHasBeenSet = true; m_endpointIds = std::forward<EndpointIdsT>(value); }
47 template<typename EndpointIdsT = Aws::Vector<Aws::String>>
48 RemoveCustomRoutingEndpointsRequest& WithEndpointIds(EndpointIdsT&& value) { SetEndpointIds(std::forward<EndpointIdsT>(value)); return *this;}
49 template<typename EndpointIdsT = Aws::String>
50 RemoveCustomRoutingEndpointsRequest& AddEndpointIds(EndpointIdsT&& value) { m_endpointIdsHasBeenSet = true; m_endpointIds.emplace_back(std::forward<EndpointIdsT>(value)); return *this; }
52
54
58 inline const Aws::String& GetEndpointGroupArn() const { return m_endpointGroupArn; }
59 inline bool EndpointGroupArnHasBeenSet() const { return m_endpointGroupArnHasBeenSet; }
60 template<typename EndpointGroupArnT = Aws::String>
61 void SetEndpointGroupArn(EndpointGroupArnT&& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = std::forward<EndpointGroupArnT>(value); }
62 template<typename EndpointGroupArnT = Aws::String>
63 RemoveCustomRoutingEndpointsRequest& WithEndpointGroupArn(EndpointGroupArnT&& value) { SetEndpointGroupArn(std::forward<EndpointGroupArnT>(value)); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_endpointIds;
68 bool m_endpointIdsHasBeenSet = false;
69
70 Aws::String m_endpointGroupArn;
71 bool m_endpointGroupArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GlobalAccelerator
76} // namespace Aws
RemoveCustomRoutingEndpointsRequest & WithEndpointIds(EndpointIdsT &&value)
AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveCustomRoutingEndpointsRequest & WithEndpointGroupArn(EndpointGroupArnT &&value)
RemoveCustomRoutingEndpointsRequest & AddEndpointIds(EndpointIdsT &&value)
AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override
AWS_GLOBALACCELERATOR_API RemoveCustomRoutingEndpointsRequest()=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