AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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