AWS SDK for C++  1.9.66
AWS SDK for C++
RemoveProfilePermissionRequest.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 "RemoveProfilePermission"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetProfileName() const{ return m_profileName; }
46 
51  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
52 
57  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
58 
63  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
64 
69  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
70 
75  inline RemoveProfilePermissionRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
76 
81  inline RemoveProfilePermissionRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
82 
87  inline RemoveProfilePermissionRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
88 
89 
94  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
95 
100  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
101 
106  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
107 
112  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
113 
118  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
119 
124  inline RemoveProfilePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
125 
130  inline RemoveProfilePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
131 
136  inline RemoveProfilePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
137 
138 
142  inline const Aws::String& GetStatementId() const{ return m_statementId; }
143 
147  inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
148 
152  inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
153 
157  inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
158 
162  inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
163 
167  inline RemoveProfilePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
168 
172  inline RemoveProfilePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
173 
177  inline RemoveProfilePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
178 
179  private:
180 
181  Aws::String m_profileName;
182  bool m_profileNameHasBeenSet;
183 
184  Aws::String m_revisionId;
185  bool m_revisionIdHasBeenSet;
186 
187  Aws::String m_statementId;
188  bool m_statementIdHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace signer
193 } // namespace Aws
Aws::signer::Model::RemoveProfilePermissionRequest::SetStatementId
void SetStatementId(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:152
Aws::Http::URI
Definition: URI.h:32
Aws::signer::Model::RemoveProfilePermissionRequest::WithRevisionId
RemoveProfilePermissionRequest & WithRevisionId(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:130
Aws::signer::Model::RemoveProfilePermissionRequest::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: RemoveProfilePermissionRequest.h:100
Aws::signer::Model::RemoveProfilePermissionRequest::WithProfileName
RemoveProfilePermissionRequest & WithProfileName(const char *value)
Definition: RemoveProfilePermissionRequest.h:87
Aws::signer::Model::RemoveProfilePermissionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveProfilePermissionRequest.h:34
Aws::signer::Model::RemoveProfilePermissionRequest::WithStatementId
RemoveProfilePermissionRequest & WithStatementId(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:167
Aws::signer::Model::RemoveProfilePermissionRequest::WithProfileName
RemoveProfilePermissionRequest & WithProfileName(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:75
Aws::signer::Model::RemoveProfilePermissionRequest::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: RemoveProfilePermissionRequest.h:94
Aws::signer::Model::RemoveProfilePermissionRequest::SetProfileName
void SetProfileName(const char *value)
Definition: RemoveProfilePermissionRequest.h:69
Aws::signer::Model::RemoveProfilePermissionRequest::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:57
Aws::signer::Model::RemoveProfilePermissionRequest::WithRevisionId
RemoveProfilePermissionRequest & WithRevisionId(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:124
Aws::signer::Model::RemoveProfilePermissionRequest::WithStatementId
RemoveProfilePermissionRequest & WithStatementId(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:172
Aws::signer::Model::RemoveProfilePermissionRequest::SetStatementId
void SetStatementId(const char *value)
Definition: RemoveProfilePermissionRequest.h:162
Aws::signer::Model::RemoveProfilePermissionRequest::RemoveProfilePermissionRequest
RemoveProfilePermissionRequest()
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
Aws::signer::Model::RemoveProfilePermissionRequest::GetStatementId
const Aws::String & GetStatementId() const
Definition: RemoveProfilePermissionRequest.h:142
SignerRequest.h
Aws::signer::Model::RemoveProfilePermissionRequest::SetRevisionId
void SetRevisionId(const char *value)
Definition: RemoveProfilePermissionRequest.h:118
Aws::signer::Model::RemoveProfilePermissionRequest::WithRevisionId
RemoveProfilePermissionRequest & WithRevisionId(const char *value)
Definition: RemoveProfilePermissionRequest.h:136
Aws::signer::Model::RemoveProfilePermissionRequest::WithProfileName
RemoveProfilePermissionRequest & WithProfileName(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:81
AWSString.h
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::RemoveProfilePermissionRequest
Definition: RemoveProfilePermissionRequest.h:26
Aws::signer::Model::RemoveProfilePermissionRequest::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: RemoveProfilePermissionRequest.h:51
Aws::signer::Model::RemoveProfilePermissionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::signer::Model::RemoveProfilePermissionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::Model::RemoveProfilePermissionRequest::GetProfileName
const Aws::String & GetProfileName() const
Definition: RemoveProfilePermissionRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::signer::Model::RemoveProfilePermissionRequest::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: RemoveProfilePermissionRequest.h:106
Aws::signer::Model::RemoveProfilePermissionRequest::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:63
Aws::signer::Model::RemoveProfilePermissionRequest::WithStatementId
RemoveProfilePermissionRequest & WithStatementId(const char *value)
Definition: RemoveProfilePermissionRequest.h:177
Signer_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::signer::Model::RemoveProfilePermissionRequest::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:112
Aws::signer::Model::RemoveProfilePermissionRequest::StatementIdHasBeenSet
bool StatementIdHasBeenSet() const
Definition: RemoveProfilePermissionRequest.h:147
Aws::signer::Model::RemoveProfilePermissionRequest::SetStatementId
void SetStatementId(Aws::String &&value)
Definition: RemoveProfilePermissionRequest.h:157