AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RenewalTerm.h
1
6#pragma once
7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/marketplace-agreement/model/RenewalTermConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AgreementService
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_AGREEMENTSERVICE_API RenewalTerm();
44 AWS_AGREEMENTSERVICE_API RenewalTerm(Aws::Utils::Json::JsonView jsonValue);
45 AWS_AGREEMENTSERVICE_API RenewalTerm& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const RenewalTermConfiguration& GetConfiguration() const{ return m_configuration; }
54 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
55 inline void SetConfiguration(const RenewalTermConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
56 inline void SetConfiguration(RenewalTermConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
57 inline RenewalTerm& WithConfiguration(const RenewalTermConfiguration& value) { SetConfiguration(value); return *this;}
58 inline RenewalTerm& WithConfiguration(RenewalTermConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
70 inline RenewalTerm& WithType(const Aws::String& value) { SetType(value); return *this;}
71 inline RenewalTerm& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
72 inline RenewalTerm& WithType(const char* value) { SetType(value); return *this;}
74 private:
75
76 RenewalTermConfiguration m_configuration;
77 bool m_configurationHasBeenSet = false;
78
79 Aws::String m_type;
80 bool m_typeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace AgreementService
85} // namespace Aws
AWS_AGREEMENTSERVICE_API RenewalTerm(Aws::Utils::Json::JsonView jsonValue)
void SetType(Aws::String &&value)
Definition RenewalTerm.h:68
void SetConfiguration(const RenewalTermConfiguration &value)
Definition RenewalTerm.h:55
RenewalTerm & WithConfiguration(const RenewalTermConfiguration &value)
Definition RenewalTerm.h:57
RenewalTerm & WithType(Aws::String &&value)
Definition RenewalTerm.h:71
void SetConfiguration(RenewalTermConfiguration &&value)
Definition RenewalTerm.h:56
RenewalTerm & WithConfiguration(RenewalTermConfiguration &&value)
Definition RenewalTerm.h:58
AWS_AGREEMENTSERVICE_API RenewalTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Definition RenewalTerm.h:65
RenewalTerm & WithType(const char *value)
Definition RenewalTerm.h:72
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RenewalTerm & WithType(const Aws::String &value)
Definition RenewalTerm.h:70
AWS_AGREEMENTSERVICE_API RenewalTerm()
const RenewalTermConfiguration & GetConfiguration() const
Definition RenewalTerm.h:53
void SetType(const Aws::String &value)
Definition RenewalTerm.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue