AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFindingsMetricsRequest.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/CodeGuruSecurityRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeGuruSecurity
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CODEGURUSECURITY_API ListFindingsMetricsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListFindingsMetrics"; }
36
37 AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override;
38
39 AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
48 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
49 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
50 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
51 inline ListFindingsMetricsRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
52 inline ListFindingsMetricsRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
54
56
63 inline int GetMaxResults() const{ return m_maxResults; }
64 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
65 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
66 inline ListFindingsMetricsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
68
70
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline ListFindingsMetricsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline ListFindingsMetricsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline ListFindingsMetricsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
92 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
93 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
94 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
95 inline ListFindingsMetricsRequest& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
96 inline ListFindingsMetricsRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
98 private:
99
100 Aws::Utils::DateTime m_endDate;
101 bool m_endDateHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 Aws::Utils::DateTime m_startDate;
110 bool m_startDateHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CodeGuruSecurity
115} // namespace Aws
ListFindingsMetricsRequest & WithNextToken(const char *value)
ListFindingsMetricsRequest & WithStartDate(Aws::Utils::DateTime &&value)
ListFindingsMetricsRequest & WithEndDate(const Aws::Utils::DateTime &value)
ListFindingsMetricsRequest & WithNextToken(const Aws::String &value)
ListFindingsMetricsRequest & WithNextToken(Aws::String &&value)
ListFindingsMetricsRequest & WithEndDate(Aws::Utils::DateTime &&value)
AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override
AWS_CODEGURUSECURITY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListFindingsMetricsRequest & WithStartDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String