AWS SDK for C++

AWS SDK for C++ Version 1.11.865

Loading...
Searching...
No Matches
UpdateLookupTableRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudWatchLogs {
15namespace Model {
16
20 public:
21 AWS_CLOUDWATCHLOGS_API UpdateLookupTableRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateLookupTable"; }
28
29 AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override;
30
31 AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetLookupTableArn() const { return m_lookupTableArn; }
38 inline bool LookupTableArnHasBeenSet() const { return m_lookupTableArnHasBeenSet; }
39 template <typename LookupTableArnT = Aws::String>
40 void SetLookupTableArn(LookupTableArnT&& value) {
41 m_lookupTableArnHasBeenSet = true;
42 m_lookupTableArn = std::forward<LookupTableArnT>(value);
43 }
44 template <typename LookupTableArnT = Aws::String>
45 UpdateLookupTableRequest& WithLookupTableArn(LookupTableArnT&& value) {
46 SetLookupTableArn(std::forward<LookupTableArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
76 inline const Aws::String& GetTableBody() const { return m_tableBody; }
77 inline bool TableBodyHasBeenSet() const { return m_tableBodyHasBeenSet; }
78 template <typename TableBodyT = Aws::String>
79 void SetTableBody(TableBodyT&& value) {
80 m_tableBodyHasBeenSet = true;
81 m_tableBody = std::forward<TableBodyT>(value);
82 }
83 template <typename TableBodyT = Aws::String>
85 SetTableBody(std::forward<TableBodyT>(value));
86 return *this;
87 }
89
91
98 inline const Aws::String& GetQueryId() const { return m_queryId; }
99 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
100 template <typename QueryIdT = Aws::String>
101 void SetQueryId(QueryIdT&& value) {
102 m_queryIdHasBeenSet = true;
103 m_queryId = std::forward<QueryIdT>(value);
104 }
105 template <typename QueryIdT = Aws::String>
107 SetQueryId(std::forward<QueryIdT>(value));
108 return *this;
109 }
111
113
118 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
119 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
120 template <typename KmsKeyIdT = Aws::String>
121 void SetKmsKeyId(KmsKeyIdT&& value) {
122 m_kmsKeyIdHasBeenSet = true;
123 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
124 }
125 template <typename KmsKeyIdT = Aws::String>
127 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_lookupTableArn;
133
134 Aws::String m_description;
135
136 Aws::String m_tableBody;
137
138 Aws::String m_queryId;
139
140 Aws::String m_kmsKeyId;
141 bool m_lookupTableArnHasBeenSet = false;
142 bool m_descriptionHasBeenSet = false;
143 bool m_tableBodyHasBeenSet = false;
144 bool m_queryIdHasBeenSet = false;
145 bool m_kmsKeyIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace CloudWatchLogs
150} // namespace Aws
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
UpdateLookupTableRequest & WithQueryId(QueryIdT &&value)
UpdateLookupTableRequest & WithKmsKeyId(KmsKeyIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateLookupTableRequest & WithLookupTableArn(LookupTableArnT &&value)
UpdateLookupTableRequest & WithTableBody(TableBodyT &&value)
UpdateLookupTableRequest & WithDescription(DescriptionT &&value)
AWS_CLOUDWATCHLOGS_API UpdateLookupTableRequest()=default
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String