AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlotDateTimeRangeRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::Utils::DateTime& GetEarliestTime() const{ return m_earliestTime; }
49 inline bool EarliestTimeHasBeenSet() const { return m_earliestTimeHasBeenSet; }
50 inline void SetEarliestTime(const Aws::Utils::DateTime& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = value; }
51 inline void SetEarliestTime(Aws::Utils::DateTime&& value) { m_earliestTimeHasBeenSet = true; m_earliestTime = std::move(value); }
53 inline SlotDateTimeRangeRequest& WithEarliestTime(Aws::Utils::DateTime&& value) { SetEarliestTime(std::move(value)); return *this;}
55
57
62 inline const Aws::Utils::DateTime& GetLatestTime() const{ return m_latestTime; }
63 inline bool LatestTimeHasBeenSet() const { return m_latestTimeHasBeenSet; }
64 inline void SetLatestTime(const Aws::Utils::DateTime& value) { m_latestTimeHasBeenSet = true; m_latestTime = value; }
65 inline void SetLatestTime(Aws::Utils::DateTime&& value) { m_latestTimeHasBeenSet = true; m_latestTime = std::move(value); }
66 inline SlotDateTimeRangeRequest& WithLatestTime(const Aws::Utils::DateTime& value) { SetLatestTime(value); return *this;}
67 inline SlotDateTimeRangeRequest& WithLatestTime(Aws::Utils::DateTime&& value) { SetLatestTime(std::move(value)); return *this;}
69 private:
70
71 Aws::Utils::DateTime m_earliestTime;
72 bool m_earliestTimeHasBeenSet = false;
73
74 Aws::Utils::DateTime m_latestTime;
75 bool m_latestTimeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEarliestTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLatestTime() const
SlotDateTimeRangeRequest & WithEarliestTime(Aws::Utils::DateTime &&value)
AWS_EC2_API SlotDateTimeRangeRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API SlotDateTimeRangeRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
SlotDateTimeRangeRequest & WithLatestTime(const Aws::Utils::DateTime &value)
void SetLatestTime(Aws::Utils::DateTime &&value)
SlotDateTimeRangeRequest & WithLatestTime(Aws::Utils::DateTime &&value)
SlotDateTimeRangeRequest & WithEarliestTime(const Aws::Utils::DateTime &value)
void SetLatestTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEarliestTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEarliestTime(const Aws::Utils::DateTime &value)
std::basic_ostream< char, std::char_traits< char > > OStream