AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
IframeConfig.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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 AppIntegrationsService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPINTEGRATIONSSERVICE_API IframeConfig() = default;
36 AWS_APPINTEGRATIONSSERVICE_API IframeConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPINTEGRATIONSSERVICE_API IframeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetAllow() const { return m_allow; }
46 inline bool AllowHasBeenSet() const { return m_allowHasBeenSet; }
47 template<typename AllowT = Aws::Vector<Aws::String>>
48 void SetAllow(AllowT&& value) { m_allowHasBeenSet = true; m_allow = std::forward<AllowT>(value); }
49 template<typename AllowT = Aws::Vector<Aws::String>>
50 IframeConfig& WithAllow(AllowT&& value) { SetAllow(std::forward<AllowT>(value)); return *this;}
51 template<typename AllowT = Aws::String>
52 IframeConfig& AddAllow(AllowT&& value) { m_allowHasBeenSet = true; m_allow.emplace_back(std::forward<AllowT>(value)); return *this; }
54
56
59 inline const Aws::Vector<Aws::String>& GetSandbox() const { return m_sandbox; }
60 inline bool SandboxHasBeenSet() const { return m_sandboxHasBeenSet; }
61 template<typename SandboxT = Aws::Vector<Aws::String>>
62 void SetSandbox(SandboxT&& value) { m_sandboxHasBeenSet = true; m_sandbox = std::forward<SandboxT>(value); }
63 template<typename SandboxT = Aws::Vector<Aws::String>>
64 IframeConfig& WithSandbox(SandboxT&& value) { SetSandbox(std::forward<SandboxT>(value)); return *this;}
65 template<typename SandboxT = Aws::String>
66 IframeConfig& AddSandbox(SandboxT&& value) { m_sandboxHasBeenSet = true; m_sandbox.emplace_back(std::forward<SandboxT>(value)); return *this; }
68 private:
69
71 bool m_allowHasBeenSet = false;
72
74 bool m_sandboxHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppIntegrationsService
79} // namespace Aws
IframeConfig & WithAllow(AllowT &&value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IframeConfig & AddAllow(AllowT &&value)
AWS_APPINTEGRATIONSSERVICE_API IframeConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API IframeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API IframeConfig()=default
const Aws::Vector< Aws::String > & GetAllow() const
IframeConfig & AddSandbox(SandboxT &&value)
const Aws::Vector< Aws::String > & GetSandbox() const
IframeConfig & WithSandbox(SandboxT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue