AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RetrievalConfiguration.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/RetrievalMode.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
35 {
36 public:
37 AWS_MACIE2_API RetrievalConfiguration() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
54 inline const Aws::String& GetExternalId() const { return m_externalId; }
55 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
56 template<typename ExternalIdT = Aws::String>
57 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
58 template<typename ExternalIdT = Aws::String>
59 RetrievalConfiguration& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
61
63
70 inline RetrievalMode GetRetrievalMode() const { return m_retrievalMode; }
71 inline bool RetrievalModeHasBeenSet() const { return m_retrievalModeHasBeenSet; }
72 inline void SetRetrievalMode(RetrievalMode value) { m_retrievalModeHasBeenSet = true; m_retrievalMode = value; }
75
77
83 inline const Aws::String& GetRoleName() const { return m_roleName; }
84 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
85 template<typename RoleNameT = Aws::String>
86 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet = true; m_roleName = std::forward<RoleNameT>(value); }
87 template<typename RoleNameT = Aws::String>
88 RetrievalConfiguration& WithRoleName(RoleNameT&& value) { SetRoleName(std::forward<RoleNameT>(value)); return *this;}
90 private:
91
92 Aws::String m_externalId;
93 bool m_externalIdHasBeenSet = false;
94
96 bool m_retrievalModeHasBeenSet = false;
97
98 Aws::String m_roleName;
99 bool m_roleNameHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Macie2
104} // namespace Aws
RetrievalConfiguration & WithRetrievalMode(RetrievalMode value)
RetrievalConfiguration & WithExternalId(ExternalIdT &&value)
AWS_MACIE2_API RetrievalConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API RetrievalConfiguration()=default
RetrievalConfiguration & WithRoleName(RoleNameT &&value)
AWS_MACIE2_API RetrievalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue