AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
UrlEndpointInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MigrationHubRefactorSpaces {
20namespace Model {
21
28 public:
29 AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput() = default;
30 AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetHealthUrl() const { return m_healthUrl; }
42 inline bool HealthUrlHasBeenSet() const { return m_healthUrlHasBeenSet; }
43 template <typename HealthUrlT = Aws::String>
44 void SetHealthUrl(HealthUrlT&& value) {
45 m_healthUrlHasBeenSet = true;
46 m_healthUrl = std::forward<HealthUrlT>(value);
47 }
48 template <typename HealthUrlT = Aws::String>
49 UrlEndpointInput& WithHealthUrl(HealthUrlT&& value) {
50 SetHealthUrl(std::forward<HealthUrlT>(value));
51 return *this;
52 }
54
56
64 inline const Aws::String& GetUrl() const { return m_url; }
65 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
66 template <typename UrlT = Aws::String>
67 void SetUrl(UrlT&& value) {
68 m_urlHasBeenSet = true;
69 m_url = std::forward<UrlT>(value);
70 }
71 template <typename UrlT = Aws::String>
72 UrlEndpointInput& WithUrl(UrlT&& value) {
73 SetUrl(std::forward<UrlT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_healthUrl;
79
80 Aws::String m_url;
81 bool m_healthUrlHasBeenSet = false;
82 bool m_urlHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace MigrationHubRefactorSpaces
87} // namespace Aws
UrlEndpointInput & WithHealthUrl(HealthUrlT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput()=default
AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBREFACTORSPACES_API UrlEndpointInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue