AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
48 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
49 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
51 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
52 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithNamespace(const char* value) { SetNamespace(value); return *this;}
54
56
59 inline const Aws::String& GetOptionName() const{ return m_optionName; }
60 inline bool OptionNameHasBeenSet() const { return m_optionNameHasBeenSet; }
61 inline void SetOptionName(const Aws::String& value) { m_optionNameHasBeenSet = true; m_optionName = value; }
62 inline void SetOptionName(Aws::String&& value) { m_optionNameHasBeenSet = true; m_optionName = std::move(value); }
63 inline void SetOptionName(const char* value) { m_optionNameHasBeenSet = true; m_optionName.assign(value); }
65 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(Aws::String&& value) { SetOptionName(std::move(value)); return *this;}
66 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithOptionName(const char* value) { SetOptionName(value); return *this;}
68
70
73 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
74 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
75 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
76 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
77 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
80 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithResourceName(const char* value) { SetResourceName(value); return *this;}
82
84
87 inline const Aws::String& GetValue() const{ return m_value; }
88 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
89 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
90 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
91 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
92 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;}
93 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
94 inline AwsElasticBeanstalkEnvironmentOptionSetting& WithValue(const char* value) { SetValue(value); return *this;}
96 private:
97
98 Aws::String m_namespace;
99 bool m_namespaceHasBeenSet = false;
100
101 Aws::String m_optionName;
102 bool m_optionNameHasBeenSet = false;
103
104 Aws::String m_resourceName;
105 bool m_resourceNameHasBeenSet = false;
106
107 Aws::String m_value;
108 bool m_valueHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SecurityHub
113} // namespace Aws
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentOptionSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentOptionSetting & WithOptionName(const Aws::String &value)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentOptionSetting(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentOptionSetting & WithResourceName(const char *value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithValue(Aws::String &&value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithNamespace(Aws::String &&value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithValue(const Aws::String &value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithNamespace(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticBeanstalkEnvironmentOptionSetting & WithOptionName(Aws::String &&value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithOptionName(const char *value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithResourceName(Aws::String &&value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithResourceName(const Aws::String &value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithNamespace(const char *value)
AwsElasticBeanstalkEnvironmentOptionSetting & WithValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue