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