AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; }
45 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); }
46 inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); }
47 inline UpdateLabelGroupRequest& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
48 inline UpdateLabelGroupRequest& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
49 inline UpdateLabelGroupRequest& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
51
53
58 inline const Aws::Vector<Aws::String>& GetFaultCodes() const{ return m_faultCodes; }
59 inline bool FaultCodesHasBeenSet() const { return m_faultCodesHasBeenSet; }
60 inline void SetFaultCodes(const Aws::Vector<Aws::String>& value) { m_faultCodesHasBeenSet = true; m_faultCodes = value; }
61 inline void SetFaultCodes(Aws::Vector<Aws::String>&& value) { m_faultCodesHasBeenSet = true; m_faultCodes = std::move(value); }
63 inline UpdateLabelGroupRequest& WithFaultCodes(Aws::Vector<Aws::String>&& value) { SetFaultCodes(std::move(value)); return *this;}
64 inline UpdateLabelGroupRequest& AddFaultCodes(const Aws::String& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; }
65 inline UpdateLabelGroupRequest& AddFaultCodes(Aws::String&& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(std::move(value)); return *this; }
66 inline UpdateLabelGroupRequest& AddFaultCodes(const char* value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; }
68 private:
69
70 Aws::String m_labelGroupName;
71 bool m_labelGroupNameHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_faultCodes;
74 bool m_faultCodesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace LookoutEquipment
79} // namespace Aws
void SetFaultCodes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetFaultCodes() const
UpdateLabelGroupRequest & WithFaultCodes(const Aws::Vector< Aws::String > &value)
UpdateLabelGroupRequest & WithLabelGroupName(const char *value)
UpdateLabelGroupRequest & WithFaultCodes(Aws::Vector< Aws::String > &&value)
UpdateLabelGroupRequest & AddFaultCodes(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateLabelGroupRequest & WithLabelGroupName(const Aws::String &value)
void SetFaultCodes(Aws::Vector< Aws::String > &&value)
UpdateLabelGroupRequest & AddFaultCodes(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLabelGroupRequest & WithLabelGroupName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
UpdateLabelGroupRequest & AddFaultCodes(const Aws::String &value)
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