AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
GetHookResultRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFormation {
15namespace Model {
16
20 public:
21 AWS_CLOUDFORMATION_API GetHookResultRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetHookResult"; }
28
29 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
42 inline const Aws::String& GetHookResultId() const { return m_hookResultId; }
43 inline bool HookResultIdHasBeenSet() const { return m_hookResultIdHasBeenSet; }
44 template <typename HookResultIdT = Aws::String>
45 void SetHookResultId(HookResultIdT&& value) {
46 m_hookResultIdHasBeenSet = true;
47 m_hookResultId = std::forward<HookResultIdT>(value);
48 }
49 template <typename HookResultIdT = Aws::String>
50 GetHookResultRequest& WithHookResultId(HookResultIdT&& value) {
51 SetHookResultId(std::forward<HookResultIdT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_hookResultId;
57 bool m_hookResultIdHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace CloudFormation
62} // namespace Aws
GetHookResultRequest & WithHookResultId(HookResultIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDFORMATION_API GetHookResultRequest()=default
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String