AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DeleteLabelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace LookoutEquipment {
15namespace Model {
16
20 public:
21 AWS_LOOKOUTEQUIPMENT_API DeleteLabelRequest() = 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 "DeleteLabel"; }
28
29 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
40 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
41 template <typename LabelGroupNameT = Aws::String>
42 void SetLabelGroupName(LabelGroupNameT&& value) {
43 m_labelGroupNameHasBeenSet = true;
44 m_labelGroupName = std::forward<LabelGroupNameT>(value);
45 }
46 template <typename LabelGroupNameT = Aws::String>
47 DeleteLabelRequest& WithLabelGroupName(LabelGroupNameT&& value) {
48 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetLabelId() const { return m_labelId; }
58 inline bool LabelIdHasBeenSet() const { return m_labelIdHasBeenSet; }
59 template <typename LabelIdT = Aws::String>
60 void SetLabelId(LabelIdT&& value) {
61 m_labelIdHasBeenSet = true;
62 m_labelId = std::forward<LabelIdT>(value);
63 }
64 template <typename LabelIdT = Aws::String>
65 DeleteLabelRequest& WithLabelId(LabelIdT&& value) {
66 SetLabelId(std::forward<LabelIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_labelGroupName;
72 bool m_labelGroupNameHasBeenSet = false;
73
74 Aws::String m_labelId;
75 bool m_labelIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace LookoutEquipment
80} // namespace Aws
DeleteLabelRequest & WithLabelId(LabelIdT &&value)
DeleteLabelRequest & WithLabelGroupName(LabelGroupNameT &&value)
AWS_LOOKOUTEQUIPMENT_API DeleteLabelRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String