AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePath.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workdocs/model/ResourcePathComponent.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 WorkDocs
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKDOCS_API ResourcePath();
36 AWS_WORKDOCS_API ResourcePath(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<ResourcePathComponent>& GetComponents() const{ return m_components; }
46 inline bool ComponentsHasBeenSet() const { return m_componentsHasBeenSet; }
47 inline void SetComponents(const Aws::Vector<ResourcePathComponent>& value) { m_componentsHasBeenSet = true; m_components = value; }
48 inline void SetComponents(Aws::Vector<ResourcePathComponent>&& value) { m_componentsHasBeenSet = true; m_components = std::move(value); }
49 inline ResourcePath& WithComponents(const Aws::Vector<ResourcePathComponent>& value) { SetComponents(value); return *this;}
50 inline ResourcePath& WithComponents(Aws::Vector<ResourcePathComponent>&& value) { SetComponents(std::move(value)); return *this;}
51 inline ResourcePath& AddComponents(const ResourcePathComponent& value) { m_componentsHasBeenSet = true; m_components.push_back(value); return *this; }
52 inline ResourcePath& AddComponents(ResourcePathComponent&& value) { m_componentsHasBeenSet = true; m_components.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_componentsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace WorkDocs
62} // namespace Aws
void SetComponents(Aws::Vector< ResourcePathComponent > &&value)
void SetComponents(const Aws::Vector< ResourcePathComponent > &value)
ResourcePath & WithComponents(Aws::Vector< ResourcePathComponent > &&value)
const Aws::Vector< ResourcePathComponent > & GetComponents() const
AWS_WORKDOCS_API ResourcePath(Aws::Utils::Json::JsonView jsonValue)
ResourcePath & WithComponents(const Aws::Vector< ResourcePathComponent > &value)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKDOCS_API ResourcePath & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourcePath & AddComponents(const ResourcePathComponent &value)
ResourcePath & AddComponents(ResourcePathComponent &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue