AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
ExpectedContractDuration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ExpectedContractDurationTerm.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
31 public:
32 AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration() = default;
33 AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline ExpectedContractDurationTerm GetTerm() const { return m_term; }
43 inline bool TermHasBeenSet() const { return m_termHasBeenSet; }
45 m_termHasBeenSet = true;
46 m_term = value;
47 }
49 SetTerm(value);
50 return *this;
51 }
53
55
60 inline const Aws::String& GetValue() const { return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 template <typename ValueT = Aws::String>
63 void SetValue(ValueT&& value) {
64 m_valueHasBeenSet = true;
65 m_value = std::forward<ValueT>(value);
66 }
67 template <typename ValueT = Aws::String>
69 SetValue(std::forward<ValueT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_value;
77 bool m_termHasBeenSet = false;
78 bool m_valueHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PartnerCentralSelling
83} // namespace Aws
AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration()=default
AWS_PARTNERCENTRALSELLING_API ExpectedContractDuration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExpectedContractDuration & WithTerm(ExpectedContractDurationTerm value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue