AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteCanaryRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/synthetics/SyntheticsRequest.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Synthetics {
18namespace Model {
19
23 public:
24 AWS_SYNTHETICS_API DeleteCanaryRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteCanary"; }
31
32 AWS_SYNTHETICS_API Aws::String SerializePayload() const override;
33
34 AWS_SYNTHETICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 DeleteCanaryRequest& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
65 inline bool GetDeleteLambda() const { return m_deleteLambda; }
66 inline bool DeleteLambdaHasBeenSet() const { return m_deleteLambdaHasBeenSet; }
67 inline void SetDeleteLambda(bool value) {
68 m_deleteLambdaHasBeenSet = true;
69 m_deleteLambda = value;
70 }
72 SetDeleteLambda(value);
73 return *this;
74 }
76 private:
77 Aws::String m_name;
78
79 bool m_deleteLambda{false};
80 bool m_nameHasBeenSet = false;
81 bool m_deleteLambdaHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Synthetics
86} // namespace Aws
AWS_SYNTHETICS_API DeleteCanaryRequest()=default
DeleteCanaryRequest & WithDeleteLambda(bool value)
AWS_SYNTHETICS_API Aws::String SerializePayload() const override
AWS_SYNTHETICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteCanaryRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String