AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LastModifiedDate.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
30 public:
31 AWS_PARTNERCENTRALSELLING_API LastModifiedDate() = default;
32 AWS_PARTNERCENTRALSELLING_API LastModifiedDate(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALSELLING_API LastModifiedDate& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Utils::DateTime& GetAfterLastModifiedDate() const { return m_afterLastModifiedDate; }
43 inline bool AfterLastModifiedDateHasBeenSet() const { return m_afterLastModifiedDateHasBeenSet; }
44 template <typename AfterLastModifiedDateT = Aws::Utils::DateTime>
45 void SetAfterLastModifiedDate(AfterLastModifiedDateT&& value) {
46 m_afterLastModifiedDateHasBeenSet = true;
47 m_afterLastModifiedDate = std::forward<AfterLastModifiedDateT>(value);
48 }
49 template <typename AfterLastModifiedDateT = Aws::Utils::DateTime>
50 LastModifiedDate& WithAfterLastModifiedDate(AfterLastModifiedDateT&& value) {
51 SetAfterLastModifiedDate(std::forward<AfterLastModifiedDateT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::Utils::DateTime& GetBeforeLastModifiedDate() const { return m_beforeLastModifiedDate; }
63 inline bool BeforeLastModifiedDateHasBeenSet() const { return m_beforeLastModifiedDateHasBeenSet; }
64 template <typename BeforeLastModifiedDateT = Aws::Utils::DateTime>
65 void SetBeforeLastModifiedDate(BeforeLastModifiedDateT&& value) {
66 m_beforeLastModifiedDateHasBeenSet = true;
67 m_beforeLastModifiedDate = std::forward<BeforeLastModifiedDateT>(value);
68 }
69 template <typename BeforeLastModifiedDateT = Aws::Utils::DateTime>
70 LastModifiedDate& WithBeforeLastModifiedDate(BeforeLastModifiedDateT&& value) {
71 SetBeforeLastModifiedDate(std::forward<BeforeLastModifiedDateT>(value));
72 return *this;
73 }
75 private:
76 Aws::Utils::DateTime m_afterLastModifiedDate{};
77
78 Aws::Utils::DateTime m_beforeLastModifiedDate{};
79 bool m_afterLastModifiedDateHasBeenSet = false;
80 bool m_beforeLastModifiedDateHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace PartnerCentralSelling
85} // namespace Aws
LastModifiedDate & WithAfterLastModifiedDate(AfterLastModifiedDateT &&value)
AWS_PARTNERCENTRALSELLING_API LastModifiedDate()=default
const Aws::Utils::DateTime & GetAfterLastModifiedDate() const
LastModifiedDate & WithBeforeLastModifiedDate(BeforeLastModifiedDateT &&value)
AWS_PARTNERCENTRALSELLING_API LastModifiedDate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetBeforeLastModifiedDate() const
AWS_PARTNERCENTRALSELLING_API LastModifiedDate(Aws::Utils::Json::JsonView jsonValue)
void SetBeforeLastModifiedDate(BeforeLastModifiedDateT &&value)
void SetAfterLastModifiedDate(AfterLastModifiedDateT &&value)
Aws::Utils::Json::JsonValue JsonValue