AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
FHIRServer.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectHealth {
20namespace Model {
21
28 public:
29 AWS_CONNECTHEALTH_API FHIRServer() = default;
30 AWS_CONNECTHEALTH_API FHIRServer(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONNECTHEALTH_API FHIRServer& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetFhirEndpoint() const { return m_fhirEndpoint; }
39 inline bool FhirEndpointHasBeenSet() const { return m_fhirEndpointHasBeenSet; }
40 template <typename FhirEndpointT = Aws::String>
41 void SetFhirEndpoint(FhirEndpointT&& value) {
42 m_fhirEndpointHasBeenSet = true;
43 m_fhirEndpoint = std::forward<FhirEndpointT>(value);
44 }
45 template <typename FhirEndpointT = Aws::String>
46 FHIRServer& WithFhirEndpoint(FhirEndpointT&& value) {
47 SetFhirEndpoint(std::forward<FhirEndpointT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetOauthToken() const { return m_oauthToken; }
57 inline bool OauthTokenHasBeenSet() const { return m_oauthTokenHasBeenSet; }
58 template <typename OauthTokenT = Aws::String>
59 void SetOauthToken(OauthTokenT&& value) {
60 m_oauthTokenHasBeenSet = true;
61 m_oauthToken = std::forward<OauthTokenT>(value);
62 }
63 template <typename OauthTokenT = Aws::String>
64 FHIRServer& WithOauthToken(OauthTokenT&& value) {
65 SetOauthToken(std::forward<OauthTokenT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_fhirEndpoint;
71
72 Aws::String m_oauthToken;
73 bool m_fhirEndpointHasBeenSet = false;
74 bool m_oauthTokenHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ConnectHealth
79} // namespace Aws
FHIRServer & WithFhirEndpoint(FhirEndpointT &&value)
Definition FHIRServer.h:46
void SetOauthToken(OauthTokenT &&value)
Definition FHIRServer.h:59
FHIRServer & WithOauthToken(OauthTokenT &&value)
Definition FHIRServer.h:64
void SetFhirEndpoint(FhirEndpointT &&value)
Definition FHIRServer.h:41
const Aws::String & GetOauthToken() const
Definition FHIRServer.h:56
const Aws::String & GetFhirEndpoint() const
Definition FHIRServer.h:38
AWS_CONNECTHEALTH_API FHIRServer(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTHEALTH_API FHIRServer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API FHIRServer()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue