AWS SDK for C++  1.9.158
AWS SDK for C++
Filters.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ACM
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::Vector<ExtendedKeyUsageName>& GetExtendedKeyUsage() const{ return m_extendedKeyUsage; }
48 
52  inline bool ExtendedKeyUsageHasBeenSet() const { return m_extendedKeyUsageHasBeenSet; }
53 
57  inline void SetExtendedKeyUsage(const Aws::Vector<ExtendedKeyUsageName>& value) { m_extendedKeyUsageHasBeenSet = true; m_extendedKeyUsage = value; }
58 
62  inline void SetExtendedKeyUsage(Aws::Vector<ExtendedKeyUsageName>&& value) { m_extendedKeyUsageHasBeenSet = true; m_extendedKeyUsage = std::move(value); }
63 
67  inline Filters& WithExtendedKeyUsage(const Aws::Vector<ExtendedKeyUsageName>& value) { SetExtendedKeyUsage(value); return *this;}
68 
72  inline Filters& WithExtendedKeyUsage(Aws::Vector<ExtendedKeyUsageName>&& value) { SetExtendedKeyUsage(std::move(value)); return *this;}
73 
77  inline Filters& AddExtendedKeyUsage(const ExtendedKeyUsageName& value) { m_extendedKeyUsageHasBeenSet = true; m_extendedKeyUsage.push_back(value); return *this; }
78 
82  inline Filters& AddExtendedKeyUsage(ExtendedKeyUsageName&& value) { m_extendedKeyUsageHasBeenSet = true; m_extendedKeyUsage.push_back(std::move(value)); return *this; }
83 
84 
88  inline const Aws::Vector<KeyUsageName>& GetKeyUsage() const{ return m_keyUsage; }
89 
93  inline bool KeyUsageHasBeenSet() const { return m_keyUsageHasBeenSet; }
94 
98  inline void SetKeyUsage(const Aws::Vector<KeyUsageName>& value) { m_keyUsageHasBeenSet = true; m_keyUsage = value; }
99 
103  inline void SetKeyUsage(Aws::Vector<KeyUsageName>&& value) { m_keyUsageHasBeenSet = true; m_keyUsage = std::move(value); }
104 
108  inline Filters& WithKeyUsage(const Aws::Vector<KeyUsageName>& value) { SetKeyUsage(value); return *this;}
109 
113  inline Filters& WithKeyUsage(Aws::Vector<KeyUsageName>&& value) { SetKeyUsage(std::move(value)); return *this;}
114 
118  inline Filters& AddKeyUsage(const KeyUsageName& value) { m_keyUsageHasBeenSet = true; m_keyUsage.push_back(value); return *this; }
119 
123  inline Filters& AddKeyUsage(KeyUsageName&& value) { m_keyUsageHasBeenSet = true; m_keyUsage.push_back(std::move(value)); return *this; }
124 
125 
135  inline const Aws::Vector<KeyAlgorithm>& GetKeyTypes() const{ return m_keyTypes; }
136 
146  inline bool KeyTypesHasBeenSet() const { return m_keyTypesHasBeenSet; }
147 
157  inline void SetKeyTypes(const Aws::Vector<KeyAlgorithm>& value) { m_keyTypesHasBeenSet = true; m_keyTypes = value; }
158 
168  inline void SetKeyTypes(Aws::Vector<KeyAlgorithm>&& value) { m_keyTypesHasBeenSet = true; m_keyTypes = std::move(value); }
169 
179  inline Filters& WithKeyTypes(const Aws::Vector<KeyAlgorithm>& value) { SetKeyTypes(value); return *this;}
180 
190  inline Filters& WithKeyTypes(Aws::Vector<KeyAlgorithm>&& value) { SetKeyTypes(std::move(value)); return *this;}
191 
201  inline Filters& AddKeyTypes(const KeyAlgorithm& value) { m_keyTypesHasBeenSet = true; m_keyTypes.push_back(value); return *this; }
202 
212  inline Filters& AddKeyTypes(KeyAlgorithm&& value) { m_keyTypesHasBeenSet = true; m_keyTypes.push_back(std::move(value)); return *this; }
213 
214  private:
215 
216  Aws::Vector<ExtendedKeyUsageName> m_extendedKeyUsage;
217  bool m_extendedKeyUsageHasBeenSet;
218 
219  Aws::Vector<KeyUsageName> m_keyUsage;
220  bool m_keyUsageHasBeenSet;
221 
222  Aws::Vector<KeyAlgorithm> m_keyTypes;
223  bool m_keyTypesHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace ACM
228 } // namespace Aws
Aws::ACM::Model::Filters::AddKeyUsage
Filters & AddKeyUsage(const KeyUsageName &value)
Definition: Filters.h:118
Aws::ACM::Model::KeyAlgorithm
KeyAlgorithm
Definition: KeyAlgorithm.h:17
Aws::ACM::Model::Filters::WithExtendedKeyUsage
Filters & WithExtendedKeyUsage(const Aws::Vector< ExtendedKeyUsageName > &value)
Definition: Filters.h:67
Aws::ACM::Model::Filters::AddKeyUsage
Filters & AddKeyUsage(KeyUsageName &&value)
Definition: Filters.h:123
ExtendedKeyUsageName.h
Aws::ACM::Model::Filters::SetKeyUsage
void SetKeyUsage(const Aws::Vector< KeyUsageName > &value)
Definition: Filters.h:98
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ACM::Model::Filters::SetKeyUsage
void SetKeyUsage(Aws::Vector< KeyUsageName > &&value)
Definition: Filters.h:103
Aws::ACM::Model::Filters::SetKeyTypes
void SetKeyTypes(Aws::Vector< KeyAlgorithm > &&value)
Definition: Filters.h:168
Aws::ACM::Model::Filters::AddExtendedKeyUsage
Filters & AddExtendedKeyUsage(ExtendedKeyUsageName &&value)
Definition: Filters.h:82
Aws::ACM::Model::Filters::AddExtendedKeyUsage
Filters & AddExtendedKeyUsage(const ExtendedKeyUsageName &value)
Definition: Filters.h:77
AWSVector.h
Aws::ACM::Model::ExtendedKeyUsageName
ExtendedKeyUsageName
Definition: ExtendedKeyUsageName.h:17
Aws::ACM::Model::Filters::SetExtendedKeyUsage
void SetExtendedKeyUsage(const Aws::Vector< ExtendedKeyUsageName > &value)
Definition: Filters.h:57
Aws::ACM::Model::Filters::Filters
Filters()
Aws::ACM::Model::Filters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ACM::Model::Filters::KeyUsageHasBeenSet
bool KeyUsageHasBeenSet() const
Definition: Filters.h:93
Aws::ACM::Model::Filters::AddKeyTypes
Filters & AddKeyTypes(KeyAlgorithm &&value)
Definition: Filters.h:212
Aws::ACM::Model::Filters::ExtendedKeyUsageHasBeenSet
bool ExtendedKeyUsageHasBeenSet() const
Definition: Filters.h:52
Aws::ACM::Model::Filters::Filters
Filters(Aws::Utils::Json::JsonView jsonValue)
Aws::ACM::Model::Filters::SetKeyTypes
void SetKeyTypes(const Aws::Vector< KeyAlgorithm > &value)
Definition: Filters.h:157
Aws::ACM::Model::Filters::WithKeyUsage
Filters & WithKeyUsage(const Aws::Vector< KeyUsageName > &value)
Definition: Filters.h:108
Aws::ACM::Model::Filters::SetExtendedKeyUsage
void SetExtendedKeyUsage(Aws::Vector< ExtendedKeyUsageName > &&value)
Definition: Filters.h:62
Aws::ACM::Model::Filters
Definition: Filters.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
KeyUsageName.h
Aws::ACM::Model::Filters::WithKeyTypes
Filters & WithKeyTypes(const Aws::Vector< KeyAlgorithm > &value)
Definition: Filters.h:179
Aws::ACM::Model::KeyUsageName
KeyUsageName
Definition: KeyUsageName.h:17
KeyAlgorithm.h
Aws::ACM::Model::Filters::GetExtendedKeyUsage
const Aws::Vector< ExtendedKeyUsageName > & GetExtendedKeyUsage() const
Definition: Filters.h:47
Aws::ACM::Model::Filters::WithKeyTypes
Filters & WithKeyTypes(Aws::Vector< KeyAlgorithm > &&value)
Definition: Filters.h:190
Aws::ACM::Model::Filters::KeyTypesHasBeenSet
bool KeyTypesHasBeenSet() const
Definition: Filters.h:146
ACM_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ACM::Model::Filters::AddKeyTypes
Filters & AddKeyTypes(const KeyAlgorithm &value)
Definition: Filters.h:201
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::ACM::Model::Filters::WithExtendedKeyUsage
Filters & WithExtendedKeyUsage(Aws::Vector< ExtendedKeyUsageName > &&value)
Definition: Filters.h:72
Aws::ACM::Model::Filters::operator=
Filters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ACM::Model::Filters::WithKeyUsage
Filters & WithKeyUsage(Aws::Vector< KeyUsageName > &&value)
Definition: Filters.h:113
Aws::ACM::Model::Filters::GetKeyUsage
const Aws::Vector< KeyUsageName > & GetKeyUsage() const
Definition: Filters.h:88
Aws::ACM::Model::Filters::GetKeyTypes
const Aws::Vector< KeyAlgorithm > & GetKeyTypes() const
Definition: Filters.h:135