AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UrlConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/SeedUrl.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 BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API UrlConfiguration();
37 AWS_BEDROCKAGENT_API UrlConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API UrlConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<SeedUrl>& GetSeedUrls() const{ return m_seedUrls; }
47 inline bool SeedUrlsHasBeenSet() const { return m_seedUrlsHasBeenSet; }
48 inline void SetSeedUrls(const Aws::Vector<SeedUrl>& value) { m_seedUrlsHasBeenSet = true; m_seedUrls = value; }
49 inline void SetSeedUrls(Aws::Vector<SeedUrl>&& value) { m_seedUrlsHasBeenSet = true; m_seedUrls = std::move(value); }
50 inline UrlConfiguration& WithSeedUrls(const Aws::Vector<SeedUrl>& value) { SetSeedUrls(value); return *this;}
51 inline UrlConfiguration& WithSeedUrls(Aws::Vector<SeedUrl>&& value) { SetSeedUrls(std::move(value)); return *this;}
52 inline UrlConfiguration& AddSeedUrls(const SeedUrl& value) { m_seedUrlsHasBeenSet = true; m_seedUrls.push_back(value); return *this; }
53 inline UrlConfiguration& AddSeedUrls(SeedUrl&& value) { m_seedUrlsHasBeenSet = true; m_seedUrls.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<SeedUrl> m_seedUrls;
58 bool m_seedUrlsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace BedrockAgent
63} // namespace Aws
UrlConfiguration & WithSeedUrls(const Aws::Vector< SeedUrl > &value)
UrlConfiguration & AddSeedUrls(const SeedUrl &value)
UrlConfiguration & AddSeedUrls(SeedUrl &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSeedUrls(Aws::Vector< SeedUrl > &&value)
AWS_BEDROCKAGENT_API UrlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UrlConfiguration & WithSeedUrls(Aws::Vector< SeedUrl > &&value)
const Aws::Vector< SeedUrl > & GetSeedUrls() const
void SetSeedUrls(const Aws::Vector< SeedUrl > &value)
AWS_BEDROCKAGENT_API UrlConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue