AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/utils/memory/stl/AWSString.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 Connect {
23namespace Model {
25 public:
26 AWS_CONNECT_API CreateDataTableAttributeResult() = default;
29
31
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetAttributeId() const { return m_attributeId; }
54 template <typename AttributeIdT = Aws::String>
55 void SetAttributeId(AttributeIdT&& value) {
56 m_attributeIdHasBeenSet = true;
57 m_attributeId = std::forward<AttributeIdT>(value);
58 }
59 template <typename AttributeIdT = Aws::String>
61 SetAttributeId(std::forward<AttributeIdT>(value));
62 return *this;
63 }
65
67
71 inline const DataTableLockVersion& GetLockVersion() const { return m_lockVersion; }
72 template <typename LockVersionT = DataTableLockVersion>
73 void SetLockVersion(LockVersionT&& value) {
74 m_lockVersionHasBeenSet = true;
75 m_lockVersion = std::forward<LockVersionT>(value);
76 }
77 template <typename LockVersionT = DataTableLockVersion>
79 SetLockVersion(std::forward<LockVersionT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_name;
100
101 Aws::String m_attributeId;
102
103 DataTableLockVersion m_lockVersion;
104
105 Aws::String m_requestId;
106 bool m_nameHasBeenSet = false;
107 bool m_attributeIdHasBeenSet = false;
108 bool m_lockVersionHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Connect
114} // 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