AWS SDK for C++  1.9.124
AWS SDK for C++
ObjectTypeKey.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace CustomerProfiles
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
55  inline const Aws::Vector<StandardIdentifier>& GetStandardIdentifiers() const{ return m_standardIdentifiers; }
56 
68  inline bool StandardIdentifiersHasBeenSet() const { return m_standardIdentifiersHasBeenSet; }
69 
81  inline void SetStandardIdentifiers(const Aws::Vector<StandardIdentifier>& value) { m_standardIdentifiersHasBeenSet = true; m_standardIdentifiers = value; }
82 
94  inline void SetStandardIdentifiers(Aws::Vector<StandardIdentifier>&& value) { m_standardIdentifiersHasBeenSet = true; m_standardIdentifiers = std::move(value); }
95 
107  inline ObjectTypeKey& WithStandardIdentifiers(const Aws::Vector<StandardIdentifier>& value) { SetStandardIdentifiers(value); return *this;}
108 
120  inline ObjectTypeKey& WithStandardIdentifiers(Aws::Vector<StandardIdentifier>&& value) { SetStandardIdentifiers(std::move(value)); return *this;}
121 
133  inline ObjectTypeKey& AddStandardIdentifiers(const StandardIdentifier& value) { m_standardIdentifiersHasBeenSet = true; m_standardIdentifiers.push_back(value); return *this; }
134 
146  inline ObjectTypeKey& AddStandardIdentifiers(StandardIdentifier&& value) { m_standardIdentifiersHasBeenSet = true; m_standardIdentifiers.push_back(std::move(value)); return *this; }
147 
148 
152  inline const Aws::Vector<Aws::String>& GetFieldNames() const{ return m_fieldNames; }
153 
157  inline bool FieldNamesHasBeenSet() const { return m_fieldNamesHasBeenSet; }
158 
162  inline void SetFieldNames(const Aws::Vector<Aws::String>& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = value; }
163 
167  inline void SetFieldNames(Aws::Vector<Aws::String>&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = std::move(value); }
168 
172  inline ObjectTypeKey& WithFieldNames(const Aws::Vector<Aws::String>& value) { SetFieldNames(value); return *this;}
173 
177  inline ObjectTypeKey& WithFieldNames(Aws::Vector<Aws::String>&& value) { SetFieldNames(std::move(value)); return *this;}
178 
182  inline ObjectTypeKey& AddFieldNames(const Aws::String& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
183 
187  inline ObjectTypeKey& AddFieldNames(Aws::String&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(std::move(value)); return *this; }
188 
192  inline ObjectTypeKey& AddFieldNames(const char* value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
193 
194  private:
195 
196  Aws::Vector<StandardIdentifier> m_standardIdentifiers;
197  bool m_standardIdentifiersHasBeenSet;
198 
199  Aws::Vector<Aws::String> m_fieldNames;
200  bool m_fieldNamesHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace CustomerProfiles
205 } // namespace Aws
Aws::CustomerProfiles::Model::ObjectTypeKey::SetFieldNames
void SetFieldNames(const Aws::Vector< Aws::String > &value)
Definition: ObjectTypeKey.h:162
Aws::CustomerProfiles::Model::ObjectTypeKey::WithFieldNames
ObjectTypeKey & WithFieldNames(const Aws::Vector< Aws::String > &value)
Definition: ObjectTypeKey.h:172
Aws::CustomerProfiles::Model::ObjectTypeKey::GetFieldNames
const Aws::Vector< Aws::String > & GetFieldNames() const
Definition: ObjectTypeKey.h:152
Aws::CustomerProfiles::Model::ObjectTypeKey::AddStandardIdentifiers
ObjectTypeKey & AddStandardIdentifiers(const StandardIdentifier &value)
Definition: ObjectTypeKey.h:133
Aws::CustomerProfiles::Model::ObjectTypeKey::AddFieldNames
ObjectTypeKey & AddFieldNames(const Aws::String &value)
Definition: ObjectTypeKey.h:182
Aws::CustomerProfiles::Model::ObjectTypeKey::AddStandardIdentifiers
ObjectTypeKey & AddStandardIdentifiers(StandardIdentifier &&value)
Definition: ObjectTypeKey.h:146
Aws::CustomerProfiles::Model::ObjectTypeKey::SetStandardIdentifiers
void SetStandardIdentifiers(Aws::Vector< StandardIdentifier > &&value)
Definition: ObjectTypeKey.h:94
AWS_CUSTOMERPROFILES_API
#define AWS_CUSTOMERPROFILES_API
Definition: CustomerProfiles_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CustomerProfiles::Model::ObjectTypeKey::AddFieldNames
ObjectTypeKey & AddFieldNames(const char *value)
Definition: ObjectTypeKey.h:192
StandardIdentifier.h
Aws::CustomerProfiles::Model::ObjectTypeKey
Definition: ObjectTypeKey.h:36
Aws::CustomerProfiles::Model::ObjectTypeKey::GetStandardIdentifiers
const Aws::Vector< StandardIdentifier > & GetStandardIdentifiers() const
Definition: ObjectTypeKey.h:55
AWSVector.h
Aws::CustomerProfiles::Model::ObjectTypeKey::operator=
ObjectTypeKey & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CustomerProfiles::Model::ObjectTypeKey::AddFieldNames
ObjectTypeKey & AddFieldNames(Aws::String &&value)
Definition: ObjectTypeKey.h:187
Aws::CustomerProfiles::Model::ObjectTypeKey::ObjectTypeKey
ObjectTypeKey(Aws::Utils::Json::JsonView jsonValue)
Aws::CustomerProfiles::Model::ObjectTypeKey::FieldNamesHasBeenSet
bool FieldNamesHasBeenSet() const
Definition: ObjectTypeKey.h:157
CustomerProfiles_EXPORTS.h
Aws::CustomerProfiles::Model::ObjectTypeKey::WithFieldNames
ObjectTypeKey & WithFieldNames(Aws::Vector< Aws::String > &&value)
Definition: ObjectTypeKey.h:177
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CustomerProfiles::Model::ObjectTypeKey::WithStandardIdentifiers
ObjectTypeKey & WithStandardIdentifiers(Aws::Vector< StandardIdentifier > &&value)
Definition: ObjectTypeKey.h:120
Aws::CustomerProfiles::Model::ObjectTypeKey::StandardIdentifiersHasBeenSet
bool StandardIdentifiersHasBeenSet() const
Definition: ObjectTypeKey.h:68
Aws::CustomerProfiles::Model::ObjectTypeKey::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::CustomerProfiles::Model::ObjectTypeKey::ObjectTypeKey
ObjectTypeKey()
Aws::CustomerProfiles::Model::StandardIdentifier
StandardIdentifier
Definition: StandardIdentifier.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CustomerProfiles::Model::ObjectTypeKey::SetStandardIdentifiers
void SetStandardIdentifiers(const Aws::Vector< StandardIdentifier > &value)
Definition: ObjectTypeKey.h:81
Aws::CustomerProfiles::Model::ObjectTypeKey::SetFieldNames
void SetFieldNames(Aws::Vector< Aws::String > &&value)
Definition: ObjectTypeKey.h:167
Aws::CustomerProfiles::Model::ObjectTypeKey::WithStandardIdentifiers
ObjectTypeKey & WithStandardIdentifiers(const Aws::Vector< StandardIdentifier > &value)
Definition: ObjectTypeKey.h:107