AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateLayoutResult.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/http/HttpResponse.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 ConnectCases {
23namespace Model {
25 public:
26 AWS_CONNECTCASES_API CreateLayoutResult() = default;
29
31
34 inline const Aws::String& GetLayoutId() const { return m_layoutId; }
35 template <typename LayoutIdT = Aws::String>
36 void SetLayoutId(LayoutIdT&& value) {
37 m_layoutIdHasBeenSet = true;
38 m_layoutId = std::forward<LayoutIdT>(value);
39 }
40 template <typename LayoutIdT = Aws::String>
41 CreateLayoutResult& WithLayoutId(LayoutIdT&& value) {
42 SetLayoutId(std::forward<LayoutIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetLayoutArn() const { return m_layoutArn; }
52 template <typename LayoutArnT = Aws::String>
53 void SetLayoutArn(LayoutArnT&& value) {
54 m_layoutArnHasBeenSet = true;
55 m_layoutArn = std::forward<LayoutArnT>(value);
56 }
57 template <typename LayoutArnT = Aws::String>
58 CreateLayoutResult& WithLayoutArn(LayoutArnT&& value) {
59 SetLayoutArn(std::forward<LayoutArnT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 CreateLayoutResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_layoutId;
82
83 Aws::String m_layoutArn;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_layoutIdHasBeenSet = false;
88 bool m_layoutArnHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace ConnectCases
94} // namespace Aws
AWS_CONNECTCASES_API CreateLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLayoutResult & WithLayoutId(LayoutIdT &&value)
CreateLayoutResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateLayoutResult & WithLayoutArn(LayoutArnT &&value)
AWS_CONNECTCASES_API CreateLayoutResult()=default
AWS_CONNECTCASES_API CreateLayoutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue