AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsElasticBeanstalkEnvironmentTier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentTier() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 template <typename TypeT = Aws::String>
62 void SetType(TypeT&& value) {
63 m_typeHasBeenSet = true;
64 m_type = std::forward<TypeT>(value);
65 }
66 template <typename TypeT = Aws::String>
68 SetType(std::forward<TypeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetVersion() const { return m_version; }
78 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
79 template <typename VersionT = Aws::String>
80 void SetVersion(VersionT&& value) {
81 m_versionHasBeenSet = true;
82 m_version = std::forward<VersionT>(value);
83 }
84 template <typename VersionT = Aws::String>
86 SetVersion(std::forward<VersionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_name;
92
93 Aws::String m_type;
94
95 Aws::String m_version;
96 bool m_nameHasBeenSet = false;
97 bool m_typeHasBeenSet = false;
98 bool m_versionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
AwsElasticBeanstalkEnvironmentTier & WithVersion(VersionT &&value)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentTier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentTier()=default
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentTier(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue