AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateInterval.h
1
6#pragma once
7#include <aws/ce/CostExplorer_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 CostExplorer
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_COSTEXPLORER_API DateInterval();
35 AWS_COSTEXPLORER_API DateInterval(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COSTEXPLORER_API DateInterval& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetStart() const{ return m_start; }
49 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
50 inline void SetStart(const Aws::String& value) { m_startHasBeenSet = true; m_start = value; }
51 inline void SetStart(Aws::String&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
52 inline void SetStart(const char* value) { m_startHasBeenSet = true; m_start.assign(value); }
53 inline DateInterval& WithStart(const Aws::String& value) { SetStart(value); return *this;}
54 inline DateInterval& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;}
55 inline DateInterval& WithStart(const char* value) { SetStart(value); return *this;}
57
59
65 inline const Aws::String& GetEnd() const{ return m_end; }
66 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
67 inline void SetEnd(const Aws::String& value) { m_endHasBeenSet = true; m_end = value; }
68 inline void SetEnd(Aws::String&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
69 inline void SetEnd(const char* value) { m_endHasBeenSet = true; m_end.assign(value); }
70 inline DateInterval& WithEnd(const Aws::String& value) { SetEnd(value); return *this;}
71 inline DateInterval& WithEnd(Aws::String&& value) { SetEnd(std::move(value)); return *this;}
72 inline DateInterval& WithEnd(const char* value) { SetEnd(value); return *this;}
74 private:
75
76 Aws::String m_start;
77 bool m_startHasBeenSet = false;
78
79 Aws::String m_end;
80 bool m_endHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CostExplorer
85} // namespace Aws
DateInterval & WithStart(const Aws::String &value)
const Aws::String & GetStart() const
AWS_COSTEXPLORER_API DateInterval(Aws::Utils::Json::JsonView jsonValue)
DateInterval & WithEnd(const Aws::String &value)
DateInterval & WithStart(Aws::String &&value)
DateInterval & WithStart(const char *value)
const Aws::String & GetEnd() const
DateInterval & WithEnd(const char *value)
void SetEnd(const Aws::String &value)
AWS_COSTEXPLORER_API DateInterval & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
DateInterval & WithEnd(Aws::String &&value)
void SetStart(const Aws::String &value)
void SetEnd(Aws::String &&value)
void SetStart(Aws::String &&value)
AWS_COSTEXPLORER_API DateInterval()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue