AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SubstituteString.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/SubstituteStringEntry.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 SubstituteString() = default;
36 AWS_CLOUDWATCHLOGS_API SubstituteString(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API SubstituteString& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<SubstituteStringEntry>& GetEntries() const { return m_entries; }
46 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
47 template <typename EntriesT = Aws::Vector<SubstituteStringEntry>>
48 void SetEntries(EntriesT&& value) {
49 m_entriesHasBeenSet = true;
50 m_entries = std::forward<EntriesT>(value);
51 }
52 template <typename EntriesT = Aws::Vector<SubstituteStringEntry>>
53 SubstituteString& WithEntries(EntriesT&& value) {
54 SetEntries(std::forward<EntriesT>(value));
55 return *this;
56 }
57 template <typename EntriesT = SubstituteStringEntry>
58 SubstituteString& AddEntries(EntriesT&& value) {
59 m_entriesHasBeenSet = true;
60 m_entries.emplace_back(std::forward<EntriesT>(value));
61 return *this;
62 }
64 private:
66 bool m_entriesHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace CloudWatchLogs
71} // namespace Aws
SubstituteString & AddEntries(EntriesT &&value)
SubstituteString & WithEntries(EntriesT &&value)
AWS_CLOUDWATCHLOGS_API SubstituteString(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API SubstituteString & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SubstituteStringEntry > & GetEntries() const
AWS_CLOUDWATCHLOGS_API SubstituteString()=default
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue