AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
EngineConfig.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/BrowserType.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 Synthetics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SYNTHETICS_API EngineConfig() = default;
37 AWS_SYNTHETICS_API EngineConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API EngineConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEngineArn() const { return m_engineArn; }
48 inline bool EngineArnHasBeenSet() const { return m_engineArnHasBeenSet; }
49 template<typename EngineArnT = Aws::String>
50 void SetEngineArn(EngineArnT&& value) { m_engineArnHasBeenSet = true; m_engineArn = std::forward<EngineArnT>(value); }
51 template<typename EngineArnT = Aws::String>
52 EngineConfig& WithEngineArn(EngineArnT&& value) { SetEngineArn(std::forward<EngineArnT>(value)); return *this;}
54
56
59 inline BrowserType GetBrowserType() const { return m_browserType; }
60 inline bool BrowserTypeHasBeenSet() const { return m_browserTypeHasBeenSet; }
61 inline void SetBrowserType(BrowserType value) { m_browserTypeHasBeenSet = true; m_browserType = value; }
62 inline EngineConfig& WithBrowserType(BrowserType value) { SetBrowserType(value); return *this;}
64 private:
65
66 Aws::String m_engineArn;
67 bool m_engineArnHasBeenSet = false;
68
69 BrowserType m_browserType{BrowserType::NOT_SET};
70 bool m_browserTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Synthetics
75} // namespace Aws
const Aws::String & GetEngineArn() const
AWS_SYNTHETICS_API EngineConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API EngineConfig()=default
void SetBrowserType(BrowserType value)
EngineConfig & WithEngineArn(EngineArnT &&value)
void SetEngineArn(EngineArnT &&value)
EngineConfig & WithBrowserType(BrowserType value)
AWS_SYNTHETICS_API EngineConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue