AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PackageConfiguration.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/RequirementLevel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API PackageConfiguration() = default;
36 AWS_OPENSEARCHSERVICE_API PackageConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API PackageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline RequirementLevel GetLicenseRequirement() const { return m_licenseRequirement; }
46 inline bool LicenseRequirementHasBeenSet() const { return m_licenseRequirementHasBeenSet; }
47 inline void SetLicenseRequirement(RequirementLevel value) { m_licenseRequirementHasBeenSet = true; m_licenseRequirement = value; }
50
52
55 inline const Aws::String& GetLicenseFilepath() const { return m_licenseFilepath; }
56 inline bool LicenseFilepathHasBeenSet() const { return m_licenseFilepathHasBeenSet; }
57 template<typename LicenseFilepathT = Aws::String>
58 void SetLicenseFilepath(LicenseFilepathT&& value) { m_licenseFilepathHasBeenSet = true; m_licenseFilepath = std::forward<LicenseFilepathT>(value); }
59 template<typename LicenseFilepathT = Aws::String>
60 PackageConfiguration& WithLicenseFilepath(LicenseFilepathT&& value) { SetLicenseFilepath(std::forward<LicenseFilepathT>(value)); return *this;}
62
64
67 inline RequirementLevel GetConfigurationRequirement() const { return m_configurationRequirement; }
68 inline bool ConfigurationRequirementHasBeenSet() const { return m_configurationRequirementHasBeenSet; }
69 inline void SetConfigurationRequirement(RequirementLevel value) { m_configurationRequirementHasBeenSet = true; m_configurationRequirement = value; }
72
74
78 inline bool GetRequiresRestartForConfigurationUpdate() const { return m_requiresRestartForConfigurationUpdate; }
79 inline bool RequiresRestartForConfigurationUpdateHasBeenSet() const { return m_requiresRestartForConfigurationUpdateHasBeenSet; }
80 inline void SetRequiresRestartForConfigurationUpdate(bool value) { m_requiresRestartForConfigurationUpdateHasBeenSet = true; m_requiresRestartForConfigurationUpdate = value; }
83 private:
84
85 RequirementLevel m_licenseRequirement{RequirementLevel::NOT_SET};
86 bool m_licenseRequirementHasBeenSet = false;
87
88 Aws::String m_licenseFilepath;
89 bool m_licenseFilepathHasBeenSet = false;
90
91 RequirementLevel m_configurationRequirement{RequirementLevel::NOT_SET};
92 bool m_configurationRequirementHasBeenSet = false;
93
94 bool m_requiresRestartForConfigurationUpdate{false};
95 bool m_requiresRestartForConfigurationUpdateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace OpenSearchService
100} // namespace Aws
PackageConfiguration & WithLicenseRequirement(RequirementLevel value)
AWS_OPENSEARCHSERVICE_API PackageConfiguration(Aws::Utils::Json::JsonView jsonValue)
PackageConfiguration & WithLicenseFilepath(LicenseFilepathT &&value)
AWS_OPENSEARCHSERVICE_API PackageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageConfiguration & WithRequiresRestartForConfigurationUpdate(bool value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API PackageConfiguration()=default
PackageConfiguration & WithConfigurationRequirement(RequirementLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue