AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpEndpointConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FIREHOSE_API HttpEndpointConfiguration();
38 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetUrl() const{ return m_url; }
51 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
52 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
53 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
54 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
55 inline HttpEndpointConfiguration& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
56 inline HttpEndpointConfiguration& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
57 inline HttpEndpointConfiguration& WithUrl(const char* value) { SetUrl(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline HttpEndpointConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline HttpEndpointConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline HttpEndpointConfiguration& WithName(const char* value) { SetName(value); return *this;}
73
75
79 inline const Aws::String& GetAccessKey() const{ return m_accessKey; }
80 inline bool AccessKeyHasBeenSet() const { return m_accessKeyHasBeenSet; }
81 inline void SetAccessKey(const Aws::String& value) { m_accessKeyHasBeenSet = true; m_accessKey = value; }
82 inline void SetAccessKey(Aws::String&& value) { m_accessKeyHasBeenSet = true; m_accessKey = std::move(value); }
83 inline void SetAccessKey(const char* value) { m_accessKeyHasBeenSet = true; m_accessKey.assign(value); }
84 inline HttpEndpointConfiguration& WithAccessKey(const Aws::String& value) { SetAccessKey(value); return *this;}
85 inline HttpEndpointConfiguration& WithAccessKey(Aws::String&& value) { SetAccessKey(std::move(value)); return *this;}
86 inline HttpEndpointConfiguration& WithAccessKey(const char* value) { SetAccessKey(value); return *this;}
88 private:
89
90 Aws::String m_url;
91 bool m_urlHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_accessKey;
97 bool m_accessKeyHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Firehose
102} // namespace Aws
HttpEndpointConfiguration & WithName(const char *value)
HttpEndpointConfiguration & WithUrl(const Aws::String &value)
AWS_FIREHOSE_API HttpEndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointConfiguration & WithAccessKey(const Aws::String &value)
HttpEndpointConfiguration & WithName(const Aws::String &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
HttpEndpointConfiguration & WithUrl(const char *value)
HttpEndpointConfiguration & WithAccessKey(Aws::String &&value)
AWS_FIREHOSE_API HttpEndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointConfiguration & WithAccessKey(const char *value)
HttpEndpointConfiguration & WithUrl(Aws::String &&value)
HttpEndpointConfiguration & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue