AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LastModifiedDate.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API LastModifiedDate() = default;
37 AWS_PARTNERCENTRALSELLING_API LastModifiedDate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API LastModifiedDate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Utils::DateTime& GetAfterLastModifiedDate() const { return m_afterLastModifiedDate; }
49 inline bool AfterLastModifiedDateHasBeenSet() const { return m_afterLastModifiedDateHasBeenSet; }
50 template<typename AfterLastModifiedDateT = Aws::Utils::DateTime>
51 void SetAfterLastModifiedDate(AfterLastModifiedDateT&& value) { m_afterLastModifiedDateHasBeenSet = true; m_afterLastModifiedDate = std::forward<AfterLastModifiedDateT>(value); }
52 template<typename AfterLastModifiedDateT = Aws::Utils::DateTime>
53 LastModifiedDate& WithAfterLastModifiedDate(AfterLastModifiedDateT&& value) { SetAfterLastModifiedDate(std::forward<AfterLastModifiedDateT>(value)); return *this;}
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) { m_beforeLastModifiedDateHasBeenSet = true; m_beforeLastModifiedDate = std::forward<BeforeLastModifiedDateT>(value); }
66 template<typename BeforeLastModifiedDateT = Aws::Utils::DateTime>
67 LastModifiedDate& WithBeforeLastModifiedDate(BeforeLastModifiedDateT&& value) { SetBeforeLastModifiedDate(std::forward<BeforeLastModifiedDateT>(value)); return *this;}
69 private:
70
71 Aws::Utils::DateTime m_afterLastModifiedDate{};
72 bool m_afterLastModifiedDateHasBeenSet = false;
73
74 Aws::Utils::DateTime m_beforeLastModifiedDate{};
75 bool m_beforeLastModifiedDateHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PartnerCentralSelling
80} // 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