AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SuperuserParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace finspace {
20namespace Model {
21
28 public:
29 AWS_FINSPACE_API SuperuserParameters() = default;
32 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
39 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
40 template <typename EmailAddressT = Aws::String>
41 void SetEmailAddress(EmailAddressT&& value) {
42 m_emailAddressHasBeenSet = true;
43 m_emailAddress = std::forward<EmailAddressT>(value);
44 }
45 template <typename EmailAddressT = Aws::String>
46 SuperuserParameters& WithEmailAddress(EmailAddressT&& value) {
47 SetEmailAddress(std::forward<EmailAddressT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFirstName() const { return m_firstName; }
57 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
58 template <typename FirstNameT = Aws::String>
59 void SetFirstName(FirstNameT&& value) {
60 m_firstNameHasBeenSet = true;
61 m_firstName = std::forward<FirstNameT>(value);
62 }
63 template <typename FirstNameT = Aws::String>
64 SuperuserParameters& WithFirstName(FirstNameT&& value) {
65 SetFirstName(std::forward<FirstNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetLastName() const { return m_lastName; }
75 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
76 template <typename LastNameT = Aws::String>
77 void SetLastName(LastNameT&& value) {
78 m_lastNameHasBeenSet = true;
79 m_lastName = std::forward<LastNameT>(value);
80 }
81 template <typename LastNameT = Aws::String>
82 SuperuserParameters& WithLastName(LastNameT&& value) {
83 SetLastName(std::forward<LastNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_emailAddress;
89
90 Aws::String m_firstName;
91
92 Aws::String m_lastName;
93 bool m_emailAddressHasBeenSet = false;
94 bool m_firstNameHasBeenSet = false;
95 bool m_lastNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace finspace
100} // namespace Aws
AWS_FINSPACE_API SuperuserParameters()=default
SuperuserParameters & WithFirstName(FirstNameT &&value)
AWS_FINSPACE_API SuperuserParameters(Aws::Utils::Json::JsonView jsonValue)
SuperuserParameters & WithEmailAddress(EmailAddressT &&value)
SuperuserParameters & WithLastName(LastNameT &&value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API SuperuserParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue