7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/accessanalyzer/model/UnusedAction.h>
24namespace AccessAnalyzer
71 inline void SetServiceNamespace(
const char* value) { m_serviceNamespaceHasBeenSet =
true; m_serviceNamespace.assign(value); }
91 bool m_actionsHasBeenSet =
false;
94 bool m_serviceNamespaceHasBeenSet =
false;
97 bool m_lastAccessedHasBeenSet =
false;
UnusedPermissionDetails & WithActions(Aws::Vector< UnusedAction > &&value)
UnusedPermissionDetails & WithServiceNamespace(const char *value)
const Aws::Vector< UnusedAction > & GetActions() const
void SetServiceNamespace(const char *value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
UnusedPermissionDetails & AddActions(const UnusedAction &value)
void SetActions(const Aws::Vector< UnusedAction > &value)
bool ActionsHasBeenSet() const
void SetLastAccessed(const Aws::Utils::DateTime &value)
void SetServiceNamespace(Aws::String &&value)
UnusedPermissionDetails & WithServiceNamespace(Aws::String &&value)
bool LastAccessedHasBeenSet() const
AWS_ACCESSANALYZER_API UnusedPermissionDetails(Aws::Utils::Json::JsonView jsonValue)
UnusedPermissionDetails & WithServiceNamespace(const Aws::String &value)
void SetActions(Aws::Vector< UnusedAction > &&value)
AWS_ACCESSANALYZER_API UnusedPermissionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ServiceNamespaceHasBeenSet() const
UnusedPermissionDetails & AddActions(UnusedAction &&value)
UnusedPermissionDetails & WithActions(const Aws::Vector< UnusedAction > &value)
const Aws::String & GetServiceNamespace() const
void SetServiceNamespace(const Aws::String &value)
void SetLastAccessed(Aws::Utils::DateTime &&value)
UnusedPermissionDetails & WithLastAccessed(Aws::Utils::DateTime &&value)
UnusedPermissionDetails & WithLastAccessed(const Aws::Utils::DateTime &value)
AWS_ACCESSANALYZER_API UnusedPermissionDetails()
const Aws::Utils::DateTime & GetLastAccessed() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue