AWS SDK for C++  1.9.155
AWS SDK for C++
DeleteWebhookRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Amplify
15 {
16 namespace Model
17 {
18 
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 "DeleteWebhook"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetWebhookId() const{ return m_webhookId; }
43 
47  inline bool WebhookIdHasBeenSet() const { return m_webhookIdHasBeenSet; }
48 
52  inline void SetWebhookId(const Aws::String& value) { m_webhookIdHasBeenSet = true; m_webhookId = value; }
53 
57  inline void SetWebhookId(Aws::String&& value) { m_webhookIdHasBeenSet = true; m_webhookId = std::move(value); }
58 
62  inline void SetWebhookId(const char* value) { m_webhookIdHasBeenSet = true; m_webhookId.assign(value); }
63 
67  inline DeleteWebhookRequest& WithWebhookId(const Aws::String& value) { SetWebhookId(value); return *this;}
68 
72  inline DeleteWebhookRequest& WithWebhookId(Aws::String&& value) { SetWebhookId(std::move(value)); return *this;}
73 
77  inline DeleteWebhookRequest& WithWebhookId(const char* value) { SetWebhookId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_webhookId;
82  bool m_webhookIdHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace Amplify
87 } // namespace Aws
Aws::Amplify::Model::DeleteWebhookRequest::SetWebhookId
void SetWebhookId(Aws::String &&value)
Definition: DeleteWebhookRequest.h:57
Aws::Amplify::Model::DeleteWebhookRequest
Definition: DeleteWebhookRequest.h:26
Amplify_EXPORTS.h
Aws::Amplify::Model::DeleteWebhookRequest::WithWebhookId
DeleteWebhookRequest & WithWebhookId(Aws::String &&value)
Definition: DeleteWebhookRequest.h:72
Aws::Amplify::Model::DeleteWebhookRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteWebhookRequest.h:34
Aws::Amplify::Model::DeleteWebhookRequest::DeleteWebhookRequest
DeleteWebhookRequest()
Aws::Amplify::Model::DeleteWebhookRequest::WithWebhookId
DeleteWebhookRequest & WithWebhookId(const char *value)
Definition: DeleteWebhookRequest.h:77
Aws::Amplify::Model::DeleteWebhookRequest::WebhookIdHasBeenSet
bool WebhookIdHasBeenSet() const
Definition: DeleteWebhookRequest.h:47
AmplifyRequest.h
Aws::Amplify::Model::DeleteWebhookRequest::WithWebhookId
DeleteWebhookRequest & WithWebhookId(const Aws::String &value)
Definition: DeleteWebhookRequest.h:67
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::DeleteWebhookRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::DeleteWebhookRequest::SetWebhookId
void SetWebhookId(const char *value)
Definition: DeleteWebhookRequest.h:62
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::DeleteWebhookRequest::GetWebhookId
const Aws::String & GetWebhookId() const
Definition: DeleteWebhookRequest.h:42
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::DeleteWebhookRequest::SetWebhookId
void SetWebhookId(const Aws::String &value)
Definition: DeleteWebhookRequest.h:52
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28