AWS SDK for C++  1.9.131
AWS SDK for C++
ListProfilePermissionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace signer
19 {
20 namespace Model
21 {
22 
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 "ListProfilePermissions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetProfileName() const{ return m_profileName; }
45 
49  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
50 
54  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
55 
59  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
60 
64  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
65 
69  inline ListProfilePermissionsRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
70 
74  inline ListProfilePermissionsRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
75 
79  inline ListProfilePermissionsRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline ListProfilePermissionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline ListProfilePermissionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline ListProfilePermissionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::String m_profileName;
125  bool m_profileNameHasBeenSet;
126 
127  Aws::String m_nextToken;
128  bool m_nextTokenHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace signer
133 } // namespace Aws
Aws::signer::Model::ListProfilePermissionsRequest::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: ListProfilePermissionsRequest.h:59
Aws::signer::Model::ListProfilePermissionsRequest
Definition: ListProfilePermissionsRequest.h:26
Aws::Http::URI
Definition: URI.h:32
Aws::signer::Model::ListProfilePermissionsRequest::ListProfilePermissionsRequest
ListProfilePermissionsRequest()
Aws::signer::Model::ListProfilePermissionsRequest::WithProfileName
ListProfilePermissionsRequest & WithProfileName(Aws::String &&value)
Definition: ListProfilePermissionsRequest.h:74
Aws::signer::Model::ListProfilePermissionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProfilePermissionsRequest.h:100
Aws::signer::Model::ListProfilePermissionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProfilePermissionsRequest.h:85
Aws::signer::Model::ListProfilePermissionsRequest::SetProfileName
void SetProfileName(const char *value)
Definition: ListProfilePermissionsRequest.h:64
Aws::signer::Model::ListProfilePermissionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListProfilePermissionsRequest.h:90
Aws::signer::Model::ListProfilePermissionsRequest::WithProfileName
ListProfilePermissionsRequest & WithProfileName(const Aws::String &value)
Definition: ListProfilePermissionsRequest.h:69
Aws::signer::Model::ListProfilePermissionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::Model::ListProfilePermissionsRequest::GetProfileName
const Aws::String & GetProfileName() const
Definition: ListProfilePermissionsRequest.h:44
Aws::signer::Model::ListProfilePermissionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::signer::Model::ListProfilePermissionsRequest::WithNextToken
ListProfilePermissionsRequest & WithNextToken(Aws::String &&value)
Definition: ListProfilePermissionsRequest.h:115
Aws::signer::Model::ListProfilePermissionsRequest::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: ListProfilePermissionsRequest.h:49
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
SignerRequest.h
Aws::signer::Model::ListProfilePermissionsRequest::WithNextToken
ListProfilePermissionsRequest & WithNextToken(const Aws::String &value)
Definition: ListProfilePermissionsRequest.h:110
Aws::signer::Model::ListProfilePermissionsRequest::WithNextToken
ListProfilePermissionsRequest & WithNextToken(const char *value)
Definition: ListProfilePermissionsRequest.h:120
AWSString.h
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::ListProfilePermissionsRequest::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: ListProfilePermissionsRequest.h:54
Aws::signer::Model::ListProfilePermissionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProfilePermissionsRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Signer_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::signer::Model::ListProfilePermissionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProfilePermissionsRequest.h:95
Aws::signer::Model::ListProfilePermissionsRequest::WithProfileName
ListProfilePermissionsRequest & WithProfileName(const char *value)
Definition: ListProfilePermissionsRequest.h:79
Aws::signer::Model::ListProfilePermissionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListProfilePermissionsRequest.h:105