AWS SDK for C++  1.9.157
AWS SDK for C++
DeleteWebhookResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Amplify
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Webhook& GetWebhook() const{ return m_webhook; }
45 
49  inline void SetWebhook(const Webhook& value) { m_webhook = value; }
50 
54  inline void SetWebhook(Webhook&& value) { m_webhook = std::move(value); }
55 
59  inline DeleteWebhookResult& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;}
60 
64  inline DeleteWebhookResult& WithWebhook(Webhook&& value) { SetWebhook(std::move(value)); return *this;}
65 
66  private:
67 
68  Webhook m_webhook;
69  };
70 
71 } // namespace Model
72 } // namespace Amplify
73 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::DeleteWebhookResult
Definition: DeleteWebhookResult.h:34
Aws::Amplify::Model::DeleteWebhookResult::DeleteWebhookResult
DeleteWebhookResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::DeleteWebhookResult::WithWebhook
DeleteWebhookResult & WithWebhook(Webhook &&value)
Definition: DeleteWebhookResult.h:64
Aws::Amplify::Model::DeleteWebhookResult::GetWebhook
const Webhook & GetWebhook() const
Definition: DeleteWebhookResult.h:44
Aws::Amplify::Model::DeleteWebhookResult::DeleteWebhookResult
DeleteWebhookResult()
Aws::Amplify::Model::DeleteWebhookResult::SetWebhook
void SetWebhook(Webhook &&value)
Definition: DeleteWebhookResult.h:54
Aws::Amplify::Model::Webhook
Definition: Webhook.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Webhook.h
Aws::Amplify::Model::DeleteWebhookResult::operator=
DeleteWebhookResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::DeleteWebhookResult::WithWebhook
DeleteWebhookResult & WithWebhook(const Webhook &value)
Definition: DeleteWebhookResult.h:59
Aws::Amplify::Model::DeleteWebhookResult::SetWebhook
void SetWebhook(const Webhook &value)
Definition: DeleteWebhookResult.h:49
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28