AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
NextStepsHistory.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 PartnerCentralSelling
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API NextStepsHistory() = default;
37 AWS_PARTNERCENTRALSELLING_API NextStepsHistory(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API NextStepsHistory& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetTime() const { return m_time; }
47 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
48 template<typename TimeT = Aws::Utils::DateTime>
49 void SetTime(TimeT&& value) { m_timeHasBeenSet = true; m_time = std::forward<TimeT>(value); }
50 template<typename TimeT = Aws::Utils::DateTime>
51 NextStepsHistory& WithTime(TimeT&& value) { SetTime(std::forward<TimeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template<typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
62 template<typename ValueT = Aws::String>
63 NextStepsHistory& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_time{};
68 bool m_timeHasBeenSet = false;
69
70 Aws::String m_value;
71 bool m_valueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PartnerCentralSelling
76} // namespace Aws
AWS_PARTNERCENTRALSELLING_API NextStepsHistory(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTime() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API NextStepsHistory()=default
AWS_PARTNERCENTRALSELLING_API NextStepsHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue