AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeAccountPreferencesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EFS
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 "DescribeAccountPreferences"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
47  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 
54  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
55 
61  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 
68  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 
75  inline DescribeAccountPreferencesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 
82  inline DescribeAccountPreferencesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 
89  inline DescribeAccountPreferencesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90 
91 
97  inline int GetMaxResults() const{ return m_maxResults; }
98 
104  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 
111  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 
118  inline DescribeAccountPreferencesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
119 
120  private:
121 
122  Aws::String m_nextToken;
123  bool m_nextTokenHasBeenSet;
124 
125  int m_maxResults;
126  bool m_maxResultsHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace EFS
131 } // namespace Aws
Aws::EFS::Model::DescribeAccountPreferencesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeAccountPreferencesRequest.h:97
EFS_EXPORTS.h
Aws::EFS::Model::DescribeAccountPreferencesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeAccountPreferencesRequest.h:111
EFSRequest.h
Aws::EFS::Model::DescribeAccountPreferencesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeAccountPreferencesRequest.h:68
Aws::EFS::Model::DescribeAccountPreferencesRequest::WithNextToken
DescribeAccountPreferencesRequest & WithNextToken(const char *value)
Definition: DescribeAccountPreferencesRequest.h:89
AWS_EFS_API
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:28
Aws::EFS::Model::DescribeAccountPreferencesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeAccountPreferencesRequest.h:61
Aws::Transfer::Model::Domain::NOT_SET
@ NOT_SET
Aws::EFS::Model::DescribeAccountPreferencesRequest::WithNextToken
DescribeAccountPreferencesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeAccountPreferencesRequest.h:75
Aws::EFS::Model::DescribeAccountPreferencesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeAccountPreferencesRequest.h:104
Aws::EFS::Model::DescribeAccountPreferencesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EFS::Model::DescribeAccountPreferencesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeAccountPreferencesRequest.h:40
AWSString.h
Aws::EFS::EFSRequest
Definition: EFSRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::EFS::Model::DescribeAccountPreferencesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAccountPreferencesRequest.h:30
Aws::EFS::Model::DescribeAccountPreferencesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeAccountPreferencesRequest.h:47
Aws::EFS::Model::DescribeAccountPreferencesRequest::WithMaxResults
DescribeAccountPreferencesRequest & WithMaxResults(int value)
Definition: DescribeAccountPreferencesRequest.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EFS::Model::DescribeAccountPreferencesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeAccountPreferencesRequest.h:54
Aws::EFS::Model::DescribeAccountPreferencesRequest::WithNextToken
DescribeAccountPreferencesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeAccountPreferencesRequest.h:82
Aws::EFS::Model::DescribeAccountPreferencesRequest::DescribeAccountPreferencesRequest
DescribeAccountPreferencesRequest()
Aws::EFS::Model::DescribeAccountPreferencesRequest
Definition: DescribeAccountPreferencesRequest.h:22