AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
51 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
52 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
54 inline ApplicationDateRangeKpiResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
55 inline ApplicationDateRangeKpiResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
64 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
65 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
66 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
67 inline ApplicationDateRangeKpiResponse& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
68 inline ApplicationDateRangeKpiResponse& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
70
72
81 inline const Aws::String& GetKpiName() const{ return m_kpiName; }
82 inline bool KpiNameHasBeenSet() const { return m_kpiNameHasBeenSet; }
83 inline void SetKpiName(const Aws::String& value) { m_kpiNameHasBeenSet = true; m_kpiName = value; }
84 inline void SetKpiName(Aws::String&& value) { m_kpiNameHasBeenSet = true; m_kpiName = std::move(value); }
85 inline void SetKpiName(const char* value) { m_kpiNameHasBeenSet = true; m_kpiName.assign(value); }
86 inline ApplicationDateRangeKpiResponse& WithKpiName(const Aws::String& value) { SetKpiName(value); return *this;}
87 inline ApplicationDateRangeKpiResponse& WithKpiName(Aws::String&& value) { SetKpiName(std::move(value)); return *this;}
88 inline ApplicationDateRangeKpiResponse& WithKpiName(const char* value) { SetKpiName(value); return *this;}
90
92
96 inline const BaseKpiResult& GetKpiResult() const{ return m_kpiResult; }
97 inline bool KpiResultHasBeenSet() const { return m_kpiResultHasBeenSet; }
98 inline void SetKpiResult(const BaseKpiResult& value) { m_kpiResultHasBeenSet = true; m_kpiResult = value; }
99 inline void SetKpiResult(BaseKpiResult&& value) { m_kpiResultHasBeenSet = true; m_kpiResult = std::move(value); }
100 inline ApplicationDateRangeKpiResponse& WithKpiResult(const BaseKpiResult& value) { SetKpiResult(value); return *this;}
101 inline ApplicationDateRangeKpiResponse& WithKpiResult(BaseKpiResult&& value) { SetKpiResult(std::move(value)); return *this;}
103
105
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ApplicationDateRangeKpiResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ApplicationDateRangeKpiResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ApplicationDateRangeKpiResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119
121
125 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
126 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
127 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
128 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
130 inline ApplicationDateRangeKpiResponse& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_applicationId;
135 bool m_applicationIdHasBeenSet = false;
136
137 Aws::Utils::DateTime m_endTime;
138 bool m_endTimeHasBeenSet = false;
139
140 Aws::String m_kpiName;
141 bool m_kpiNameHasBeenSet = false;
142
143 BaseKpiResult m_kpiResult;
144 bool m_kpiResultHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148
149 Aws::Utils::DateTime m_startTime;
150 bool m_startTimeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Pinpoint
155} // namespace Aws
ApplicationDateRangeKpiResponse & WithStartTime(Aws::Utils::DateTime &&value)
ApplicationDateRangeKpiResponse & WithApplicationId(const char *value)
ApplicationDateRangeKpiResponse & WithNextToken(const Aws::String &value)
ApplicationDateRangeKpiResponse & WithKpiResult(const BaseKpiResult &value)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationDateRangeKpiResponse & WithApplicationId(const Aws::String &value)
ApplicationDateRangeKpiResponse & WithKpiName(Aws::String &&value)
ApplicationDateRangeKpiResponse & WithNextToken(const char *value)
ApplicationDateRangeKpiResponse & WithKpiName(const Aws::String &value)
ApplicationDateRangeKpiResponse & WithStartTime(const Aws::Utils::DateTime &value)
ApplicationDateRangeKpiResponse & WithEndTime(Aws::Utils::DateTime &&value)
ApplicationDateRangeKpiResponse & WithEndTime(const Aws::Utils::DateTime &value)
AWS_PINPOINT_API ApplicationDateRangeKpiResponse(Aws::Utils::Json::JsonView jsonValue)
ApplicationDateRangeKpiResponse & WithNextToken(Aws::String &&value)
ApplicationDateRangeKpiResponse & WithKpiResult(BaseKpiResult &&value)
ApplicationDateRangeKpiResponse & WithKpiName(const char *value)
ApplicationDateRangeKpiResponse & WithApplicationId(Aws::String &&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