AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaFacet.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 SchemaFacet();
35 AWS_CLOUDDIRECTORY_API SchemaFacet(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDDIRECTORY_API SchemaFacet& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
49 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
50 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
51 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
52 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
53 inline SchemaFacet& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
54 inline SchemaFacet& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
55 inline SchemaFacet& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
57
59
62 inline const Aws::String& GetFacetName() const{ return m_facetName; }
63 inline bool FacetNameHasBeenSet() const { return m_facetNameHasBeenSet; }
64 inline void SetFacetName(const Aws::String& value) { m_facetNameHasBeenSet = true; m_facetName = value; }
65 inline void SetFacetName(Aws::String&& value) { m_facetNameHasBeenSet = true; m_facetName = std::move(value); }
66 inline void SetFacetName(const char* value) { m_facetNameHasBeenSet = true; m_facetName.assign(value); }
67 inline SchemaFacet& WithFacetName(const Aws::String& value) { SetFacetName(value); return *this;}
68 inline SchemaFacet& WithFacetName(Aws::String&& value) { SetFacetName(std::move(value)); return *this;}
69 inline SchemaFacet& WithFacetName(const char* value) { SetFacetName(value); return *this;}
71 private:
72
73 Aws::String m_schemaArn;
74 bool m_schemaArnHasBeenSet = false;
75
76 Aws::String m_facetName;
77 bool m_facetNameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudDirectory
82} // namespace Aws
SchemaFacet & WithFacetName(Aws::String &&value)
Definition SchemaFacet.h:68
void SetFacetName(const Aws::String &value)
Definition SchemaFacet.h:64
SchemaFacet & WithSchemaArn(Aws::String &&value)
Definition SchemaFacet.h:54
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API SchemaFacet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFacetName(Aws::String &&value)
Definition SchemaFacet.h:65
void SetSchemaArn(const Aws::String &value)
Definition SchemaFacet.h:50
AWS_CLOUDDIRECTORY_API SchemaFacet()
const Aws::String & GetFacetName() const
Definition SchemaFacet.h:62
void SetSchemaArn(Aws::String &&value)
Definition SchemaFacet.h:51
SchemaFacet & WithSchemaArn(const char *value)
Definition SchemaFacet.h:55
AWS_CLOUDDIRECTORY_API SchemaFacet(Aws::Utils::Json::JsonView jsonValue)
void SetSchemaArn(const char *value)
Definition SchemaFacet.h:52
SchemaFacet & WithFacetName(const char *value)
Definition SchemaFacet.h:69
SchemaFacet & WithFacetName(const Aws::String &value)
Definition SchemaFacet.h:67
SchemaFacet & WithSchemaArn(const Aws::String &value)
Definition SchemaFacet.h:53
void SetFacetName(const char *value)
Definition SchemaFacet.h:66
const Aws::String & GetSchemaArn() const
Definition SchemaFacet.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue