AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageTime.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/model/HandOffTime.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 SSMContacts
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMCONTACTS_API CoverageTime();
36 AWS_SSMCONTACTS_API CoverageTime(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SSMCONTACTS_API CoverageTime& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const HandOffTime& GetStart() const{ return m_start; }
46 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
47 inline void SetStart(const HandOffTime& value) { m_startHasBeenSet = true; m_start = value; }
48 inline void SetStart(HandOffTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
49 inline CoverageTime& WithStart(const HandOffTime& value) { SetStart(value); return *this;}
50 inline CoverageTime& WithStart(HandOffTime&& value) { SetStart(std::move(value)); return *this;}
52
54
57 inline const HandOffTime& GetEnd() const{ return m_end; }
58 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
59 inline void SetEnd(const HandOffTime& value) { m_endHasBeenSet = true; m_end = value; }
60 inline void SetEnd(HandOffTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
61 inline CoverageTime& WithEnd(const HandOffTime& value) { SetEnd(value); return *this;}
62 inline CoverageTime& WithEnd(HandOffTime&& value) { SetEnd(std::move(value)); return *this;}
64 private:
65
66 HandOffTime m_start;
67 bool m_startHasBeenSet = false;
68
69 HandOffTime m_end;
70 bool m_endHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SSMContacts
75} // namespace Aws
CoverageTime & WithEnd(HandOffTime &&value)
void SetEnd(const HandOffTime &value)
AWS_SSMCONTACTS_API CoverageTime()
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStart(const HandOffTime &value)
CoverageTime & WithStart(HandOffTime &&value)
CoverageTime & WithStart(const HandOffTime &value)
AWS_SSMCONTACTS_API CoverageTime & operator=(Aws::Utils::Json::JsonView jsonValue)
const HandOffTime & GetEnd() const
const HandOffTime & GetStart() const
void SetEnd(HandOffTime &&value)
void SetStart(HandOffTime &&value)
CoverageTime & WithEnd(const HandOffTime &value)
AWS_SSMCONTACTS_API CoverageTime(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue