AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
CreateDataTableAttributeResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/DataTableLockVersion.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
26 public:
27 AWS_CONNECT_API CreateDataTableAttributeResult() = default;
30
32
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetAttributeId() const { return m_attributeId; }
55 template <typename AttributeIdT = Aws::String>
56 void SetAttributeId(AttributeIdT&& value) {
57 m_attributeIdHasBeenSet = true;
58 m_attributeId = std::forward<AttributeIdT>(value);
59 }
60 template <typename AttributeIdT = Aws::String>
62 SetAttributeId(std::forward<AttributeIdT>(value));
63 return *this;
64 }
66
68
72 inline const DataTableLockVersion& GetLockVersion() const { return m_lockVersion; }
73 template <typename LockVersionT = DataTableLockVersion>
74 void SetLockVersion(LockVersionT&& value) {
75 m_lockVersionHasBeenSet = true;
76 m_lockVersion = std::forward<LockVersionT>(value);
77 }
78 template <typename LockVersionT = DataTableLockVersion>
80 SetLockVersion(std::forward<LockVersionT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
100
101 private:
102 Aws::String m_name;
103
104 Aws::String m_attributeId;
105
106 DataTableLockVersion m_lockVersion;
107
108 Aws::String m_requestId;
109 Aws::Http::HttpResponseCode m_HttpResponseCode;
110 bool m_nameHasBeenSet = false;
111 bool m_attributeIdHasBeenSet = false;
112 bool m_lockVersionHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Connect
118} // namespace Aws
AWS_CONNECT_API CreateDataTableAttributeResult()=default
CreateDataTableAttributeResult & WithAttributeId(AttributeIdT &&value)
CreateDataTableAttributeResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API CreateDataTableAttributeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataTableAttributeResult & WithLockVersion(LockVersionT &&value)
AWS_CONNECT_API CreateDataTableAttributeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataTableAttributeResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue