AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ItemPath.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API ItemPath() = default;
36 AWS_GUARDDUTY_API ItemPath(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API ItemPath& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetNestedItemPath() const { return m_nestedItemPath; }
46 inline bool NestedItemPathHasBeenSet() const { return m_nestedItemPathHasBeenSet; }
47 template<typename NestedItemPathT = Aws::String>
48 void SetNestedItemPath(NestedItemPathT&& value) { m_nestedItemPathHasBeenSet = true; m_nestedItemPath = std::forward<NestedItemPathT>(value); }
49 template<typename NestedItemPathT = Aws::String>
50 ItemPath& WithNestedItemPath(NestedItemPathT&& value) { SetNestedItemPath(std::forward<NestedItemPathT>(value)); return *this;}
52
54
57 inline const Aws::String& GetHash() const { return m_hash; }
58 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
59 template<typename HashT = Aws::String>
60 void SetHash(HashT&& value) { m_hashHasBeenSet = true; m_hash = std::forward<HashT>(value); }
61 template<typename HashT = Aws::String>
62 ItemPath& WithHash(HashT&& value) { SetHash(std::forward<HashT>(value)); return *this;}
64 private:
65
66 Aws::String m_nestedItemPath;
67 bool m_nestedItemPathHasBeenSet = false;
68
69 Aws::String m_hash;
70 bool m_hashHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GuardDuty
75} // namespace Aws
AWS_GUARDDUTY_API ItemPath & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHash(HashT &&value)
Definition ItemPath.h:60
ItemPath & WithHash(HashT &&value)
Definition ItemPath.h:62
ItemPath & WithNestedItemPath(NestedItemPathT &&value)
Definition ItemPath.h:50
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNestedItemPath(NestedItemPathT &&value)
Definition ItemPath.h:48
bool NestedItemPathHasBeenSet() const
Definition ItemPath.h:46
const Aws::String & GetHash() const
Definition ItemPath.h:57
const Aws::String & GetNestedItemPath() const
Definition ItemPath.h:45
AWS_GUARDDUTY_API ItemPath(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ItemPath()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue