AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ApproverDetails.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Billing {
20namespace Model {
21
29 public:
30 AWS_BILLING_API ApproverDetails() = default;
31 AWS_BILLING_API ApproverDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 ApproverDetails& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetTitle() const { return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 template <typename TitleT = Aws::String>
62 void SetTitle(TitleT&& value) {
63 m_titleHasBeenSet = true;
64 m_title = std::forward<TitleT>(value);
65 }
66 template <typename TitleT = Aws::String>
67 ApproverDetails& WithTitle(TitleT&& value) {
68 SetTitle(std::forward<TitleT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetEmail() const { return m_email; }
79 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
80 template <typename EmailT = Aws::String>
81 void SetEmail(EmailT&& value) {
82 m_emailHasBeenSet = true;
83 m_email = std::forward<EmailT>(value);
84 }
85 template <typename EmailT = Aws::String>
86 ApproverDetails& WithEmail(EmailT&& value) {
87 SetEmail(std::forward<EmailT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_name;
93
94 Aws::String m_title;
95
96 Aws::String m_email;
97 bool m_nameHasBeenSet = false;
98 bool m_titleHasBeenSet = false;
99 bool m_emailHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Billing
104} // namespace Aws
AWS_BILLING_API ApproverDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ApproverDetails & WithEmail(EmailT &&value)
AWS_BILLING_API ApproverDetails()=default
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLING_API ApproverDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ApproverDetails & WithName(NameT &&value)
const Aws::String & GetEmail() const
const Aws::String & GetTitle() const
ApproverDetails & WithTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue