AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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