AWS SDK for C++

AWS SDK for C++ Version 1.11.924

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudDirectory {
21namespace Model {
22
30 public:
31 AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers() = default;
32 AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetPath() const { return m_path; }
42 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
43 template <typename PathT = Aws::String>
44 void SetPath(PathT&& value) {
45 m_pathHasBeenSet = true;
46 m_path = std::forward<PathT>(value);
47 }
48 template <typename PathT = Aws::String>
50 SetPath(std::forward<PathT>(value));
51 return *this;
52 }
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) {
64 m_objectIdentifiersHasBeenSet = true;
65 m_objectIdentifiers = std::forward<ObjectIdentifiersT>(value);
66 }
67 template <typename ObjectIdentifiersT = Aws::Vector<Aws::String>>
68 PathToObjectIdentifiers& WithObjectIdentifiers(ObjectIdentifiersT&& value) {
69 SetObjectIdentifiers(std::forward<ObjectIdentifiersT>(value));
70 return *this;
71 }
72 template <typename ObjectIdentifiersT = Aws::String>
73 PathToObjectIdentifiers& AddObjectIdentifiers(ObjectIdentifiersT&& value) {
74 m_objectIdentifiersHasBeenSet = true;
75 m_objectIdentifiers.emplace_back(std::forward<ObjectIdentifiersT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_path;
81
82 Aws::Vector<Aws::String> m_objectIdentifiers;
83 bool m_pathHasBeenSet = false;
84 bool m_objectIdentifiersHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CloudDirectory
89} // 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