AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetOwnerInfo.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_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 FinSpaceData
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_FINSPACEDATA_API DatasetOwnerInfo();
35 AWS_FINSPACEDATA_API DatasetOwnerInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FINSPACEDATA_API DatasetOwnerInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline DatasetOwnerInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline DatasetOwnerInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline DatasetOwnerInfo& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
59 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
60 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
61 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
62 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
63 inline DatasetOwnerInfo& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
64 inline DatasetOwnerInfo& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
65 inline DatasetOwnerInfo& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
67
69
72 inline const Aws::String& GetEmail() const{ return m_email; }
73 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
74 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
75 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
76 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
77 inline DatasetOwnerInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
78 inline DatasetOwnerInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
79 inline DatasetOwnerInfo& WithEmail(const char* value) { SetEmail(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_phoneNumber;
87 bool m_phoneNumberHasBeenSet = false;
88
89 Aws::String m_email;
90 bool m_emailHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FinSpaceData
95} // namespace Aws
DatasetOwnerInfo & WithEmail(const Aws::String &value)
DatasetOwnerInfo & WithName(Aws::String &&value)
DatasetOwnerInfo & WithName(const Aws::String &value)
DatasetOwnerInfo & WithName(const char *value)
AWS_FINSPACEDATA_API DatasetOwnerInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetOwnerInfo & WithPhoneNumber(Aws::String &&value)
AWS_FINSPACEDATA_API DatasetOwnerInfo(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumber(const Aws::String &value)
const Aws::String & GetPhoneNumber() const
void SetEmail(const Aws::String &value)
DatasetOwnerInfo & WithPhoneNumber(const char *value)
void SetName(const Aws::String &value)
DatasetOwnerInfo & WithEmail(const char *value)
DatasetOwnerInfo & WithPhoneNumber(const Aws::String &value)
DatasetOwnerInfo & WithEmail(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue