AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeConditionalForwardersRequest.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
26 {
27 public:
28 AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeConditionalForwarders"; }
35
36 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
47 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 template<typename DirectoryIdT = Aws::String>
49 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
50 template<typename DirectoryIdT = Aws::String>
51 DescribeConditionalForwardersRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
53
55
60 inline const Aws::Vector<Aws::String>& GetRemoteDomainNames() const { return m_remoteDomainNames; }
61 inline bool RemoteDomainNamesHasBeenSet() const { return m_remoteDomainNamesHasBeenSet; }
62 template<typename RemoteDomainNamesT = Aws::Vector<Aws::String>>
63 void SetRemoteDomainNames(RemoteDomainNamesT&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames = std::forward<RemoteDomainNamesT>(value); }
64 template<typename RemoteDomainNamesT = Aws::Vector<Aws::String>>
65 DescribeConditionalForwardersRequest& WithRemoteDomainNames(RemoteDomainNamesT&& value) { SetRemoteDomainNames(std::forward<RemoteDomainNamesT>(value)); return *this;}
66 template<typename RemoteDomainNamesT = Aws::String>
67 DescribeConditionalForwardersRequest& AddRemoteDomainNames(RemoteDomainNamesT&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.emplace_back(std::forward<RemoteDomainNamesT>(value)); return *this; }
69 private:
70
71 Aws::String m_directoryId;
72 bool m_directoryIdHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_remoteDomainNames;
75 bool m_remoteDomainNamesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DirectoryService
80} // namespace Aws
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
DescribeConditionalForwardersRequest & WithRemoteDomainNames(RemoteDomainNamesT &&value)
DescribeConditionalForwardersRequest & AddRemoteDomainNames(RemoteDomainNamesT &&value)
DescribeConditionalForwardersRequest & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersRequest()=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