AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateLabelGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LookoutEquipment {
23namespace Model {
25 public:
26 AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupResult() = default;
29
31
36 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
37 template <typename LabelGroupNameT = Aws::String>
38 void SetLabelGroupName(LabelGroupNameT&& value) {
39 m_labelGroupNameHasBeenSet = true;
40 m_labelGroupName = std::forward<LabelGroupNameT>(value);
41 }
42 template <typename LabelGroupNameT = Aws::String>
43 CreateLabelGroupResult& WithLabelGroupName(LabelGroupNameT&& value) {
44 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
55 template <typename LabelGroupArnT = Aws::String>
56 void SetLabelGroupArn(LabelGroupArnT&& value) {
57 m_labelGroupArnHasBeenSet = true;
58 m_labelGroupArn = std::forward<LabelGroupArnT>(value);
59 }
60 template <typename LabelGroupArnT = Aws::String>
61 CreateLabelGroupResult& WithLabelGroupArn(LabelGroupArnT&& value) {
62 SetLabelGroupArn(std::forward<LabelGroupArnT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_labelGroupName;
85
86 Aws::String m_labelGroupArn;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_labelGroupNameHasBeenSet = false;
91 bool m_labelGroupArnHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace LookoutEquipment
97} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLabelGroupResult & WithLabelGroupArn(LabelGroupArnT &&value)
AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupResult()=default
CreateLabelGroupResult & WithLabelGroupName(LabelGroupNameT &&value)
CreateLabelGroupResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue