AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
ProfileConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/healthlake/HealthLake_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace HealthLake {
21namespace Model {
22
29 public:
30 AWS_HEALTHLAKE_API ProfileConfiguration() = default;
31 AWS_HEALTHLAKE_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Aws::String>& GetDefaultProfiles() const { return m_defaultProfiles; }
40 inline bool DefaultProfilesHasBeenSet() const { return m_defaultProfilesHasBeenSet; }
41 template <typename DefaultProfilesT = Aws::Vector<Aws::String>>
42 void SetDefaultProfiles(DefaultProfilesT&& value) {
43 m_defaultProfilesHasBeenSet = true;
44 m_defaultProfiles = std::forward<DefaultProfilesT>(value);
45 }
46 template <typename DefaultProfilesT = Aws::Vector<Aws::String>>
47 ProfileConfiguration& WithDefaultProfiles(DefaultProfilesT&& value) {
48 SetDefaultProfiles(std::forward<DefaultProfilesT>(value));
49 return *this;
50 }
51 template <typename DefaultProfilesT = Aws::String>
52 ProfileConfiguration& AddDefaultProfiles(DefaultProfilesT&& value) {
53 m_defaultProfilesHasBeenSet = true;
54 m_defaultProfiles.emplace_back(std::forward<DefaultProfilesT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<Aws::String> m_defaultProfiles;
60 bool m_defaultProfilesHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace HealthLake
65} // namespace Aws
const Aws::Vector< Aws::String > & GetDefaultProfiles() const
ProfileConfiguration & AddDefaultProfiles(DefaultProfilesT &&value)
AWS_HEALTHLAKE_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProfileConfiguration & WithDefaultProfiles(DefaultProfilesT &&value)
void SetDefaultProfiles(DefaultProfilesT &&value)
AWS_HEALTHLAKE_API ProfileConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API ProfileConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue