AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsElasticBeanstalkEnvironmentOptionSetting.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentOptionSetting() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetNamespace() const { return m_namespace; }
46 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
47 template<typename NamespaceT = Aws::String>
48 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
49 template<typename NamespaceT = Aws::String>
50 AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
52
54
57 inline const Aws::String& GetOptionName() const { return m_optionName; }
58 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
59 template<typename OptionNameT = Aws::String>
60 void SetOptionName(OptionNameT&& value) { m_optionNameHasBeenSet = true; m_optionName = std::forward<OptionNameT>(value); }
61 template<typename OptionNameT = Aws::String>
62 AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(OptionNameT&& value) { SetOptionName(std::forward<OptionNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetResourceName() const { return m_resourceName; }
70 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
71 template<typename ResourceNameT = Aws::String>
72 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
73 template<typename ResourceNameT = Aws::String>
74 AwsElasticBeanstalkEnvironmentOptionSetting& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetValue() const { return m_value; }
82 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
83 template<typename ValueT = Aws::String>
84 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
85 template<typename ValueT = Aws::String>
86 AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
88 private:
89
90 Aws::String m_namespace;
91 bool m_namespaceHasBeenSet = false;
92
93 Aws::String m_optionName;
94 bool m_optionNameHasBeenSet = false;
95
96 Aws::String m_resourceName;
97 bool m_resourceNameHasBeenSet = false;
98
99 Aws::String m_value;
100 bool m_valueHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SecurityHub
105} // namespace Aws
AwsElasticBeanstalkEnvironmentOptionSetting & WithNamespace(NamespaceT &&value)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentOptionSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentOptionSetting(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentOptionSetting & WithResourceName(ResourceNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticBeanstalkEnvironmentOptionSetting & WithOptionName(OptionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue