AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
BrowserExtension.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/ResourceLocation.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
28 public:
29 AWS_BEDROCKAGENTCORE_API BrowserExtension() = default;
30 AWS_BEDROCKAGENTCORE_API BrowserExtension(Aws::Utils::Json::JsonView jsonValue);
31 AWS_BEDROCKAGENTCORE_API BrowserExtension& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const ResourceLocation& GetLocation() const { return m_location; }
40 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
41 template <typename LocationT = ResourceLocation>
42 void SetLocation(LocationT&& value) {
43 m_locationHasBeenSet = true;
44 m_location = std::forward<LocationT>(value);
45 }
46 template <typename LocationT = ResourceLocation>
47 BrowserExtension& WithLocation(LocationT&& value) {
48 SetLocation(std::forward<LocationT>(value));
49 return *this;
50 }
52 private:
53 ResourceLocation m_location;
54 bool m_locationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgentCore
59} // namespace Aws
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
BrowserExtension & WithLocation(LocationT &&value)
AWS_BEDROCKAGENTCORE_API BrowserExtension()=default
AWS_BEDROCKAGENTCORE_API BrowserExtension & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API BrowserExtension(Aws::Utils::Json::JsonView jsonValue)
const ResourceLocation & GetLocation() const
Aws::Utils::Json::JsonValue JsonValue