AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemoveIpRoutesRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectoryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTORYSERVICE_API RemoveIpRoutesRequest() = 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 "RemoveIpRoutes"; }
32
33 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
44 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
45 template<typename DirectoryIdT = Aws::String>
46 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
47 template<typename DirectoryIdT = Aws::String>
48 RemoveIpRoutesRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetCidrIps() const { return m_cidrIps; }
56 inline bool CidrIpsHasBeenSet() const { return m_cidrIpsHasBeenSet; }
57 template<typename CidrIpsT = Aws::Vector<Aws::String>>
58 void SetCidrIps(CidrIpsT&& value) { m_cidrIpsHasBeenSet = true; m_cidrIps = std::forward<CidrIpsT>(value); }
59 template<typename CidrIpsT = Aws::Vector<Aws::String>>
60 RemoveIpRoutesRequest& WithCidrIps(CidrIpsT&& value) { SetCidrIps(std::forward<CidrIpsT>(value)); return *this;}
61 template<typename CidrIpsT = Aws::String>
62 RemoveIpRoutesRequest& AddCidrIps(CidrIpsT&& value) { m_cidrIpsHasBeenSet = true; m_cidrIps.emplace_back(std::forward<CidrIpsT>(value)); return *this; }
64 private:
65
66 Aws::String m_directoryId;
67 bool m_directoryIdHasBeenSet = false;
68
70 bool m_cidrIpsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DirectoryService
75} // namespace Aws
RemoveIpRoutesRequest & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetCidrIps() const
virtual const char * GetServiceRequestName() const override
RemoveIpRoutesRequest & AddCidrIps(CidrIpsT &&value)
AWS_DIRECTORYSERVICE_API RemoveIpRoutesRequest()=default
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveIpRoutesRequest & WithCidrIps(CidrIpsT &&value)
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