AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRetrievalConfiguration.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/RetrievalMode.h>
9#include <aws/core/utils/memory/stl/AWSString.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
40 {
41 public:
45 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
61 inline const RetrievalMode& GetRetrievalMode() const{ return m_retrievalMode; }
62 inline bool RetrievalModeHasBeenSet() const { return m_retrievalModeHasBeenSet; }
63 inline void SetRetrievalMode(const RetrievalMode& value) { m_retrievalModeHasBeenSet = true; m_retrievalMode = value; }
64 inline void SetRetrievalMode(RetrievalMode&& value) { m_retrievalModeHasBeenSet = true; m_retrievalMode = std::move(value); }
66 inline UpdateRetrievalConfiguration& WithRetrievalMode(RetrievalMode&& value) { SetRetrievalMode(std::move(value)); return *this;}
68
70
76 inline const Aws::String& GetRoleName() const{ return m_roleName; }
77 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
78 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
79 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
80 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
81 inline UpdateRetrievalConfiguration& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
82 inline UpdateRetrievalConfiguration& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
83 inline UpdateRetrievalConfiguration& WithRoleName(const char* value) { SetRoleName(value); return *this;}
85 private:
86
87 RetrievalMode m_retrievalMode;
88 bool m_retrievalModeHasBeenSet = false;
89
90 Aws::String m_roleName;
91 bool m_roleNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
UpdateRetrievalConfiguration & WithRoleName(Aws::String &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateRetrievalConfiguration & WithRetrievalMode(const RetrievalMode &value)
AWS_MACIE2_API UpdateRetrievalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateRetrievalConfiguration & WithRoleName(const Aws::String &value)
AWS_MACIE2_API UpdateRetrievalConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateRetrievalConfiguration & WithRetrievalMode(RetrievalMode &&value)
UpdateRetrievalConfiguration & WithRoleName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue