AWS SDK for C++  1.9.155
AWS SDK for C++
CreateWebhookResult.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 CreateWebhookResult& WithWebhook(const Webhook& value) { SetWebhook(value); return *this;}
60 
64  inline CreateWebhookResult& 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::CreateWebhookResult::SetWebhook
void SetWebhook(Webhook &&value)
Definition: CreateWebhookResult.h:54
Aws::Amplify::Model::CreateWebhookResult::WithWebhook
CreateWebhookResult & WithWebhook(const Webhook &value)
Definition: CreateWebhookResult.h:59
Aws::Amplify::Model::CreateWebhookResult::WithWebhook
CreateWebhookResult & WithWebhook(Webhook &&value)
Definition: CreateWebhookResult.h:64
Aws::Amplify::Model::CreateWebhookResult::SetWebhook
void SetWebhook(const Webhook &value)
Definition: CreateWebhookResult.h:49
Aws::Amplify::Model::CreateWebhookResult
Definition: CreateWebhookResult.h:34
Aws::Amplify::Model::CreateWebhookResult::operator=
CreateWebhookResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::Webhook
Definition: Webhook.h:34
Aws::Amplify::Model::CreateWebhookResult::CreateWebhookResult
CreateWebhookResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Webhook.h
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::CreateWebhookResult::GetWebhook
const Webhook & GetWebhook() const
Definition: CreateWebhookResult.h:44
Aws::Amplify::Model::CreateWebhookResult::CreateWebhookResult
CreateWebhookResult()