AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DescribeLabelRequest.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 DescribeLabelRequest() = 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 "DescribeLabel"; }
28
29 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
38 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
39 template <typename LabelGroupNameT = Aws::String>
40 void SetLabelGroupName(LabelGroupNameT&& value) {
41 m_labelGroupNameHasBeenSet = true;
42 m_labelGroupName = std::forward<LabelGroupNameT>(value);
43 }
44 template <typename LabelGroupNameT = Aws::String>
45 DescribeLabelRequest& WithLabelGroupName(LabelGroupNameT&& value) {
46 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLabelId() const { return m_labelId; }
56 inline bool LabelIdHasBeenSet() const { return m_labelIdHasBeenSet; }
57 template <typename LabelIdT = Aws::String>
58 void SetLabelId(LabelIdT&& value) {
59 m_labelIdHasBeenSet = true;
60 m_labelId = std::forward<LabelIdT>(value);
61 }
62 template <typename LabelIdT = Aws::String>
63 DescribeLabelRequest& WithLabelId(LabelIdT&& value) {
64 SetLabelId(std::forward<LabelIdT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_labelGroupName;
70 bool m_labelGroupNameHasBeenSet = false;
71
72 Aws::String m_labelId;
73 bool m_labelIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace LookoutEquipment
78} // namespace Aws
DescribeLabelRequest & WithLabelGroupName(LabelGroupNameT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
DescribeLabelRequest & WithLabelId(LabelIdT &&value)
AWS_LOOKOUTEQUIPMENT_API DescribeLabelRequest()=default
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String