AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FacetAttributeReference.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
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API FacetAttributeReference();
37 AWS_CLOUDDIRECTORY_API FacetAttributeReference(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetTargetFacetName() const{ return m_targetFacetName; }
49 inline bool TargetFacetNameHasBeenSet() const { return m_targetFacetNameHasBeenSet; }
50 inline void SetTargetFacetName(const Aws::String& value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName = value; }
51 inline void SetTargetFacetName(Aws::String&& value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName = std::move(value); }
52 inline void SetTargetFacetName(const char* value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName.assign(value); }
53 inline FacetAttributeReference& WithTargetFacetName(const Aws::String& value) { SetTargetFacetName(value); return *this;}
54 inline FacetAttributeReference& WithTargetFacetName(Aws::String&& value) { SetTargetFacetName(std::move(value)); return *this;}
55 inline FacetAttributeReference& WithTargetFacetName(const char* value) { SetTargetFacetName(value); return *this;}
57
59
64 inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; }
65 inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
66 inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; }
67 inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); }
68 inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); }
70 inline FacetAttributeReference& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;}
71 inline FacetAttributeReference& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;}
73 private:
74
75 Aws::String m_targetFacetName;
76 bool m_targetFacetNameHasBeenSet = false;
77
78 Aws::String m_targetAttributeName;
79 bool m_targetAttributeNameHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudDirectory
84} // namespace Aws
FacetAttributeReference & WithTargetFacetName(Aws::String &&value)
FacetAttributeReference & WithTargetAttributeName(const char *value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API FacetAttributeReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API FacetAttributeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
FacetAttributeReference & WithTargetFacetName(const Aws::String &value)
FacetAttributeReference & WithTargetAttributeName(Aws::String &&value)
FacetAttributeReference & WithTargetFacetName(const char *value)
FacetAttributeReference & WithTargetAttributeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue