AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
JobScopeTerm.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SimpleScopeTerm.h>
9#include <aws/macie2/model/TagScopeTerm.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
32 public:
33 AWS_MACIE2_API JobScopeTerm() = default;
34 AWS_MACIE2_API JobScopeTerm(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const SimpleScopeTerm& GetSimpleScopeTerm() const { return m_simpleScopeTerm; }
44 inline bool SimpleScopeTermHasBeenSet() const { return m_simpleScopeTermHasBeenSet; }
45 template <typename SimpleScopeTermT = SimpleScopeTerm>
46 void SetSimpleScopeTerm(SimpleScopeTermT&& value) {
47 m_simpleScopeTermHasBeenSet = true;
48 m_simpleScopeTerm = std::forward<SimpleScopeTermT>(value);
49 }
50 template <typename SimpleScopeTermT = SimpleScopeTerm>
51 JobScopeTerm& WithSimpleScopeTerm(SimpleScopeTermT&& value) {
52 SetSimpleScopeTerm(std::forward<SimpleScopeTermT>(value));
53 return *this;
54 }
56
58
62 inline const TagScopeTerm& GetTagScopeTerm() const { return m_tagScopeTerm; }
63 inline bool TagScopeTermHasBeenSet() const { return m_tagScopeTermHasBeenSet; }
64 template <typename TagScopeTermT = TagScopeTerm>
65 void SetTagScopeTerm(TagScopeTermT&& value) {
66 m_tagScopeTermHasBeenSet = true;
67 m_tagScopeTerm = std::forward<TagScopeTermT>(value);
68 }
69 template <typename TagScopeTermT = TagScopeTerm>
70 JobScopeTerm& WithTagScopeTerm(TagScopeTermT&& value) {
71 SetTagScopeTerm(std::forward<TagScopeTermT>(value));
72 return *this;
73 }
75 private:
76 SimpleScopeTerm m_simpleScopeTerm;
77
78 TagScopeTerm m_tagScopeTerm;
79 bool m_simpleScopeTermHasBeenSet = false;
80 bool m_tagScopeTermHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Macie2
85} // namespace Aws
AWS_MACIE2_API JobScopeTerm(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API JobScopeTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const SimpleScopeTerm & GetSimpleScopeTerm() const
void SetSimpleScopeTerm(SimpleScopeTermT &&value)
AWS_MACIE2_API JobScopeTerm()=default
const TagScopeTerm & GetTagScopeTerm() const
JobScopeTerm & WithSimpleScopeTerm(SimpleScopeTermT &&value)
void SetTagScopeTerm(TagScopeTermT &&value)
JobScopeTerm & WithTagScopeTerm(TagScopeTermT &&value)
Aws::Utils::Json::JsonValue JsonValue