AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_MACIE2_API JobScopeTerm();
39 AWS_MACIE2_API JobScopeTerm(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const SimpleScopeTerm& GetSimpleScopeTerm() const{ return m_simpleScopeTerm; }
50 inline bool SimpleScopeTermHasBeenSet() const { return m_simpleScopeTermHasBeenSet; }
51 inline void SetSimpleScopeTerm(const SimpleScopeTerm& value) { m_simpleScopeTermHasBeenSet = true; m_simpleScopeTerm = value; }
52 inline void SetSimpleScopeTerm(SimpleScopeTerm&& value) { m_simpleScopeTermHasBeenSet = true; m_simpleScopeTerm = std::move(value); }
53 inline JobScopeTerm& WithSimpleScopeTerm(const SimpleScopeTerm& value) { SetSimpleScopeTerm(value); return *this;}
54 inline JobScopeTerm& WithSimpleScopeTerm(SimpleScopeTerm&& value) { SetSimpleScopeTerm(std::move(value)); return *this;}
56
58
62 inline const TagScopeTerm& GetTagScopeTerm() const{ return m_tagScopeTerm; }
63 inline bool TagScopeTermHasBeenSet() const { return m_tagScopeTermHasBeenSet; }
64 inline void SetTagScopeTerm(const TagScopeTerm& value) { m_tagScopeTermHasBeenSet = true; m_tagScopeTerm = value; }
65 inline void SetTagScopeTerm(TagScopeTerm&& value) { m_tagScopeTermHasBeenSet = true; m_tagScopeTerm = std::move(value); }
66 inline JobScopeTerm& WithTagScopeTerm(const TagScopeTerm& value) { SetTagScopeTerm(value); return *this;}
67 inline JobScopeTerm& WithTagScopeTerm(TagScopeTerm&& value) { SetTagScopeTerm(std::move(value)); return *this;}
69 private:
70
71 SimpleScopeTerm m_simpleScopeTerm;
72 bool m_simpleScopeTermHasBeenSet = false;
73
74 TagScopeTerm m_tagScopeTerm;
75 bool m_tagScopeTermHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Macie2
80} // namespace Aws
JobScopeTerm & WithTagScopeTerm(TagScopeTerm &&value)
void SetTagScopeTerm(TagScopeTerm &&value)
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
JobScopeTerm & WithSimpleScopeTerm(SimpleScopeTerm &&value)
void SetSimpleScopeTerm(const SimpleScopeTerm &value)
JobScopeTerm & WithSimpleScopeTerm(const SimpleScopeTerm &value)
void SetTagScopeTerm(const TagScopeTerm &value)
void SetSimpleScopeTerm(SimpleScopeTerm &&value)
const TagScopeTerm & GetTagScopeTerm() const
JobScopeTerm & WithTagScopeTerm(const TagScopeTerm &value)
Aws::Utils::Json::JsonValue JsonValue