AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NextStepsHistory.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.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
30 public:
31 AWS_PARTNERCENTRALSELLING_API NextStepsHistory() = default;
32 AWS_PARTNERCENTRALSELLING_API NextStepsHistory(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API NextStepsHistory& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetValue() const { return m_value; }
41 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
42 template <typename ValueT = Aws::String>
43 void SetValue(ValueT&& value) {
44 m_valueHasBeenSet = true;
45 m_value = std::forward<ValueT>(value);
46 }
47 template <typename ValueT = Aws::String>
48 NextStepsHistory& WithValue(ValueT&& value) {
49 SetValue(std::forward<ValueT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetTime() const { return m_time; }
59 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
60 template <typename TimeT = Aws::Utils::DateTime>
61 void SetTime(TimeT&& value) {
62 m_timeHasBeenSet = true;
63 m_time = std::forward<TimeT>(value);
64 }
65 template <typename TimeT = Aws::Utils::DateTime>
66 NextStepsHistory& WithTime(TimeT&& value) {
67 SetTime(std::forward<TimeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_value;
73
74 Aws::Utils::DateTime m_time{};
75 bool m_valueHasBeenSet = false;
76 bool m_timeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PartnerCentralSelling
81} // 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