AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSchemaRequest.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/personalize/model/Domain.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Personalize
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PERSONALIZE_API CreateSchemaRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSchema"; }
32
33 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
34
35 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateSchemaRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateSchemaRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateSchemaRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetSchema() const{ return m_schema; }
57 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
58 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
59 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
60 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
61 inline CreateSchemaRequest& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
62 inline CreateSchemaRequest& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
63 inline CreateSchemaRequest& WithSchema(const char* value) { SetSchema(value); return *this;}
65
67
72 inline const Domain& GetDomain() const{ return m_domain; }
73 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
74 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
75 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
76 inline CreateSchemaRequest& WithDomain(const Domain& value) { SetDomain(value); return *this;}
77 inline CreateSchemaRequest& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::String m_schema;
85 bool m_schemaHasBeenSet = false;
86
87 Domain m_domain;
88 bool m_domainHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Personalize
93} // namespace Aws
CreateSchemaRequest & WithSchema(Aws::String &&value)
CreateSchemaRequest & WithDomain(Domain &&value)
CreateSchemaRequest & WithSchema(const Aws::String &value)
CreateSchemaRequest & WithName(const Aws::String &value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
CreateSchemaRequest & WithDomain(const Domain &value)
CreateSchemaRequest & WithSchema(const char *value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSchemaRequest & WithName(const char *value)
CreateSchemaRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String