AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SupportTerm.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_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 AgreementService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AGREEMENTSERVICE_API SupportTerm() = default;
36 AWS_AGREEMENTSERVICE_API SupportTerm(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AGREEMENTSERVICE_API SupportTerm& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetRefundPolicy() const { return m_refundPolicy; }
47 inline bool RefundPolicyHasBeenSet() const { return m_refundPolicyHasBeenSet; }
48 template<typename RefundPolicyT = Aws::String>
49 void SetRefundPolicy(RefundPolicyT&& value) { m_refundPolicyHasBeenSet = true; m_refundPolicy = std::forward<RefundPolicyT>(value); }
50 template<typename RefundPolicyT = Aws::String>
51 SupportTerm& WithRefundPolicy(RefundPolicyT&& value) { SetRefundPolicy(std::forward<RefundPolicyT>(value)); return *this;}
53
55
58 inline const Aws::String& GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 template<typename TypeT = Aws::String>
61 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
62 template<typename TypeT = Aws::String>
63 SupportTerm& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
65 private:
66
67 Aws::String m_refundPolicy;
68 bool m_refundPolicyHasBeenSet = false;
69
70 Aws::String m_type;
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AgreementService
76} // namespace Aws
AWS_AGREEMENTSERVICE_API SupportTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SupportTerm & WithRefundPolicy(RefundPolicyT &&value)
Definition SupportTerm.h:51
void SetRefundPolicy(RefundPolicyT &&value)
Definition SupportTerm.h:49
AWS_AGREEMENTSERVICE_API SupportTerm()=default
AWS_AGREEMENTSERVICE_API SupportTerm(Aws::Utils::Json::JsonView jsonValue)
SupportTerm & WithType(TypeT &&value)
Definition SupportTerm.h:63
const Aws::String & GetRefundPolicy() const
Definition SupportTerm.h:46
const Aws::String & GetType() const
Definition SupportTerm.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue