AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_APPSYNC_API AppSyncRuntime() = default;
39 AWS_APPSYNC_API AppSyncRuntime(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline RuntimeName GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(RuntimeName value) { m_nameHasBeenSet = true; m_name = value; }
52 inline AppSyncRuntime& WithName(RuntimeName value) { SetName(value); return *this;}
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) { m_runtimeVersionHasBeenSet = true; m_runtimeVersion = std::forward<RuntimeVersionT>(value); }
64 template<typename RuntimeVersionT = Aws::String>
65 AppSyncRuntime& WithRuntimeVersion(RuntimeVersionT&& value) { SetRuntimeVersion(std::forward<RuntimeVersionT>(value)); return *this;}
67 private:
68
70 bool m_nameHasBeenSet = false;
71
72 Aws::String m_runtimeVersion;
73 bool m_runtimeVersionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppSync
78} // 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