7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AccessAnalyzer {
45 template <
typename ActionT = Aws::String>
47 m_actionHasBeenSet =
true;
48 m_action = std::forward<ActionT>(value);
50 template <
typename ActionT = Aws::String>
63 template <
typename LastAccessedT = Aws::Utils::DateTime>
65 m_lastAccessedHasBeenSet =
true;
66 m_lastAccessed = std::forward<LastAccessedT>(value);
68 template <
typename LastAccessedT = Aws::Utils::DateTime>
78 bool m_actionHasBeenSet =
false;
79 bool m_lastAccessedHasBeenSet =
false;
void SetAction(ActionT &&value)
UnusedAction & WithLastAccessed(LastAccessedT &&value)
bool ActionHasBeenSet() const
AWS_ACCESSANALYZER_API UnusedAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastAccessed() const
AWS_ACCESSANALYZER_API UnusedAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAction() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastAccessed(LastAccessedT &&value)
AWS_ACCESSANALYZER_API UnusedAction()=default
UnusedAction & WithAction(ActionT &&value)
bool LastAccessedHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue