AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeAccountOverviewRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DevOpsGuru {
15namespace Model {
16
20 public:
21 AWS_DEVOPSGURU_API DescribeAccountOverviewRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeAccountOverview"; }
28
29 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
30
32
37 inline const Aws::Utils::DateTime& GetFromTime() const { return m_fromTime; }
38 inline bool FromTimeHasBeenSet() const { return m_fromTimeHasBeenSet; }
39 template <typename FromTimeT = Aws::Utils::DateTime>
40 void SetFromTime(FromTimeT&& value) {
41 m_fromTimeHasBeenSet = true;
42 m_fromTime = std::forward<FromTimeT>(value);
43 }
44 template <typename FromTimeT = Aws::Utils::DateTime>
46 SetFromTime(std::forward<FromTimeT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::Utils::DateTime& GetToTime() const { return m_toTime; }
58 inline bool ToTimeHasBeenSet() const { return m_toTimeHasBeenSet; }
59 template <typename ToTimeT = Aws::Utils::DateTime>
60 void SetToTime(ToTimeT&& value) {
61 m_toTimeHasBeenSet = true;
62 m_toTime = std::forward<ToTimeT>(value);
63 }
64 template <typename ToTimeT = Aws::Utils::DateTime>
66 SetToTime(std::forward<ToTimeT>(value));
67 return *this;
68 }
70 private:
71 Aws::Utils::DateTime m_fromTime{};
72
73 Aws::Utils::DateTime m_toTime{};
74 bool m_fromTimeHasBeenSet = false;
75 bool m_toTimeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DevOpsGuru
80} // namespace Aws
AWS_DEVOPSGURU_API DescribeAccountOverviewRequest()=default
DescribeAccountOverviewRequest & WithToTime(ToTimeT &&value)
DescribeAccountOverviewRequest & WithFromTime(FromTimeT &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String