AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectReference.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_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 CloudDirectory
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDDIRECTORY_API ObjectReference();
35 AWS_CLOUDDIRECTORY_API ObjectReference(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDDIRECTORY_API ObjectReference& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
58 inline const Aws::String& GetSelector() const{ return m_selector; }
59 inline bool SelectorHasBeenSet() const { return m_selectorHasBeenSet; }
60 inline void SetSelector(const Aws::String& value) { m_selectorHasBeenSet = true; m_selector = value; }
61 inline void SetSelector(Aws::String&& value) { m_selectorHasBeenSet = true; m_selector = std::move(value); }
62 inline void SetSelector(const char* value) { m_selectorHasBeenSet = true; m_selector.assign(value); }
63 inline ObjectReference& WithSelector(const Aws::String& value) { SetSelector(value); return *this;}
64 inline ObjectReference& WithSelector(Aws::String&& value) { SetSelector(std::move(value)); return *this;}
65 inline ObjectReference& WithSelector(const char* value) { SetSelector(value); return *this;}
67 private:
68
69 Aws::String m_selector;
70 bool m_selectorHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudDirectory
75} // namespace Aws
ObjectReference & WithSelector(const Aws::String &value)
AWS_CLOUDDIRECTORY_API ObjectReference(Aws::Utils::Json::JsonView jsonValue)
ObjectReference & WithSelector(Aws::String &&value)
AWS_CLOUDDIRECTORY_API ObjectReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
ObjectReference & WithSelector(const char *value)
AWS_CLOUDDIRECTORY_API ObjectReference()
void SetSelector(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue