AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AppSyncRuntime.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/RuntimeName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppSync {
21namespace Model {
22
32 public:
33 AWS_APPSYNC_API AppSyncRuntime() = default;
34 AWS_APPSYNC_API AppSyncRuntime(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline RuntimeName GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(RuntimeName value) {
46 m_nameHasBeenSet = true;
47 m_name = value;
48 }
50 SetName(value);
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRuntimeVersion() const { return m_runtimeVersion; }
61 inline bool RuntimeVersionHasBeenSet() const { return m_runtimeVersionHasBeenSet; }
62 template <typename RuntimeVersionT = Aws::String>
63 void SetRuntimeVersion(RuntimeVersionT&& value) {
64 m_runtimeVersionHasBeenSet = true;
65 m_runtimeVersion = std::forward<RuntimeVersionT>(value);
66 }
67 template <typename RuntimeVersionT = Aws::String>
68 AppSyncRuntime& WithRuntimeVersion(RuntimeVersionT&& value) {
69 SetRuntimeVersion(std::forward<RuntimeVersionT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_runtimeVersion;
77 bool m_nameHasBeenSet = false;
78 bool m_runtimeVersionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AppSync
83} // namespace Aws
AWS_APPSYNC_API AppSyncRuntime()=default
void SetRuntimeVersion(RuntimeVersionT &&value)
AWS_APPSYNC_API AppSyncRuntime & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSyncRuntime & WithRuntimeVersion(RuntimeVersionT &&value)
AppSyncRuntime & WithName(RuntimeName value)
const Aws::String & GetRuntimeVersion() const
AWS_APPSYNC_API AppSyncRuntime(Aws::Utils::Json::JsonView jsonValue)
void SetName(RuntimeName value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue