AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AnomalyDateInterval.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
28 public:
29 AWS_COSTEXPLORER_API AnomalyDateInterval() = default;
30 AWS_COSTEXPLORER_API AnomalyDateInterval(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetStartDate() const { return m_startDate; }
39 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
40 template <typename StartDateT = Aws::String>
41 void SetStartDate(StartDateT&& value) {
42 m_startDateHasBeenSet = true;
43 m_startDate = std::forward<StartDateT>(value);
44 }
45 template <typename StartDateT = Aws::String>
46 AnomalyDateInterval& WithStartDate(StartDateT&& value) {
47 SetStartDate(std::forward<StartDateT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEndDate() const { return m_endDate; }
57 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
58 template <typename EndDateT = Aws::String>
59 void SetEndDate(EndDateT&& value) {
60 m_endDateHasBeenSet = true;
61 m_endDate = std::forward<EndDateT>(value);
62 }
63 template <typename EndDateT = Aws::String>
64 AnomalyDateInterval& WithEndDate(EndDateT&& value) {
65 SetEndDate(std::forward<EndDateT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_startDate;
71
72 Aws::String m_endDate;
73 bool m_startDateHasBeenSet = false;
74 bool m_endDateHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CostExplorer
79} // namespace Aws
AWS_COSTEXPLORER_API AnomalyDateInterval(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API AnomalyDateInterval()=default
AWS_COSTEXPLORER_API AnomalyDateInterval & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyDateInterval & WithEndDate(EndDateT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyDateInterval & WithStartDate(StartDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue