AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNestedItemPath(const Aws::String& value) { m_nestedItemPathHasBeenSet = true; m_nestedItemPath = value; }
48 inline void SetNestedItemPath(Aws::String&& value) { m_nestedItemPathHasBeenSet = true; m_nestedItemPath = std::move(value); }
49 inline void SetNestedItemPath(const char* value) { m_nestedItemPathHasBeenSet = true; m_nestedItemPath.assign(value); }
50 inline ItemPath& WithNestedItemPath(const Aws::String& value) { SetNestedItemPath(value); return *this;}
51 inline ItemPath& WithNestedItemPath(Aws::String&& value) { SetNestedItemPath(std::move(value)); return *this;}
52 inline ItemPath& WithNestedItemPath(const char* value) { SetNestedItemPath(value); return *this;}
54
56
59 inline const Aws::String& GetHash() const{ return m_hash; }
60 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
61 inline void SetHash(const Aws::String& value) { m_hashHasBeenSet = true; m_hash = value; }
62 inline void SetHash(Aws::String&& value) { m_hashHasBeenSet = true; m_hash = std::move(value); }
63 inline void SetHash(const char* value) { m_hashHasBeenSet = true; m_hash.assign(value); }
64 inline ItemPath& WithHash(const Aws::String& value) { SetHash(value); return *this;}
65 inline ItemPath& WithHash(Aws::String&& value) { SetHash(std::move(value)); return *this;}
66 inline ItemPath& WithHash(const char* value) { SetHash(value); return *this;}
68 private:
69
70 Aws::String m_nestedItemPath;
71 bool m_nestedItemPathHasBeenSet = false;
72
73 Aws::String m_hash;
74 bool m_hashHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
AWS_GUARDDUTY_API ItemPath & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHash(Aws::String &&value)
Definition ItemPath.h:62
ItemPath & WithNestedItemPath(const Aws::String &value)
Definition ItemPath.h:50
void SetHash(const char *value)
Definition ItemPath.h:63
ItemPath & WithHash(Aws::String &&value)
Definition ItemPath.h:65
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNestedItemPath(Aws::String &&value)
Definition ItemPath.h:48
void SetNestedItemPath(const char *value)
Definition ItemPath.h:49
AWS_GUARDDUTY_API ItemPath()
bool NestedItemPathHasBeenSet() const
Definition ItemPath.h:46
ItemPath & WithNestedItemPath(Aws::String &&value)
Definition ItemPath.h:51
const Aws::String & GetHash() const
Definition ItemPath.h:59
ItemPath & WithHash(const Aws::String &value)
Definition ItemPath.h:64
void SetNestedItemPath(const Aws::String &value)
Definition ItemPath.h:47
ItemPath & WithNestedItemPath(const char *value)
Definition ItemPath.h:52
const Aws::String & GetNestedItemPath() const
Definition ItemPath.h:45
ItemPath & WithHash(const char *value)
Definition ItemPath.h:66
void SetHash(const Aws::String &value)
Definition ItemPath.h:61
AWS_GUARDDUTY_API ItemPath(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue