AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDashboardsRequest.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudtrail/model/DashboardType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudTrail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDTRAIL_API ListDashboardsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListDashboards"; }
32
33 AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetNamePrefix() const { return m_namePrefix; }
43 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
44 template<typename NamePrefixT = Aws::String>
45 void SetNamePrefix(NamePrefixT&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::forward<NamePrefixT>(value); }
46 template<typename NamePrefixT = Aws::String>
47 ListDashboardsRequest& WithNamePrefix(NamePrefixT&& value) { SetNamePrefix(std::forward<NamePrefixT>(value)); return *this;}
49
51
55 inline DashboardType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(DashboardType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline ListDashboardsRequest& WithType(DashboardType value) { SetType(value); return *this;}
60
62
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template<typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
69 template<typename NextTokenT = Aws::String>
70 ListDashboardsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
72
74
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListDashboardsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 Aws::String m_namePrefix;
85 bool m_namePrefixHasBeenSet = false;
86
88 bool m_typeHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
93 int m_maxResults{0};
94 bool m_maxResultsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudTrail
99} // namespace Aws
ListDashboardsRequest & WithNextToken(NextTokenT &&value)
ListDashboardsRequest & WithNamePrefix(NamePrefixT &&value)
virtual const char * GetServiceRequestName() const override
ListDashboardsRequest & WithType(DashboardType value)
ListDashboardsRequest & WithMaxResults(int value)
AWS_CLOUDTRAIL_API ListDashboardsRequest()=default
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String