AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRefundPolicy(const Aws::String& value) { m_refundPolicyHasBeenSet = true; m_refundPolicy = value; }
49 inline void SetRefundPolicy(Aws::String&& value) { m_refundPolicyHasBeenSet = true; m_refundPolicy = std::move(value); }
50 inline void SetRefundPolicy(const char* value) { m_refundPolicyHasBeenSet = true; m_refundPolicy.assign(value); }
51 inline SupportTerm& WithRefundPolicy(const Aws::String& value) { SetRefundPolicy(value); return *this;}
52 inline SupportTerm& WithRefundPolicy(Aws::String&& value) { SetRefundPolicy(std::move(value)); return *this;}
53 inline SupportTerm& WithRefundPolicy(const char* value) { SetRefundPolicy(value); return *this;}
55
57
60 inline const Aws::String& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
65 inline SupportTerm& WithType(const Aws::String& value) { SetType(value); return *this;}
66 inline SupportTerm& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
67 inline SupportTerm& WithType(const char* value) { SetType(value); return *this;}
69 private:
70
71 Aws::String m_refundPolicy;
72 bool m_refundPolicyHasBeenSet = false;
73
74 Aws::String m_type;
75 bool m_typeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AgreementService
80} // namespace Aws
SupportTerm & WithRefundPolicy(Aws::String &&value)
Definition SupportTerm.h:52
AWS_AGREEMENTSERVICE_API SupportTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const Aws::String &value)
Definition SupportTerm.h:62
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRefundPolicy(const char *value)
Definition SupportTerm.h:50
SupportTerm & WithType(Aws::String &&value)
Definition SupportTerm.h:66
SupportTerm & WithType(const char *value)
Definition SupportTerm.h:67
void SetRefundPolicy(Aws::String &&value)
Definition SupportTerm.h:49
AWS_AGREEMENTSERVICE_API SupportTerm(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API SupportTerm()
void SetType(Aws::String &&value)
Definition SupportTerm.h:63
SupportTerm & WithType(const Aws::String &value)
Definition SupportTerm.h:65
SupportTerm & WithRefundPolicy(const char *value)
Definition SupportTerm.h:53
const Aws::String & GetRefundPolicy() const
Definition SupportTerm.h:46
SupportTerm & WithRefundPolicy(const Aws::String &value)
Definition SupportTerm.h:51
const Aws::String & GetType() const
Definition SupportTerm.h:60
void SetRefundPolicy(const Aws::String &value)
Definition SupportTerm.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue