AWS SDK for C++  1.9.109
AWS SDK for C++
PutWebhookResult.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 CodePipeline
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const ListWebhookItem& GetWebhook() const{ return m_webhook; }
40 
45  inline void SetWebhook(const ListWebhookItem& value) { m_webhook = value; }
46 
51  inline void SetWebhook(ListWebhookItem&& value) { m_webhook = std::move(value); }
52 
57  inline PutWebhookResult& WithWebhook(const ListWebhookItem& value) { SetWebhook(value); return *this;}
58 
63  inline PutWebhookResult& WithWebhook(ListWebhookItem&& value) { SetWebhook(std::move(value)); return *this;}
64 
65  private:
66 
67  ListWebhookItem m_webhook;
68  };
69 
70 } // namespace Model
71 } // namespace CodePipeline
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodePipeline::Model::PutWebhookResult::WithWebhook
PutWebhookResult & WithWebhook(const ListWebhookItem &value)
Definition: PutWebhookResult.h:57
Aws::CodePipeline::Model::PutWebhookResult::WithWebhook
PutWebhookResult & WithWebhook(ListWebhookItem &&value)
Definition: PutWebhookResult.h:63
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::PutWebhookResult::SetWebhook
void SetWebhook(ListWebhookItem &&value)
Definition: PutWebhookResult.h:51
ListWebhookItem.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::PutWebhookResult::PutWebhookResult
PutWebhookResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::PutWebhookResult::PutWebhookResult
PutWebhookResult()
Aws::CodePipeline::Model::PutWebhookResult::GetWebhook
const ListWebhookItem & GetWebhook() const
Definition: PutWebhookResult.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ListWebhookItem
Definition: ListWebhookItem.h:38
Aws::CodePipeline::Model::PutWebhookResult::operator=
PutWebhookResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::PutWebhookResult::SetWebhook
void SetWebhook(const ListWebhookItem &value)
Definition: PutWebhookResult.h:45
Aws::CodePipeline::Model::PutWebhookResult
Definition: PutWebhookResult.h:28