AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateLookupTableResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.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 CloudWatchLogs {
23namespace Model {
25 public:
26 AWS_CLOUDWATCHLOGS_API UpdateLookupTableResult() = default;
29
31
34 inline const Aws::String& GetLookupTableArn() const { return m_lookupTableArn; }
35 template <typename LookupTableArnT = Aws::String>
36 void SetLookupTableArn(LookupTableArnT&& value) {
37 m_lookupTableArnHasBeenSet = true;
38 m_lookupTableArn = std::forward<LookupTableArnT>(value);
39 }
40 template <typename LookupTableArnT = Aws::String>
41 UpdateLookupTableResult& WithLookupTableArn(LookupTableArnT&& value) {
42 SetLookupTableArn(std::forward<LookupTableArnT>(value));
43 return *this;
44 }
46
48
52 inline long long GetLastUpdatedTime() const { return m_lastUpdatedTime; }
53 inline void SetLastUpdatedTime(long long value) {
54 m_lastUpdatedTimeHasBeenSet = true;
55 m_lastUpdatedTime = value;
56 }
58 SetLastUpdatedTime(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
78
79 private:
80 Aws::String m_lookupTableArn;
81
82 long long m_lastUpdatedTime{0};
83
84 Aws::String m_requestId;
85 Aws::Http::HttpResponseCode m_HttpResponseCode;
86 bool m_lookupTableArnHasBeenSet = false;
87 bool m_lastUpdatedTimeHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace CloudWatchLogs
93} // namespace Aws
UpdateLookupTableResult & WithLastUpdatedTime(long long value)
AWS_CLOUDWATCHLOGS_API UpdateLookupTableResult()=default
AWS_CLOUDWATCHLOGS_API UpdateLookupTableResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLookupTableResult & WithRequestId(RequestIdT &&value)
UpdateLookupTableResult & WithLookupTableArn(LookupTableArnT &&value)
AWS_CLOUDWATCHLOGS_API UpdateLookupTableResult(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