AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ApplicationDateRangeKpiResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pinpoint/model/BaseKpiResult.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PINPOINT_API ApplicationDateRangeKpiResponse() = default;
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 template<typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<typename ApplicationIdT = Aws::String>
53 ApplicationDateRangeKpiResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
62 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
63 template<typename EndTimeT = Aws::Utils::DateTime>
64 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
65 template<typename EndTimeT = Aws::Utils::DateTime>
66 ApplicationDateRangeKpiResponse& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
68
70
79 inline const Aws::String& GetKpiName() const { return m_kpiName; }
80 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
81 template<typename KpiNameT = Aws::String>
82 void SetKpiName(KpiNameT&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::forward<KpiNameT>(value); }
83 template<typename KpiNameT = Aws::String>
84 ApplicationDateRangeKpiResponse& WithKpiName(KpiNameT&& value) { SetKpiName(std::forward<KpiNameT>(value)); return *this;}
86
88
92 inline const BaseKpiResult& GetKpiResult() const { return m_kpiResult; }
93 inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; }
94 template<typename KpiResultT = BaseKpiResult>
95 void SetKpiResult(KpiResultT&& value) { m_kpiResultHasBeenSet = true; m_kpiResult = std::forward<KpiResultT>(value); }
96 template<typename KpiResultT = BaseKpiResult>
97 ApplicationDateRangeKpiResponse& WithKpiResult(KpiResultT&& value) { SetKpiResult(std::forward<KpiResultT>(value)); return *this;}
99
101
106 inline const Aws::String& GetNextToken() const { return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 template<typename NextTokenT = Aws::String>
109 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
110 template<typename NextTokenT = Aws::String>
111 ApplicationDateRangeKpiResponse& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
120 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
121 template<typename StartTimeT = Aws::Utils::DateTime>
122 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
123 template<typename StartTimeT = Aws::Utils::DateTime>
124 ApplicationDateRangeKpiResponse& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
126 private:
127
128 Aws::String m_applicationId;
129 bool m_applicationIdHasBeenSet = false;
130
131 Aws::Utils::DateTime m_endTime{};
132 bool m_endTimeHasBeenSet = false;
133
134 Aws::String m_kpiName;
135 bool m_kpiNameHasBeenSet = false;
136
137 BaseKpiResult m_kpiResult;
138 bool m_kpiResultHasBeenSet = false;
139
140 Aws::String m_nextToken;
141 bool m_nextTokenHasBeenSet = false;
142
143 Aws::Utils::DateTime m_startTime{};
144 bool m_startTimeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Pinpoint
149} // namespace Aws
AWS_PINPOINT_API ApplicationDateRangeKpiResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationDateRangeKpiResponse & WithEndTime(EndTimeT &&value)
ApplicationDateRangeKpiResponse & WithNextToken(NextTokenT &&value)
ApplicationDateRangeKpiResponse & WithKpiResult(KpiResultT &&value)
ApplicationDateRangeKpiResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse()=default
ApplicationDateRangeKpiResponse & WithKpiName(KpiNameT &&value)
ApplicationDateRangeKpiResponse & WithStartTime(StartTimeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue