AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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