AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBegin(const Aws::String& value) { m_beginHasBeenSet = true; m_begin = value; }
47 inline void SetBegin(Aws::String&& value) { m_beginHasBeenSet = true; m_begin = std::move(value); }
48 inline void SetBegin(const char* value) { m_beginHasBeenSet = true; m_begin.assign(value); }
49 inline DatetimeRange& WithBegin(const Aws::String& value) { SetBegin(value); return *this;}
50 inline DatetimeRange& WithBegin(Aws::String&& value) { SetBegin(std::move(value)); return *this;}
51 inline DatetimeRange& WithBegin(const char* value) { SetBegin(value); return *this;}
53
55
58 inline const Aws::String& GetEnd() const{ return m_end; }
59 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
60 inline void SetEnd(const Aws::String& value) { m_endHasBeenSet = true; m_end = value; }
61 inline void SetEnd(Aws::String&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
62 inline void SetEnd(const char* value) { m_endHasBeenSet = true; m_end.assign(value); }
63 inline DatetimeRange& WithEnd(const Aws::String& value) { SetEnd(value); return *this;}
64 inline DatetimeRange& WithEnd(Aws::String&& value) { SetEnd(std::move(value)); return *this;}
65 inline DatetimeRange& WithEnd(const char* value) { SetEnd(value); return *this;}
67 private:
68
69 Aws::String m_begin;
70 bool m_beginHasBeenSet = false;
71
72 Aws::String m_end;
73 bool m_endHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LicenseManager
78} // namespace Aws
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
DatetimeRange & WithBegin(Aws::String &&value)
DatetimeRange & WithBegin(const char *value)
AWS_LICENSEMANAGER_API DatetimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnd(const Aws::String &value)
const Aws::String & GetEnd() const
void SetBegin(const Aws::String &value)
AWS_LICENSEMANAGER_API DatetimeRange()
DatetimeRange & WithBegin(const Aws::String &value)
AWS_LICENSEMANAGER_API DatetimeRange(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBegin() const
DatetimeRange & WithEnd(const Aws::String &value)
DatetimeRange & WithEnd(Aws::String &&value)
DatetimeRange & WithEnd(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue