AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Upi.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payments/Payments_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Payments {
20namespace Model {
21
28class Upi {
29 public:
30 AWS_PAYMENTS_API Upi() = default;
31 AWS_PAYMENTS_API Upi(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PAYMENTS_API Upi& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAppName() const { return m_appName; }
40 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
41 template <typename AppNameT = Aws::String>
42 void SetAppName(AppNameT&& value) {
43 m_appNameHasBeenSet = true;
44 m_appName = std::forward<AppNameT>(value);
45 }
46 template <typename AppNameT = Aws::String>
47 Upi& WithAppName(AppNameT&& value) {
48 SetAppName(std::forward<AppNameT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_appName;
54 bool m_appNameHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Payments
59} // namespace Aws
bool AppNameHasBeenSet() const
Definition Upi.h:40
const Aws::String & GetAppName() const
Definition Upi.h:39
AWS_PAYMENTS_API Upi & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTS_API Upi(Aws::Utils::Json::JsonView jsonValue)
void SetAppName(AppNameT &&value)
Definition Upi.h:42
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTS_API Upi()=default
Upi & WithAppName(AppNameT &&value)
Definition Upi.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue