AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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
75 inline const Aws::String& GetTableBody() const { return m_tableBody; }
76 inline bool TableBodyHasBeenSet() const { return m_tableBodyHasBeenSet; }
77 template <typename TableBodyT = Aws::String>
78 void SetTableBody(TableBodyT&& value) {
79 m_tableBodyHasBeenSet = true;
80 m_tableBody = std::forward<TableBodyT>(value);
81 }
82 template <typename TableBodyT = Aws::String>
84 SetTableBody(std::forward<TableBodyT>(value));
85 return *this;
86 }
88
90
95 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
96 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
97 template <typename KmsKeyIdT = Aws::String>
98 void SetKmsKeyId(KmsKeyIdT&& value) {
99 m_kmsKeyIdHasBeenSet = true;
100 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
101 }
102 template <typename KmsKeyIdT = Aws::String>
104 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_lookupTableArn;
110
111 Aws::String m_description;
112
113 Aws::String m_tableBody;
114
115 Aws::String m_kmsKeyId;
116 bool m_lookupTableArnHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_tableBodyHasBeenSet = false;
119 bool m_kmsKeyIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace CloudWatchLogs
124} // namespace Aws
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
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