AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/connecthealth/model/FHIRServer.h>
9#include <aws/connecthealth/model/S3Source.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectHealth {
22namespace Model {
23
30 public:
31 AWS_CONNECTHEALTH_API InputDataConfig() = default;
32 AWS_CONNECTHEALTH_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTHEALTH_API InputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const FHIRServer& GetFhirServer() const { return m_fhirServer; }
41 inline bool FhirServerHasBeenSet() const { return m_fhirServerHasBeenSet; }
42 template <typename FhirServerT = FHIRServer>
43 void SetFhirServer(FhirServerT&& value) {
44 m_fhirServerHasBeenSet = true;
45 m_fhirServer = std::forward<FhirServerT>(value);
46 }
47 template <typename FhirServerT = FHIRServer>
48 InputDataConfig& WithFhirServer(FhirServerT&& value) {
49 SetFhirServer(std::forward<FhirServerT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<S3Source>& GetS3Sources() const { return m_s3Sources; }
59 inline bool S3SourcesHasBeenSet() const { return m_s3SourcesHasBeenSet; }
60 template <typename S3SourcesT = Aws::Vector<S3Source>>
61 void SetS3Sources(S3SourcesT&& value) {
62 m_s3SourcesHasBeenSet = true;
63 m_s3Sources = std::forward<S3SourcesT>(value);
64 }
65 template <typename S3SourcesT = Aws::Vector<S3Source>>
66 InputDataConfig& WithS3Sources(S3SourcesT&& value) {
67 SetS3Sources(std::forward<S3SourcesT>(value));
68 return *this;
69 }
70 template <typename S3SourcesT = S3Source>
71 InputDataConfig& AddS3Sources(S3SourcesT&& value) {
72 m_s3SourcesHasBeenSet = true;
73 m_s3Sources.emplace_back(std::forward<S3SourcesT>(value));
74 return *this;
75 }
77 private:
78 FHIRServer m_fhirServer;
79
80 Aws::Vector<S3Source> m_s3Sources;
81 bool m_fhirServerHasBeenSet = false;
82 bool m_s3SourcesHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ConnectHealth
87} // namespace Aws
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
InputDataConfig & AddS3Sources(S3SourcesT &&value)
AWS_CONNECTHEALTH_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< S3Source > & GetS3Sources() const
InputDataConfig & WithFhirServer(FhirServerT &&value)
InputDataConfig & WithS3Sources(S3SourcesT &&value)
AWS_CONNECTHEALTH_API InputDataConfig()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue