AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HttpEndpointConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Firehose {
20namespace Model {
21
29 public:
30 AWS_FIREHOSE_API HttpEndpointConfiguration() = default;
33 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline const Aws::String& GetUrl() const { return m_url; }
45 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
46 template <typename UrlT = Aws::String>
47 void SetUrl(UrlT&& value) {
48 m_urlHasBeenSet = true;
49 m_url = std::forward<UrlT>(value);
50 }
51 template <typename UrlT = Aws::String>
53 SetUrl(std::forward<UrlT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetAccessKey() const { return m_accessKey; }
82 inline bool AccessKeyHasBeenSet() const { return m_accessKeyHasBeenSet; }
83 template <typename AccessKeyT = Aws::String>
84 void SetAccessKey(AccessKeyT&& value) {
85 m_accessKeyHasBeenSet = true;
86 m_accessKey = std::forward<AccessKeyT>(value);
87 }
88 template <typename AccessKeyT = Aws::String>
90 SetAccessKey(std::forward<AccessKeyT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_url;
96
97 Aws::String m_name;
98
99 Aws::String m_accessKey;
100 bool m_urlHasBeenSet = false;
101 bool m_nameHasBeenSet = false;
102 bool m_accessKeyHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Firehose
107} // namespace Aws
AWS_FIREHOSE_API HttpEndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
HttpEndpointConfiguration & WithName(NameT &&value)
AWS_FIREHOSE_API HttpEndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointConfiguration & WithUrl(UrlT &&value)
AWS_FIREHOSE_API HttpEndpointConfiguration()=default
HttpEndpointConfiguration & WithAccessKey(AccessKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue