AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
CreateDataTableResult.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 CreateDataTableResult() = default;
30
32
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(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>
79 CreateDataTableResult& WithLockVersion(LockVersionT&& value) {
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>
94 CreateDataTableResult& WithRequestId(RequestIdT&& value) {
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_id;
103
104 Aws::String m_arn;
105
106 DataTableLockVersion m_lockVersion;
107
108 Aws::String m_requestId;
109 Aws::Http::HttpResponseCode m_HttpResponseCode;
110 bool m_idHasBeenSet = false;
111 bool m_arnHasBeenSet = false;
112 bool m_lockVersionHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Connect
118} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const DataTableLockVersion & GetLockVersion() const
CreateDataTableResult & WithId(IdT &&value)
CreateDataTableResult & WithLockVersion(LockVersionT &&value)
CreateDataTableResult & WithArn(ArnT &&value)
AWS_CONNECT_API CreateDataTableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API CreateDataTableResult()=default
AWS_CONNECT_API CreateDataTableResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataTableResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue