AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProfilesRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/ProfileType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API ListProfilesRequest();
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 "ListProfiles"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline int GetMaxResults() const{ return m_maxResults; }
43 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
44 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
45 inline ListProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
47
49
54 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
59 inline ListProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
70 inline const ProfileType& GetProfileType() const{ return m_profileType; }
71 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
72 inline void SetProfileType(const ProfileType& value) { m_profileTypeHasBeenSet = true; m_profileType = value; }
73 inline void SetProfileType(ProfileType&& value) { m_profileTypeHasBeenSet = true; m_profileType = std::move(value); }
74 inline ListProfilesRequest& WithProfileType(const ProfileType& value) { SetProfileType(value); return *this;}
75 inline ListProfilesRequest& WithProfileType(ProfileType&& value) { SetProfileType(std::move(value)); return *this;}
77 private:
78
79 int m_maxResults;
80 bool m_maxResultsHasBeenSet = false;
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 ProfileType m_profileType;
86 bool m_profileTypeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Transfer
91} // namespace Aws
ListProfilesRequest & WithNextToken(const char *value)
ListProfilesRequest & WithNextToken(const Aws::String &value)
ListProfilesRequest & WithProfileType(const ProfileType &value)
void SetProfileType(const ProfileType &value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListProfilesRequest & WithProfileType(ProfileType &&value)
ListProfilesRequest & WithNextToken(Aws::String &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListProfilesRequest & WithMaxResults(int value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String