AWS SDK for C++  1.8.95
AWS SDK for C++
SchemaFacet.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CloudDirectory
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  SchemaFacet();
36  SchemaFacet& operator=(Aws::Utils::Json::JsonView jsonValue);
37  Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
46  inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
47 
54  inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
55 
62  inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
63 
70  inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
71 
78  inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
79 
86  inline SchemaFacet& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
87 
94  inline SchemaFacet& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
95 
102  inline SchemaFacet& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
103 
104 
108  inline const Aws::String& GetFacetName() const{ return m_facetName; }
109 
113  inline bool FacetNameHasBeenSet() const { return m_facetNameHasBeenSet; }
114 
118  inline void SetFacetName(const Aws::String& value) { m_facetNameHasBeenSet = true; m_facetName = value; }
119 
123  inline void SetFacetName(Aws::String&& value) { m_facetNameHasBeenSet = true; m_facetName = std::move(value); }
124 
128  inline void SetFacetName(const char* value) { m_facetNameHasBeenSet = true; m_facetName.assign(value); }
129 
133  inline SchemaFacet& WithFacetName(const Aws::String& value) { SetFacetName(value); return *this;}
134 
138  inline SchemaFacet& WithFacetName(Aws::String&& value) { SetFacetName(std::move(value)); return *this;}
139 
143  inline SchemaFacet& WithFacetName(const char* value) { SetFacetName(value); return *this;}
144 
145  private:
146 
147  Aws::String m_schemaArn;
148  bool m_schemaArnHasBeenSet;
149 
150  Aws::String m_facetName;
151  bool m_facetNameHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace CloudDirectory
156 } // namespace Aws
void SetSchemaArn(const char *value)
Definition: SchemaFacet.h:78
SchemaFacet & WithFacetName(const char *value)
Definition: SchemaFacet.h:143
void SetFacetName(const Aws::String &value)
Definition: SchemaFacet.h:118
const Aws::String & GetSchemaArn() const
Definition: SchemaFacet.h:46
void SetFacetName(const char *value)
Definition: SchemaFacet.h:128
#define AWS_CLOUDDIRECTORY_API
void SetFacetName(Aws::String &&value)
Definition: SchemaFacet.h:123
SchemaFacet & WithSchemaArn(const char *value)
Definition: SchemaFacet.h:102
SchemaFacet & WithSchemaArn(Aws::String &&value)
Definition: SchemaFacet.h:94
void SetSchemaArn(Aws::String &&value)
Definition: SchemaFacet.h:70
SchemaFacet & WithSchemaArn(const Aws::String &value)
Definition: SchemaFacet.h:86
SchemaFacet & WithFacetName(const Aws::String &value)
Definition: SchemaFacet.h:133
const Aws::String & GetFacetName() const
Definition: SchemaFacet.h:108
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SchemaFacet & WithFacetName(Aws::String &&value)
Definition: SchemaFacet.h:138
void SetSchemaArn(const Aws::String &value)
Definition: SchemaFacet.h:62