AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLabelGroupResult.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LookoutEquipment
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult();
35
36
38
41 inline const Aws::String& GetLabelGroupName() const{ return m_labelGroupName; }
42 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupName = value; }
43 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupName = std::move(value); }
44 inline void SetLabelGroupName(const char* value) { m_labelGroupName.assign(value); }
45 inline DescribeLabelGroupResult& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
46 inline DescribeLabelGroupResult& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
47 inline DescribeLabelGroupResult& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
49
51
54 inline const Aws::String& GetLabelGroupArn() const{ return m_labelGroupArn; }
55 inline void SetLabelGroupArn(const Aws::String& value) { m_labelGroupArn = value; }
56 inline void SetLabelGroupArn(Aws::String&& value) { m_labelGroupArn = std::move(value); }
57 inline void SetLabelGroupArn(const char* value) { m_labelGroupArn.assign(value); }
58 inline DescribeLabelGroupResult& WithLabelGroupArn(const Aws::String& value) { SetLabelGroupArn(value); return *this;}
59 inline DescribeLabelGroupResult& WithLabelGroupArn(Aws::String&& value) { SetLabelGroupArn(std::move(value)); return *this;}
60 inline DescribeLabelGroupResult& WithLabelGroupArn(const char* value) { SetLabelGroupArn(value); return *this;}
62
64
68 inline const Aws::Vector<Aws::String>& GetFaultCodes() const{ return m_faultCodes; }
69 inline void SetFaultCodes(const Aws::Vector<Aws::String>& value) { m_faultCodes = value; }
70 inline void SetFaultCodes(Aws::Vector<Aws::String>&& value) { m_faultCodes = std::move(value); }
72 inline DescribeLabelGroupResult& WithFaultCodes(Aws::Vector<Aws::String>&& value) { SetFaultCodes(std::move(value)); return *this;}
73 inline DescribeLabelGroupResult& AddFaultCodes(const Aws::String& value) { m_faultCodes.push_back(value); return *this; }
74 inline DescribeLabelGroupResult& AddFaultCodes(Aws::String&& value) { m_faultCodes.push_back(std::move(value)); return *this; }
75 inline DescribeLabelGroupResult& AddFaultCodes(const char* value) { m_faultCodes.push_back(value); return *this; }
77
79
82 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
83 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
84 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
85 inline DescribeLabelGroupResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
86 inline DescribeLabelGroupResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
94 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
95 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
96 inline DescribeLabelGroupResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
97 inline DescribeLabelGroupResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline DescribeLabelGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline DescribeLabelGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline DescribeLabelGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_labelGroupName;
113
114 Aws::String m_labelGroupArn;
115
116 Aws::Vector<Aws::String> m_faultCodes;
117
118 Aws::Utils::DateTime m_createdAt;
119
120 Aws::Utils::DateTime m_updatedAt;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace LookoutEquipment
127} // namespace Aws
DescribeLabelGroupResult & WithFaultCodes(Aws::Vector< Aws::String > &&value)
DescribeLabelGroupResult & WithLabelGroupName(Aws::String &&value)
DescribeLabelGroupResult & AddFaultCodes(Aws::String &&value)
DescribeLabelGroupResult & AddFaultCodes(const char *value)
DescribeLabelGroupResult & WithRequestId(const Aws::String &value)
DescribeLabelGroupResult & WithLabelGroupArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFaultCodes() const
DescribeLabelGroupResult & WithLabelGroupName(const Aws::String &value)
DescribeLabelGroupResult & WithCreatedAt(Aws::Utils::DateTime &&value)
DescribeLabelGroupResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
DescribeLabelGroupResult & WithRequestId(Aws::String &&value)
DescribeLabelGroupResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLabelGroupResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
DescribeLabelGroupResult & WithFaultCodes(const Aws::Vector< Aws::String > &value)
DescribeLabelGroupResult & WithRequestId(const char *value)
AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLabelGroupResult & AddFaultCodes(const Aws::String &value)
DescribeLabelGroupResult & WithLabelGroupArn(Aws::String &&value)
DescribeLabelGroupResult & WithLabelGroupArn(const char *value)
DescribeLabelGroupResult & WithLabelGroupName(const char *value)
void SetFaultCodes(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue