AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
SubscriptionChange.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppMonetization {
20namespace Model {
21
29 public:
30 AWS_APPMONETIZATION_API SubscriptionChange() = default;
31 AWS_APPMONETIZATION_API SubscriptionChange(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPMONETIZATION_API SubscriptionChange& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::Utils::DateTime& GetEffectiveAt() const { return m_effectiveAt; }
41 inline bool EffectiveAtHasBeenSet() const { return m_effectiveAtHasBeenSet; }
42 template <typename EffectiveAtT = Aws::Utils::DateTime>
43 void SetEffectiveAt(EffectiveAtT&& value) {
44 m_effectiveAtHasBeenSet = true;
45 m_effectiveAt = std::forward<EffectiveAtT>(value);
46 }
47 template <typename EffectiveAtT = Aws::Utils::DateTime>
48 SubscriptionChange& WithEffectiveAt(EffectiveAtT&& value) {
49 SetEffectiveAt(std::forward<EffectiveAtT>(value));
50 return *this;
51 }
53 private:
54 Aws::Utils::DateTime m_effectiveAt{};
55 bool m_effectiveAtHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace AppMonetization
60} // namespace Aws
AWS_APPMONETIZATION_API SubscriptionChange(Aws::Utils::Json::JsonView jsonValue)
SubscriptionChange & WithEffectiveAt(EffectiveAtT &&value)
const Aws::Utils::DateTime & GetEffectiveAt() const
AWS_APPMONETIZATION_API SubscriptionChange()=default
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMONETIZATION_API SubscriptionChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue