AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SplitString.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/SplitStringEntry.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 SplitString() = default;
41 AWS_CLOUDWATCHLOGS_API SplitString(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLOUDWATCHLOGS_API SplitString& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<SplitStringEntry>& GetEntries() const { return m_entries; }
52 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
53 template<typename EntriesT = Aws::Vector<SplitStringEntry>>
54 void SetEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries = std::forward<EntriesT>(value); }
55 template<typename EntriesT = Aws::Vector<SplitStringEntry>>
56 SplitString& WithEntries(EntriesT&& value) { SetEntries(std::forward<EntriesT>(value)); return *this;}
57 template<typename EntriesT = SplitStringEntry>
58 SplitString& 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
const Aws::Vector< SplitStringEntry > & GetEntries() const
Definition SplitString.h:51
AWS_CLOUDWATCHLOGS_API SplitString(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API SplitString & operator=(Aws::Utils::Json::JsonView jsonValue)
SplitString & WithEntries(EntriesT &&value)
Definition SplitString.h:56
SplitString & AddEntries(EntriesT &&value)
Definition SplitString.h:58
AWS_CLOUDWATCHLOGS_API SplitString()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue