AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
AzureScopeConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ScopeType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
31 public:
32 AWS_SECURITYHUB_API AzureScopeConfiguration() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline ScopeType GetScopeType() const { return m_scopeType; }
43 inline bool ScopeTypeHasBeenSet() const { return m_scopeTypeHasBeenSet; }
44 inline void SetScopeType(ScopeType value) {
45 m_scopeTypeHasBeenSet = true;
46 m_scopeType = value;
47 }
49 SetScopeType(value);
50 return *this;
51 }
53
55
59 inline const Aws::Vector<Aws::String>& GetScopeValues() const { return m_scopeValues; }
60 inline bool ScopeValuesHasBeenSet() const { return m_scopeValuesHasBeenSet; }
61 template <typename ScopeValuesT = Aws::Vector<Aws::String>>
62 void SetScopeValues(ScopeValuesT&& value) {
63 m_scopeValuesHasBeenSet = true;
64 m_scopeValues = std::forward<ScopeValuesT>(value);
65 }
66 template <typename ScopeValuesT = Aws::Vector<Aws::String>>
68 SetScopeValues(std::forward<ScopeValuesT>(value));
69 return *this;
70 }
71 template <typename ScopeValuesT = Aws::String>
72 AzureScopeConfiguration& AddScopeValues(ScopeValuesT&& value) {
73 m_scopeValuesHasBeenSet = true;
74 m_scopeValues.emplace_back(std::forward<ScopeValuesT>(value));
75 return *this;
76 }
78 private:
79 ScopeType m_scopeType{ScopeType::NOT_SET};
80
81 Aws::Vector<Aws::String> m_scopeValues;
82 bool m_scopeTypeHasBeenSet = false;
83 bool m_scopeValuesHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API AzureScopeConfiguration()=default
const Aws::Vector< Aws::String > & GetScopeValues() const
AWS_SECURITYHUB_API AzureScopeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AzureScopeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureScopeConfiguration & WithScopeValues(ScopeValuesT &&value)
AzureScopeConfiguration & AddScopeValues(ScopeValuesT &&value)
AzureScopeConfiguration & WithScopeType(ScopeType value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue