AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteKeys.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudWatchLogs {
21namespace Model {
22
34 public:
35 AWS_CLOUDWATCHLOGS_API DeleteKeys() = default;
36 AWS_CLOUDWATCHLOGS_API DeleteKeys(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API DeleteKeys& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<Aws::String>& GetWithKeys() const { return m_withKeys; }
45 inline bool WithKeysHasBeenSet() const { return m_withKeysHasBeenSet; }
46 template <typename WithKeysT = Aws::Vector<Aws::String>>
47 void SetWithKeys(WithKeysT&& value) {
48 m_withKeysHasBeenSet = true;
49 m_withKeys = std::forward<WithKeysT>(value);
50 }
51 template <typename WithKeysT = Aws::Vector<Aws::String>>
52 DeleteKeys& WithWithKeys(WithKeysT&& value) {
53 SetWithKeys(std::forward<WithKeysT>(value));
54 return *this;
55 }
56 template <typename WithKeysT = Aws::String>
57 DeleteKeys& AddWithKeys(WithKeysT&& value) {
58 m_withKeysHasBeenSet = true;
59 m_withKeys.emplace_back(std::forward<WithKeysT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<Aws::String> m_withKeys;
65 bool m_withKeysHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace CloudWatchLogs
70} // namespace Aws
AWS_CLOUDWATCHLOGS_API DeleteKeys(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
DeleteKeys & WithWithKeys(WithKeysT &&value)
Definition DeleteKeys.h:52
DeleteKeys & AddWithKeys(WithKeysT &&value)
Definition DeleteKeys.h:57
AWS_CLOUDWATCHLOGS_API DeleteKeys & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API DeleteKeys()=default
const Aws::Vector< Aws::String > & GetWithKeys() const
Definition DeleteKeys.h:44
void SetWithKeys(WithKeysT &&value)
Definition DeleteKeys.h:47
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue