AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeKey.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 AttributeKey();
35 AWS_CLOUDDIRECTORY_API AttributeKey(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDDIRECTORY_API AttributeKey& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
46 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
47 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
48 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
49 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
50 inline AttributeKey& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
51 inline AttributeKey& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
52 inline AttributeKey& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
54
56
59 inline const Aws::String& GetFacetName() const{ return m_facetName; }
60 inline bool FacetNameHasBeenSet() const { return m_facetNameHasBeenSet; }
61 inline void SetFacetName(const Aws::String& value) { m_facetNameHasBeenSet = true; m_facetName = value; }
62 inline void SetFacetName(Aws::String&& value) { m_facetNameHasBeenSet = true; m_facetName = std::move(value); }
63 inline void SetFacetName(const char* value) { m_facetNameHasBeenSet = true; m_facetName.assign(value); }
64 inline AttributeKey& WithFacetName(const Aws::String& value) { SetFacetName(value); return *this;}
65 inline AttributeKey& WithFacetName(Aws::String&& value) { SetFacetName(std::move(value)); return *this;}
66 inline AttributeKey& WithFacetName(const char* value) { SetFacetName(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline AttributeKey& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline AttributeKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline AttributeKey& WithName(const char* value) { SetName(value); return *this;}
82 private:
83
84 Aws::String m_schemaArn;
85 bool m_schemaArnHasBeenSet = false;
86
87 Aws::String m_facetName;
88 bool m_facetNameHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudDirectory
96} // namespace Aws
AttributeKey & WithSchemaArn(const char *value)
AWS_CLOUDDIRECTORY_API AttributeKey(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
AttributeKey & WithFacetName(const Aws::String &value)
void SetSchemaArn(const Aws::String &value)
void SetFacetName(Aws::String &&value)
AttributeKey & WithName(const char *value)
AttributeKey & WithName(Aws::String &&value)
void SetFacetName(const Aws::String &value)
AWS_CLOUDDIRECTORY_API AttributeKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
AWS_CLOUDDIRECTORY_API AttributeKey()
AttributeKey & WithFacetName(Aws::String &&value)
AttributeKey & WithName(const Aws::String &value)
AttributeKey & WithSchemaArn(const Aws::String &value)
AttributeKey & WithFacetName(const char *value)
const Aws::String & GetSchemaArn() const
const Aws::String & GetFacetName() const
AttributeKey & WithSchemaArn(Aws::String &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemaArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue