AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RulesPackage& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RulesPackage& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RulesPackage& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline RulesPackage& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline RulesPackage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline RulesPackage& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetVersion() const{ return m_version; }
75 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
76 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
77 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
78 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
79 inline RulesPackage& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
80 inline RulesPackage& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
81 inline RulesPackage& WithVersion(const char* value) { SetVersion(value); return *this;}
83
85
88 inline const Aws::String& GetProvider() const{ return m_provider; }
89 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
90 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
91 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
92 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
93 inline RulesPackage& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
94 inline RulesPackage& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
95 inline RulesPackage& WithProvider(const char* value) { SetProvider(value); return *this;}
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 inline RulesPackage& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline RulesPackage& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline RulesPackage& WithDescription(const char* value) { SetDescription(value); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_version;
120 bool m_versionHasBeenSet = false;
121
122 Aws::String m_provider;
123 bool m_providerHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Inspector
131} // namespace Aws
void SetArn(Aws::String &&value)
RulesPackage & WithProvider(Aws::String &&value)
void SetVersion(Aws::String &&value)
RulesPackage & WithArn(const Aws::String &value)
RulesPackage & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetProvider(Aws::String &&value)
RulesPackage & WithProvider(const char *value)
const Aws::String & GetDescription() const
RulesPackage & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetVersion(const Aws::String &value)
const Aws::String & GetArn() const
RulesPackage & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR_API RulesPackage(Aws::Utils::Json::JsonView jsonValue)
RulesPackage & WithVersion(const Aws::String &value)
void SetArn(const char *value)
RulesPackage & WithName(Aws::String &&value)
RulesPackage & WithArn(const char *value)
RulesPackage & WithVersion(const char *value)
const Aws::String & GetVersion() const
RulesPackage & WithProvider(const Aws::String &value)
AWS_INSPECTOR_API RulesPackage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
void SetProvider(const Aws::String &value)
RulesPackage & WithName(const char *value)
const Aws::String & GetProvider() const
RulesPackage & WithDescription(const char *value)
void SetProvider(const char *value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
RulesPackage & WithVersion(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetVersion(const char *value)
RulesPackage & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue