AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RulesPackage.h
1
6#pragma once
7#include <aws/inspector/Inspector_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 Inspector
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_INSPECTOR_API RulesPackage() = default;
37 AWS_INSPECTOR_API RulesPackage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR_API RulesPackage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 RulesPackage& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 RulesPackage& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetVersion() const { return m_version; }
71 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
72 template<typename VersionT = Aws::String>
73 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
74 template<typename VersionT = Aws::String>
75 RulesPackage& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetProvider() const { return m_provider; }
83 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
84 template<typename ProviderT = Aws::String>
85 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
86 template<typename ProviderT = Aws::String>
87 RulesPackage& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 RulesPackage& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101 private:
102
103 Aws::String m_arn;
104 bool m_arnHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_version;
110 bool m_versionHasBeenSet = false;
111
112 Aws::String m_provider;
113 bool m_providerHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Inspector
121} // namespace Aws
RulesPackage & WithProvider(ProviderT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetArn() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR_API RulesPackage(Aws::Utils::Json::JsonView jsonValue)
void SetProvider(ProviderT &&value)
RulesPackage & WithName(NameT &&value)
const Aws::String & GetVersion() const
AWS_INSPECTOR_API RulesPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
RulesPackage & WithDescription(DescriptionT &&value)
void SetVersion(VersionT &&value)
const Aws::String & GetProvider() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
RulesPackage & WithArn(ArnT &&value)
RulesPackage & WithVersion(VersionT &&value)
AWS_INSPECTOR_API RulesPackage()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue