AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ConfigurationT = RenewalTermConfiguration>
56 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
57 template<typename ConfigurationT = RenewalTermConfiguration>
58 RenewalTerm& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
60
62
65 inline const Aws::String& GetType() const { return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 template<typename TypeT = Aws::String>
68 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
69 template<typename TypeT = Aws::String>
70 RenewalTerm& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
72 private:
73
74 RenewalTermConfiguration m_configuration;
75 bool m_configurationHasBeenSet = false;
76
77 Aws::String m_type;
78 bool m_typeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AgreementService
83} // namespace Aws
AWS_AGREEMENTSERVICE_API RenewalTerm(Aws::Utils::Json::JsonView jsonValue)
void SetConfiguration(ConfigurationT &&value)
Definition RenewalTerm.h:56
AWS_AGREEMENTSERVICE_API RenewalTerm()=default
AWS_AGREEMENTSERVICE_API RenewalTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetType() const
Definition RenewalTerm.h:65
RenewalTerm & WithType(TypeT &&value)
Definition RenewalTerm.h:70
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const RenewalTermConfiguration & GetConfiguration() const
Definition RenewalTerm.h:53
RenewalTerm & WithConfiguration(ConfigurationT &&value)
Definition RenewalTerm.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue