AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PathToObjectIdentifiers.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 CloudDirectory
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers() = default;
37 AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetPath() const { return m_path; }
48 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
49 template<typename PathT = Aws::String>
50 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
51 template<typename PathT = Aws::String>
52 PathToObjectIdentifiers& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetObjectIdentifiers() const { return m_objectIdentifiers; }
61 inline bool ObjectIdentifiersHasBeenSet() const { return m_objectIdentifiersHasBeenSet; }
62 template<typename ObjectIdentifiersT = Aws::Vector<Aws::String>>
63 void SetObjectIdentifiers(ObjectIdentifiersT&& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers = std::forward<ObjectIdentifiersT>(value); }
64 template<typename ObjectIdentifiersT = Aws::Vector<Aws::String>>
65 PathToObjectIdentifiers& WithObjectIdentifiers(ObjectIdentifiersT&& value) { SetObjectIdentifiers(std::forward<ObjectIdentifiersT>(value)); return *this;}
66 template<typename ObjectIdentifiersT = Aws::String>
67 PathToObjectIdentifiers& AddObjectIdentifiers(ObjectIdentifiersT&& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers.emplace_back(std::forward<ObjectIdentifiersT>(value)); return *this; }
69 private:
70
71 Aws::String m_path;
72 bool m_pathHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_objectIdentifiers;
75 bool m_objectIdentifiersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudDirectory
80} // namespace Aws
const Aws::Vector< Aws::String > & GetObjectIdentifiers() const
AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers(Aws::Utils::Json::JsonView jsonValue)
PathToObjectIdentifiers & AddObjectIdentifiers(ObjectIdentifiersT &&value)
AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
PathToObjectIdentifiers & WithPath(PathT &&value)
PathToObjectIdentifiers & WithObjectIdentifiers(ObjectIdentifiersT &&value)
AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue