AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
57 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
58 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
59 inline RetrievalConfiguration& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
60 inline RetrievalConfiguration& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
61 inline RetrievalConfiguration& WithExternalId(const char* value) { SetExternalId(value); return *this;}
63
65
72 inline const RetrievalMode& GetRetrievalMode() const{ return m_retrievalMode; }
73 inline bool RetrievalModeHasBeenSet() const { return m_retrievalModeHasBeenSet; }
74 inline void SetRetrievalMode(const RetrievalMode& value) { m_retrievalModeHasBeenSet = true; m_retrievalMode = value; }
75 inline void SetRetrievalMode(RetrievalMode&& value) { m_retrievalModeHasBeenSet = true; m_retrievalMode = std::move(value); }
76 inline RetrievalConfiguration& WithRetrievalMode(const RetrievalMode& value) { SetRetrievalMode(value); return *this;}
77 inline RetrievalConfiguration& WithRetrievalMode(RetrievalMode&& value) { SetRetrievalMode(std::move(value)); return *this;}
79
81
87 inline const Aws::String& GetRoleName() const{ return m_roleName; }
88 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
89 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
90 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
91 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
92 inline RetrievalConfiguration& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
93 inline RetrievalConfiguration& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
94 inline RetrievalConfiguration& WithRoleName(const char* value) { SetRoleName(value); return *this;}
96 private:
97
98 Aws::String m_externalId;
99 bool m_externalIdHasBeenSet = false;
100
101 RetrievalMode m_retrievalMode;
102 bool m_retrievalModeHasBeenSet = false;
103
104 Aws::String m_roleName;
105 bool m_roleNameHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Macie2
110} // namespace Aws
RetrievalConfiguration & WithRoleName(const char *value)
AWS_MACIE2_API RetrievalConfiguration(Aws::Utils::Json::JsonView jsonValue)
RetrievalConfiguration & WithExternalId(const char *value)
void SetRetrievalMode(const RetrievalMode &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
RetrievalConfiguration & WithRetrievalMode(const RetrievalMode &value)
RetrievalConfiguration & WithExternalId(Aws::String &&value)
RetrievalConfiguration & WithRoleName(Aws::String &&value)
AWS_MACIE2_API RetrievalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrievalConfiguration & WithRetrievalMode(RetrievalMode &&value)
RetrievalConfiguration & WithRoleName(const Aws::String &value)
RetrievalConfiguration & WithExternalId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue