AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DatetimeRange.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 LicenseManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LICENSEMANAGER_API DatetimeRange() = default;
35 AWS_LICENSEMANAGER_API DatetimeRange(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LICENSEMANAGER_API DatetimeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetBegin() const { return m_begin; }
45 inline bool BeginHasBeenSet() const { return m_beginHasBeenSet; }
46 template<typename BeginT = Aws::String>
47 void SetBegin(BeginT&& value) { m_beginHasBeenSet = true; m_begin = std::forward<BeginT>(value); }
48 template<typename BeginT = Aws::String>
49 DatetimeRange& WithBegin(BeginT&& value) { SetBegin(std::forward<BeginT>(value)); return *this;}
51
53
56 inline const Aws::String& GetEnd() const { return m_end; }
57 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
58 template<typename EndT = Aws::String>
59 void SetEnd(EndT&& value) { m_endHasBeenSet = true; m_end = std::forward<EndT>(value); }
60 template<typename EndT = Aws::String>
61 DatetimeRange& WithEnd(EndT&& value) { SetEnd(std::forward<EndT>(value)); return *this;}
63 private:
64
65 Aws::String m_begin;
66 bool m_beginHasBeenSet = false;
67
68 Aws::String m_end;
69 bool m_endHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LicenseManager
74} // namespace Aws
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API DatetimeRange()=default
DatetimeRange & WithBegin(BeginT &&value)
DatetimeRange & WithEnd(EndT &&value)
AWS_LICENSEMANAGER_API DatetimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEnd() const
AWS_LICENSEMANAGER_API DatetimeRange(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBegin() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue