AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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