AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RuntimeName& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const RuntimeName& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(RuntimeName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline AppSyncRuntime& WithName(const RuntimeName& value) { SetName(value); return *this;}
54 inline AppSyncRuntime& WithName(RuntimeName&& value) { SetName(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetRuntimeVersion() const{ return m_runtimeVersion; }
63 inline bool RuntimeVersionHasBeenSet() const { return m_runtimeVersionHasBeenSet; }
64 inline void SetRuntimeVersion(const Aws::String& value) { m_runtimeVersionHasBeenSet = true; m_runtimeVersion = value; }
65 inline void SetRuntimeVersion(Aws::String&& value) { m_runtimeVersionHasBeenSet = true; m_runtimeVersion = std::move(value); }
66 inline void SetRuntimeVersion(const char* value) { m_runtimeVersionHasBeenSet = true; m_runtimeVersion.assign(value); }
67 inline AppSyncRuntime& WithRuntimeVersion(const Aws::String& value) { SetRuntimeVersion(value); return *this;}
68 inline AppSyncRuntime& WithRuntimeVersion(Aws::String&& value) { SetRuntimeVersion(std::move(value)); return *this;}
69 inline AppSyncRuntime& WithRuntimeVersion(const char* value) { SetRuntimeVersion(value); return *this;}
71 private:
72
73 RuntimeName m_name;
74 bool m_nameHasBeenSet = false;
75
76 Aws::String m_runtimeVersion;
77 bool m_runtimeVersionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppSync
82} // namespace Aws
const RuntimeName & GetName() const
AppSyncRuntime & WithName(RuntimeName &&value)
AppSyncRuntime & WithRuntimeVersion(Aws::String &&value)
AWS_APPSYNC_API AppSyncRuntime & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuntimeVersion() const
AppSyncRuntime & WithRuntimeVersion(const char *value)
void SetRuntimeVersion(Aws::String &&value)
AWS_APPSYNC_API AppSyncRuntime(Aws::Utils::Json::JsonView jsonValue)
void SetRuntimeVersion(const Aws::String &value)
void SetName(const RuntimeName &value)
void SetName(RuntimeName &&value)
AppSyncRuntime & WithName(const RuntimeName &value)
void SetRuntimeVersion(const char *value)
AppSyncRuntime & WithRuntimeVersion(const Aws::String &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