AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ApiIdT = Aws::String>
43 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
44 template<typename ApiIdT = Aws::String>
45 StartSchemaCreationRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
47
49
52 inline const Aws::Utils::ByteBuffer& GetDefinition() const { return m_definition; }
53 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
54 template<typename DefinitionT = Aws::Utils::ByteBuffer>
55 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
56 template<typename DefinitionT = Aws::Utils::ByteBuffer>
57 StartSchemaCreationRequest& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
59 private:
60
61 Aws::String m_apiId;
62 bool m_apiIdHasBeenSet = false;
63
64 Aws::Utils::ByteBuffer m_definition{};
65 bool m_definitionHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace AppSync
70} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::Utils::ByteBuffer & GetDefinition() const
AWS_APPSYNC_API StartSchemaCreationRequest()=default
AWS_APPSYNC_API Aws::String SerializePayload() const override
StartSchemaCreationRequest & WithApiId(ApiIdT &&value)
StartSchemaCreationRequest & WithDefinition(DefinitionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String