AWS SDK for C++  1.8.154
AWS SDK for C++
DescribeConditionalForwardersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DirectoryService
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
51  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
52 
57  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
58 
63  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
64 
69  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
70 
75  inline DescribeConditionalForwardersRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
76 
81  inline DescribeConditionalForwardersRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
82 
87  inline DescribeConditionalForwardersRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
88 
89 
95  inline const Aws::Vector<Aws::String>& GetRemoteDomainNames() const{ return m_remoteDomainNames; }
96 
102  inline bool RemoteDomainNamesHasBeenSet() const { return m_remoteDomainNamesHasBeenSet; }
103 
109  inline void SetRemoteDomainNames(const Aws::Vector<Aws::String>& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames = value; }
110 
116  inline void SetRemoteDomainNames(Aws::Vector<Aws::String>&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames = std::move(value); }
117 
123  inline DescribeConditionalForwardersRequest& WithRemoteDomainNames(const Aws::Vector<Aws::String>& value) { SetRemoteDomainNames(value); return *this;}
124 
130  inline DescribeConditionalForwardersRequest& WithRemoteDomainNames(Aws::Vector<Aws::String>&& value) { SetRemoteDomainNames(std::move(value)); return *this;}
131 
137  inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(const Aws::String& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(value); return *this; }
138 
144  inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(Aws::String&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(std::move(value)); return *this; }
145 
151  inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(const char* value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(value); return *this; }
152 
153  private:
154 
155  Aws::String m_directoryId;
156  bool m_directoryIdHasBeenSet;
157 
158  Aws::Vector<Aws::String> m_remoteDomainNames;
159  bool m_remoteDomainNamesHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace DirectoryService
164 } // namespace Aws
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DescribeConditionalForwardersRequest.h:51
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::DescribeConditionalForwardersRequest
DescribeConditionalForwardersRequest()
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::AddRemoteDomainNames
DescribeConditionalForwardersRequest & AddRemoteDomainNames(const char *value)
Definition: DescribeConditionalForwardersRequest.h:151
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::WithDirectoryId
DescribeConditionalForwardersRequest & WithDirectoryId(const char *value)
Definition: DescribeConditionalForwardersRequest.h:87
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DescribeConditionalForwardersRequest.h:63
AWSVector.h
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::RemoteDomainNamesHasBeenSet
bool RemoteDomainNamesHasBeenSet() const
Definition: DescribeConditionalForwardersRequest.h:102
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DescribeConditionalForwardersRequest.h:69
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SetRemoteDomainNames
void SetRemoteDomainNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeConditionalForwardersRequest.h:109
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::AddRemoteDomainNames
DescribeConditionalForwardersRequest & AddRemoteDomainNames(const Aws::String &value)
Definition: DescribeConditionalForwardersRequest.h:137
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::WithRemoteDomainNames
DescribeConditionalForwardersRequest & WithRemoteDomainNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeConditionalForwardersRequest.h:123
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::WithDirectoryId
DescribeConditionalForwardersRequest & WithDirectoryId(Aws::String &&value)
Definition: DescribeConditionalForwardersRequest.h:81
AWSString.h
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DescribeConditionalForwardersRequest.h:57
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::GetRemoteDomainNames
const Aws::Vector< Aws::String > & GetRemoteDomainNames() const
Definition: DescribeConditionalForwardersRequest.h:95
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SetRemoteDomainNames
void SetRemoteDomainNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeConditionalForwardersRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::WithRemoteDomainNames
DescribeConditionalForwardersRequest & WithRemoteDomainNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeConditionalForwardersRequest.h:130
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeConditionalForwardersRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DescribeConditionalForwardersRequest.h:45
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::AddRemoteDomainNames
DescribeConditionalForwardersRequest & AddRemoteDomainNames(Aws::String &&value)
Definition: DescribeConditionalForwardersRequest.h:144
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest::WithDirectoryId
DescribeConditionalForwardersRequest & WithDirectoryId(const Aws::String &value)
Definition: DescribeConditionalForwardersRequest.h:75
Aws::DirectoryService::Model::DescribeConditionalForwardersRequest
Definition: DescribeConditionalForwardersRequest.h:26