AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PathFormat.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_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 LexModelsV2
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_LEXMODELSV2_API PathFormat();
39 AWS_LEXMODELSV2_API PathFormat(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API PathFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<Aws::String>& GetObjectPrefixes() const{ return m_objectPrefixes; }
51 inline bool ObjectPrefixesHasBeenSet() const { return m_objectPrefixesHasBeenSet; }
52 inline void SetObjectPrefixes(const Aws::Vector<Aws::String>& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = value; }
53 inline void SetObjectPrefixes(Aws::Vector<Aws::String>&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = std::move(value); }
54 inline PathFormat& WithObjectPrefixes(const Aws::Vector<Aws::String>& value) { SetObjectPrefixes(value); return *this;}
55 inline PathFormat& WithObjectPrefixes(Aws::Vector<Aws::String>&& value) { SetObjectPrefixes(std::move(value)); return *this;}
56 inline PathFormat& AddObjectPrefixes(const Aws::String& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; }
57 inline PathFormat& AddObjectPrefixes(Aws::String&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(std::move(value)); return *this; }
58 inline PathFormat& AddObjectPrefixes(const char* value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; }
60 private:
61
62 Aws::Vector<Aws::String> m_objectPrefixes;
63 bool m_objectPrefixesHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace LexModelsV2
68} // namespace Aws
AWS_LEXMODELSV2_API PathFormat(Aws::Utils::Json::JsonView jsonValue)
PathFormat & AddObjectPrefixes(const char *value)
Definition PathFormat.h:58
PathFormat & WithObjectPrefixes(Aws::Vector< Aws::String > &&value)
Definition PathFormat.h:55
AWS_LEXMODELSV2_API PathFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
PathFormat & WithObjectPrefixes(const Aws::Vector< Aws::String > &value)
Definition PathFormat.h:54
PathFormat & AddObjectPrefixes(const Aws::String &value)
Definition PathFormat.h:56
const Aws::Vector< Aws::String > & GetObjectPrefixes() const
Definition PathFormat.h:50
AWS_LEXMODELSV2_API PathFormat()
void SetObjectPrefixes(Aws::Vector< Aws::String > &&value)
Definition PathFormat.h:53
PathFormat & AddObjectPrefixes(Aws::String &&value)
Definition PathFormat.h:57
void SetObjectPrefixes(const Aws::Vector< Aws::String > &value)
Definition PathFormat.h:52
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue