AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateLabelGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
10#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LookoutEquipment {
16namespace Model {
17
21 public:
22 AWS_LOOKOUTEQUIPMENT_API UpdateLabelGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLabelGroup"; }
29
30 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
31
32 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
39 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
40 template <typename LabelGroupNameT = Aws::String>
41 void SetLabelGroupName(LabelGroupNameT&& value) {
42 m_labelGroupNameHasBeenSet = true;
43 m_labelGroupName = std::forward<LabelGroupNameT>(value);
44 }
45 template <typename LabelGroupNameT = Aws::String>
46 UpdateLabelGroupRequest& WithLabelGroupName(LabelGroupNameT&& value) {
47 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::Vector<Aws::String>& GetFaultCodes() const { return m_faultCodes; }
59 inline bool FaultCodesHasBeenSet() const { return m_faultCodesHasBeenSet; }
60 template <typename FaultCodesT = Aws::Vector<Aws::String>>
61 void SetFaultCodes(FaultCodesT&& value) {
62 m_faultCodesHasBeenSet = true;
63 m_faultCodes = std::forward<FaultCodesT>(value);
64 }
65 template <typename FaultCodesT = Aws::Vector<Aws::String>>
67 SetFaultCodes(std::forward<FaultCodesT>(value));
68 return *this;
69 }
70 template <typename FaultCodesT = Aws::String>
71 UpdateLabelGroupRequest& AddFaultCodes(FaultCodesT&& value) {
72 m_faultCodesHasBeenSet = true;
73 m_faultCodes.emplace_back(std::forward<FaultCodesT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_labelGroupName;
79 bool m_labelGroupNameHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_faultCodes;
82 bool m_faultCodesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace LookoutEquipment
87} // namespace Aws
const Aws::Vector< Aws::String > & GetFaultCodes() const
UpdateLabelGroupRequest & WithLabelGroupName(LabelGroupNameT &&value)
UpdateLabelGroupRequest & AddFaultCodes(FaultCodesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateLabelGroupRequest & WithFaultCodes(FaultCodesT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API UpdateLabelGroupRequest()=default
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
std::vector< T, Aws::Allocator< T > > Vector