AWS SDK for C++  1.8.154
AWS SDK for C++
ListLogSubscriptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListLogSubscriptions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
45 
53  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
54 
62  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
63 
71  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
72 
80  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
81 
89  inline ListLogSubscriptionsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
90 
98  inline ListLogSubscriptionsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
99 
107  inline ListLogSubscriptionsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
108 
109 
113  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 
118  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
119 
123  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
124 
128  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
129 
133  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
134 
138  inline ListLogSubscriptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
139 
143  inline ListLogSubscriptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144 
148  inline ListLogSubscriptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150 
154  inline int GetLimit() const{ return m_limit; }
155 
159  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
160 
164  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 
169  inline ListLogSubscriptionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
170 
171  private:
172 
173  Aws::String m_directoryId;
174  bool m_directoryIdHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178 
179  int m_limit;
180  bool m_limitHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace DirectoryService
185 } // namespace Aws
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetLimit
void SetLimit(int value)
Definition: ListLogSubscriptionsRequest.h:164
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithNextToken
ListLogSubscriptionsRequest & WithNextToken(const char *value)
Definition: ListLogSubscriptionsRequest.h:148
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithDirectoryId
ListLogSubscriptionsRequest & WithDirectoryId(const char *value)
Definition: ListLogSubscriptionsRequest.h:107
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithNextToken
ListLogSubscriptionsRequest & WithNextToken(const Aws::String &value)
Definition: ListLogSubscriptionsRequest.h:138
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLogSubscriptionsRequest.h:133
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLogSubscriptionsRequest.h:118
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::ListLogSubscriptionsRequest
ListLogSubscriptionsRequest()
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithDirectoryId
ListLogSubscriptionsRequest & WithDirectoryId(Aws::String &&value)
Definition: ListLogSubscriptionsRequest.h:98
DirectoryService_EXPORTS.h
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithDirectoryId
ListLogSubscriptionsRequest & WithDirectoryId(const Aws::String &value)
Definition: ListLogSubscriptionsRequest.h:89
Aws::DirectoryService::Model::ListLogSubscriptionsRequest
Definition: ListLogSubscriptionsRequest.h:22
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListLogSubscriptionsRequest.h:159
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithLimit
ListLogSubscriptionsRequest & WithLimit(int value)
Definition: ListLogSubscriptionsRequest.h:169
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: ListLogSubscriptionsRequest.h:62
AWSString.h
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLogSubscriptionsRequest.h:128
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLogSubscriptionsRequest.h:123
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::GetLimit
int GetLimit() const
Definition: ListLogSubscriptionsRequest.h:154
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLogSubscriptionsRequest.h:113
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLogSubscriptionsRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: ListLogSubscriptionsRequest.h:71
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: ListLogSubscriptionsRequest.h:53
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: ListLogSubscriptionsRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DirectoryServiceRequest.h
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::WithNextToken
ListLogSubscriptionsRequest & WithNextToken(Aws::String &&value)
Definition: ListLogSubscriptionsRequest.h:143
Aws::DirectoryService::Model::ListLogSubscriptionsRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: ListLogSubscriptionsRequest.h:44