AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Batch.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_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 CustomerProfiles
22{
23namespace Model
24{
25
34 class Batch
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API Batch();
38 AWS_CUSTOMERPROFILES_API Batch(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Batch& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
48 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
49 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
50 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
51 inline Batch& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
52 inline Batch& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
60 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
61 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
62 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
63 inline Batch& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
64 inline Batch& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
66 private:
67
68 Aws::Utils::DateTime m_startTime;
69 bool m_startTimeHasBeenSet = false;
70
71 Aws::Utils::DateTime m_endTime;
72 bool m_endTimeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CustomerProfiles
77} // namespace Aws
const Aws::Utils::DateTime & GetStartTime() const
Definition Batch.h:47
AWS_CUSTOMERPROFILES_API Batch()
void SetStartTime(Aws::Utils::DateTime &&value)
Definition Batch.h:50
AWS_CUSTOMERPROFILES_API Batch(Aws::Utils::Json::JsonView jsonValue)
Batch & WithEndTime(const Aws::Utils::DateTime &value)
Definition Batch.h:63
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndTime() const
Definition Batch.h:59
void SetEndTime(const Aws::Utils::DateTime &value)
Definition Batch.h:61
Batch & WithEndTime(Aws::Utils::DateTime &&value)
Definition Batch.h:64
Batch & WithStartTime(const Aws::Utils::DateTime &value)
Definition Batch.h:51
void SetEndTime(Aws::Utils::DateTime &&value)
Definition Batch.h:62
void SetStartTime(const Aws::Utils::DateTime &value)
Definition Batch.h:49
Batch & WithStartTime(Aws::Utils::DateTime &&value)
Definition Batch.h:52
AWS_CUSTOMERPROFILES_API Batch & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue