AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
UserLimitsEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API UserLimitsEntry() = default;
31 AWS_QUICKSIGHT_API UserLimitsEntry(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetUserName() const { return m_userName; }
40 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
41 template <typename UserNameT = Aws::String>
42 void SetUserName(UserNameT&& value) {
43 m_userNameHasBeenSet = true;
44 m_userName = std::forward<UserNameT>(value);
45 }
46 template <typename UserNameT = Aws::String>
47 UserLimitsEntry& WithUserName(UserNameT&& value) {
48 SetUserName(std::forward<UserNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNamespace() const { return m_namespace; }
58 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
59 template <typename NamespaceT = Aws::String>
60 void SetNamespace(NamespaceT&& value) {
61 m_namespaceHasBeenSet = true;
62 m_namespace = std::forward<NamespaceT>(value);
63 }
64 template <typename NamespaceT = Aws::String>
65 UserLimitsEntry& WithNamespace(NamespaceT&& value) {
66 SetNamespace(std::forward<NamespaceT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_userName;
72
73 Aws::String m_namespace;
74 bool m_userNameHasBeenSet = false;
75 bool m_namespaceHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // namespace Aws
const Aws::String & GetNamespace() const
void SetUserName(UserNameT &&value)
void SetNamespace(NamespaceT &&value)
bool NamespaceHasBeenSet() const
bool UserNameHasBeenSet() const
const Aws::String & GetUserName() const
UserLimitsEntry & WithNamespace(NamespaceT &&value)
AWS_QUICKSIGHT_API UserLimitsEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
UserLimitsEntry & WithUserName(UserNameT &&value)
AWS_QUICKSIGHT_API UserLimitsEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API UserLimitsEntry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue