AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSchemaCreationRequest.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppSync
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPSYNC_API StartSchemaCreationRequest();
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 "StartSchemaCreation"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApiId() const{ return m_apiId; }
41 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
42 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
43 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
44 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
45 inline StartSchemaCreationRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
46 inline StartSchemaCreationRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
47 inline StartSchemaCreationRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
49
51
54 inline const Aws::Utils::ByteBuffer& GetDefinition() const{ return m_definition; }
55 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
56 inline void SetDefinition(const Aws::Utils::ByteBuffer& value) { m_definitionHasBeenSet = true; m_definition = value; }
57 inline void SetDefinition(Aws::Utils::ByteBuffer&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
59 inline StartSchemaCreationRequest& WithDefinition(Aws::Utils::ByteBuffer&& value) { SetDefinition(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_apiId;
64 bool m_apiIdHasBeenSet = false;
65
66 Aws::Utils::ByteBuffer m_definition;
67 bool m_definitionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace AppSync
72} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::Utils::ByteBuffer & GetDefinition() const
void SetDefinition(const Aws::Utils::ByteBuffer &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
StartSchemaCreationRequest & WithApiId(const char *value)
StartSchemaCreationRequest & WithDefinition(const Aws::Utils::ByteBuffer &value)
StartSchemaCreationRequest & WithApiId(const Aws::String &value)
StartSchemaCreationRequest & WithApiId(Aws::String &&value)
StartSchemaCreationRequest & WithDefinition(Aws::Utils::ByteBuffer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String