AWS SDK for C++

AWS SDK for C++ Version 1.11.938

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudDirectory {
20namespace Model {
21
28 public:
29 AWS_CLOUDDIRECTORY_API SchemaFacet() = default;
30 AWS_CLOUDDIRECTORY_API SchemaFacet(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CLOUDDIRECTORY_API SchemaFacet& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
42 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
43 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
44 template <typename SchemaArnT = Aws::String>
45 void SetSchemaArn(SchemaArnT&& value) {
46 m_schemaArnHasBeenSet = true;
47 m_schemaArn = std::forward<SchemaArnT>(value);
48 }
49 template <typename SchemaArnT = Aws::String>
50 SchemaFacet& WithSchemaArn(SchemaArnT&& value) {
51 SetSchemaArn(std::forward<SchemaArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFacetName() const { return m_facetName; }
61 inline bool FacetNameHasBeenSet() const { return m_facetNameHasBeenSet; }
62 template <typename FacetNameT = Aws::String>
63 void SetFacetName(FacetNameT&& value) {
64 m_facetNameHasBeenSet = true;
65 m_facetName = std::forward<FacetNameT>(value);
66 }
67 template <typename FacetNameT = Aws::String>
68 SchemaFacet& WithFacetName(FacetNameT&& value) {
69 SetFacetName(std::forward<FacetNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_schemaArn;
75
76 Aws::String m_facetName;
77 bool m_schemaArnHasBeenSet = false;
78 bool m_facetNameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CloudDirectory
83} // namespace Aws
SchemaFacet & WithFacetName(FacetNameT &&value)
Definition SchemaFacet.h:68
void SetSchemaArn(SchemaArnT &&value)
Definition SchemaFacet.h:45
AWS_CLOUDDIRECTORY_API SchemaFacet()=default
SchemaFacet & WithSchemaArn(SchemaArnT &&value)
Definition SchemaFacet.h:50
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API SchemaFacet & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFacetName() const
Definition SchemaFacet.h:60
AWS_CLOUDDIRECTORY_API SchemaFacet(Aws::Utils::Json::JsonView jsonValue)
void SetFacetName(FacetNameT &&value)
Definition SchemaFacet.h:63
const Aws::String & GetSchemaArn() const
Definition SchemaFacet.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue