AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Name.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IdentityStore
22{
23namespace Model
24{
25
31 class Name
32 {
33 public:
34 AWS_IDENTITYSTORE_API Name();
35 AWS_IDENTITYSTORE_API Name(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IDENTITYSTORE_API Name& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFormatted() const{ return m_formatted; }
45 inline bool FormattedHasBeenSet() const { return m_formattedHasBeenSet; }
46 inline void SetFormatted(const Aws::String& value) { m_formattedHasBeenSet = true; m_formatted = value; }
47 inline void SetFormatted(Aws::String&& value) { m_formattedHasBeenSet = true; m_formatted = std::move(value); }
48 inline void SetFormatted(const char* value) { m_formattedHasBeenSet = true; m_formatted.assign(value); }
49 inline Name& WithFormatted(const Aws::String& value) { SetFormatted(value); return *this;}
50 inline Name& WithFormatted(Aws::String&& value) { SetFormatted(std::move(value)); return *this;}
51 inline Name& WithFormatted(const char* value) { SetFormatted(value); return *this;}
53
55
58 inline const Aws::String& GetFamilyName() const{ return m_familyName; }
59 inline bool FamilyNameHasBeenSet() const { return m_familyNameHasBeenSet; }
60 inline void SetFamilyName(const Aws::String& value) { m_familyNameHasBeenSet = true; m_familyName = value; }
61 inline void SetFamilyName(Aws::String&& value) { m_familyNameHasBeenSet = true; m_familyName = std::move(value); }
62 inline void SetFamilyName(const char* value) { m_familyNameHasBeenSet = true; m_familyName.assign(value); }
63 inline Name& WithFamilyName(const Aws::String& value) { SetFamilyName(value); return *this;}
64 inline Name& WithFamilyName(Aws::String&& value) { SetFamilyName(std::move(value)); return *this;}
65 inline Name& WithFamilyName(const char* value) { SetFamilyName(value); return *this;}
67
69
72 inline const Aws::String& GetGivenName() const{ return m_givenName; }
73 inline bool GivenNameHasBeenSet() const { return m_givenNameHasBeenSet; }
74 inline void SetGivenName(const Aws::String& value) { m_givenNameHasBeenSet = true; m_givenName = value; }
75 inline void SetGivenName(Aws::String&& value) { m_givenNameHasBeenSet = true; m_givenName = std::move(value); }
76 inline void SetGivenName(const char* value) { m_givenNameHasBeenSet = true; m_givenName.assign(value); }
77 inline Name& WithGivenName(const Aws::String& value) { SetGivenName(value); return *this;}
78 inline Name& WithGivenName(Aws::String&& value) { SetGivenName(std::move(value)); return *this;}
79 inline Name& WithGivenName(const char* value) { SetGivenName(value); return *this;}
81
83
86 inline const Aws::String& GetMiddleName() const{ return m_middleName; }
87 inline bool MiddleNameHasBeenSet() const { return m_middleNameHasBeenSet; }
88 inline void SetMiddleName(const Aws::String& value) { m_middleNameHasBeenSet = true; m_middleName = value; }
89 inline void SetMiddleName(Aws::String&& value) { m_middleNameHasBeenSet = true; m_middleName = std::move(value); }
90 inline void SetMiddleName(const char* value) { m_middleNameHasBeenSet = true; m_middleName.assign(value); }
91 inline Name& WithMiddleName(const Aws::String& value) { SetMiddleName(value); return *this;}
92 inline Name& WithMiddleName(Aws::String&& value) { SetMiddleName(std::move(value)); return *this;}
93 inline Name& WithMiddleName(const char* value) { SetMiddleName(value); return *this;}
95
97
100 inline const Aws::String& GetHonorificPrefix() const{ return m_honorificPrefix; }
101 inline bool HonorificPrefixHasBeenSet() const { return m_honorificPrefixHasBeenSet; }
102 inline void SetHonorificPrefix(const Aws::String& value) { m_honorificPrefixHasBeenSet = true; m_honorificPrefix = value; }
103 inline void SetHonorificPrefix(Aws::String&& value) { m_honorificPrefixHasBeenSet = true; m_honorificPrefix = std::move(value); }
104 inline void SetHonorificPrefix(const char* value) { m_honorificPrefixHasBeenSet = true; m_honorificPrefix.assign(value); }
105 inline Name& WithHonorificPrefix(const Aws::String& value) { SetHonorificPrefix(value); return *this;}
106 inline Name& WithHonorificPrefix(Aws::String&& value) { SetHonorificPrefix(std::move(value)); return *this;}
107 inline Name& WithHonorificPrefix(const char* value) { SetHonorificPrefix(value); return *this;}
109
111
114 inline const Aws::String& GetHonorificSuffix() const{ return m_honorificSuffix; }
115 inline bool HonorificSuffixHasBeenSet() const { return m_honorificSuffixHasBeenSet; }
116 inline void SetHonorificSuffix(const Aws::String& value) { m_honorificSuffixHasBeenSet = true; m_honorificSuffix = value; }
117 inline void SetHonorificSuffix(Aws::String&& value) { m_honorificSuffixHasBeenSet = true; m_honorificSuffix = std::move(value); }
118 inline void SetHonorificSuffix(const char* value) { m_honorificSuffixHasBeenSet = true; m_honorificSuffix.assign(value); }
119 inline Name& WithHonorificSuffix(const Aws::String& value) { SetHonorificSuffix(value); return *this;}
120 inline Name& WithHonorificSuffix(Aws::String&& value) { SetHonorificSuffix(std::move(value)); return *this;}
121 inline Name& WithHonorificSuffix(const char* value) { SetHonorificSuffix(value); return *this;}
123 private:
124
125 Aws::String m_formatted;
126 bool m_formattedHasBeenSet = false;
127
128 Aws::String m_familyName;
129 bool m_familyNameHasBeenSet = false;
130
131 Aws::String m_givenName;
132 bool m_givenNameHasBeenSet = false;
133
134 Aws::String m_middleName;
135 bool m_middleNameHasBeenSet = false;
136
137 Aws::String m_honorificPrefix;
138 bool m_honorificPrefixHasBeenSet = false;
139
140 Aws::String m_honorificSuffix;
141 bool m_honorificSuffixHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace IdentityStore
146} // namespace Aws
void SetHonorificSuffix(const char *value)
Definition Name.h:118
Name & WithFamilyName(const char *value)
Definition Name.h:65
const Aws::String & GetMiddleName() const
Definition Name.h:86
const Aws::String & GetGivenName() const
Definition Name.h:72
bool MiddleNameHasBeenSet() const
Definition Name.h:87
void SetGivenName(const Aws::String &value)
Definition Name.h:74
bool FamilyNameHasBeenSet() const
Definition Name.h:59
void SetGivenName(Aws::String &&value)
Definition Name.h:75
void SetFamilyName(Aws::String &&value)
Definition Name.h:61
void SetMiddleName(const Aws::String &value)
Definition Name.h:88
void SetFormatted(const Aws::String &value)
Definition Name.h:46
Name & WithFormatted(const Aws::String &value)
Definition Name.h:49
Name & WithGivenName(const Aws::String &value)
Definition Name.h:77
bool GivenNameHasBeenSet() const
Definition Name.h:73
void SetHonorificSuffix(Aws::String &&value)
Definition Name.h:117
Name & WithHonorificPrefix(const char *value)
Definition Name.h:107
Name & WithHonorificSuffix(Aws::String &&value)
Definition Name.h:120
void SetHonorificPrefix(const char *value)
Definition Name.h:104
void SetMiddleName(Aws::String &&value)
Definition Name.h:89
void SetHonorificPrefix(Aws::String &&value)
Definition Name.h:103
void SetFamilyName(const Aws::String &value)
Definition Name.h:60
const Aws::String & GetFormatted() const
Definition Name.h:44
bool HonorificPrefixHasBeenSet() const
Definition Name.h:101
Name & WithHonorificSuffix(const Aws::String &value)
Definition Name.h:119
Name & WithFamilyName(const Aws::String &value)
Definition Name.h:63
void SetMiddleName(const char *value)
Definition Name.h:90
bool FormattedHasBeenSet() const
Definition Name.h:45
Name & WithMiddleName(const Aws::String &value)
Definition Name.h:91
Name & WithFormatted(const char *value)
Definition Name.h:51
void SetHonorificSuffix(const Aws::String &value)
Definition Name.h:116
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
Name & WithFormatted(Aws::String &&value)
Definition Name.h:50
AWS_IDENTITYSTORE_API Name & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IDENTITYSTORE_API Name(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHonorificPrefix() const
Definition Name.h:100
const Aws::String & GetFamilyName() const
Definition Name.h:58
Name & WithHonorificSuffix(const char *value)
Definition Name.h:121
Name & WithMiddleName(Aws::String &&value)
Definition Name.h:92
Name & WithHonorificPrefix(const Aws::String &value)
Definition Name.h:105
Name & WithMiddleName(const char *value)
Definition Name.h:93
Name & WithFamilyName(Aws::String &&value)
Definition Name.h:64
void SetGivenName(const char *value)
Definition Name.h:76
Name & WithGivenName(const char *value)
Definition Name.h:79
void SetFormatted(Aws::String &&value)
Definition Name.h:47
Name & WithGivenName(Aws::String &&value)
Definition Name.h:78
bool HonorificSuffixHasBeenSet() const
Definition Name.h:115
Name & WithHonorificPrefix(Aws::String &&value)
Definition Name.h:106
const Aws::String & GetHonorificSuffix() const
Definition Name.h:114
void SetHonorificPrefix(const Aws::String &value)
Definition Name.h:102
void SetFamilyName(const char *value)
Definition Name.h:62
AWS_IDENTITYSTORE_API Name()
void SetFormatted(const char *value)
Definition Name.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue