AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatedAt.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_ECS_API CreatedAt();
38 AWS_ECS_API CreatedAt(Aws::Utils::Json::JsonView jsonValue);
41
42
44
48 inline const Aws::Utils::DateTime& GetBefore() const{ return m_before; }
49 inline bool BeforeHasBeenSet() const { return m_beforeHasBeenSet; }
50 inline void SetBefore(const Aws::Utils::DateTime& value) { m_beforeHasBeenSet = true; m_before = value; }
51 inline void SetBefore(Aws::Utils::DateTime&& value) { m_beforeHasBeenSet = true; m_before = std::move(value); }
52 inline CreatedAt& WithBefore(const Aws::Utils::DateTime& value) { SetBefore(value); return *this;}
53 inline CreatedAt& WithBefore(Aws::Utils::DateTime&& value) { SetBefore(std::move(value)); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetAfter() const{ return m_after; }
62 inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
63 inline void SetAfter(const Aws::Utils::DateTime& value) { m_afterHasBeenSet = true; m_after = value; }
64 inline void SetAfter(Aws::Utils::DateTime&& value) { m_afterHasBeenSet = true; m_after = std::move(value); }
65 inline CreatedAt& WithAfter(const Aws::Utils::DateTime& value) { SetAfter(value); return *this;}
66 inline CreatedAt& WithAfter(Aws::Utils::DateTime&& value) { SetAfter(std::move(value)); return *this;}
68 private:
69
70 Aws::Utils::DateTime m_before;
71 bool m_beforeHasBeenSet = false;
72
74 bool m_afterHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ECS
79} // namespace Aws
void SetAfter(Aws::Utils::DateTime &&value)
Definition CreatedAt.h:64
CreatedAt & WithAfter(const Aws::Utils::DateTime &value)
Definition CreatedAt.h:65
CreatedAt & WithBefore(const Aws::Utils::DateTime &value)
Definition CreatedAt.h:52
AWS_ECS_API CreatedAt(Aws::Utils::Json::JsonView jsonValue)
void SetBefore(Aws::Utils::DateTime &&value)
Definition CreatedAt.h:51
AWS_ECS_API CreatedAt & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AfterHasBeenSet() const
Definition CreatedAt.h:62
void SetAfter(const Aws::Utils::DateTime &value)
Definition CreatedAt.h:63
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool BeforeHasBeenSet() const
Definition CreatedAt.h:49
const Aws::Utils::DateTime & GetBefore() const
Definition CreatedAt.h:48
CreatedAt & WithAfter(Aws::Utils::DateTime &&value)
Definition CreatedAt.h:66
CreatedAt & WithBefore(Aws::Utils::DateTime &&value)
Definition CreatedAt.h:53
const Aws::Utils::DateTime & GetAfter() const
Definition CreatedAt.h:61
void SetBefore(const Aws::Utils::DateTime &value)
Definition CreatedAt.h:50
Aws::Utils::Json::JsonValue JsonValue