AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartSchemaCreationRequest.h
1
6#pragma once
7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppSync {
16namespace Model {
17
21 public:
22 AWS_APPSYNC_API StartSchemaCreationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartSchemaCreation"; }
29
30 AWS_APPSYNC_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetApiId() const { return m_apiId; }
37 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
38 template <typename ApiIdT = Aws::String>
39 void SetApiId(ApiIdT&& value) {
40 m_apiIdHasBeenSet = true;
41 m_apiId = std::forward<ApiIdT>(value);
42 }
43 template <typename ApiIdT = Aws::String>
45 SetApiId(std::forward<ApiIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::ByteBuffer& GetDefinition() const { return m_definition; }
55 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
56 template <typename DefinitionT = Aws::Utils::ByteBuffer>
57 void SetDefinition(DefinitionT&& value) {
58 m_definitionHasBeenSet = true;
59 m_definition = std::forward<DefinitionT>(value);
60 }
61 template <typename DefinitionT = Aws::Utils::ByteBuffer>
63 SetDefinition(std::forward<DefinitionT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_apiId;
69
70 Aws::Utils::ByteBuffer m_definition{};
71 bool m_apiIdHasBeenSet = false;
72 bool m_definitionHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace AppSync
77} // 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