AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ListApplicationsRequest.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsightsRequest.h>
8#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ApplicationInsights {
15namespace Model {
16
20 public:
21 AWS_APPLICATIONINSIGHTS_API ListApplicationsRequest() = 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 "ListApplications"; }
28
29 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
30
31 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
39 inline int GetMaxResults() const { return m_maxResults; }
40 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
41 inline void SetMaxResults(int value) {
42 m_maxResultsHasBeenSet = true;
43 m_maxResults = value;
44 }
46 SetMaxResults(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 template <typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) {
59 m_nextTokenHasBeenSet = true;
60 m_nextToken = std::forward<NextTokenT>(value);
61 }
62 template <typename NextTokenT = Aws::String>
64 SetNextToken(std::forward<NextTokenT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetAccountId() const { return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 template <typename AccountIdT = Aws::String>
76 void SetAccountId(AccountIdT&& value) {
77 m_accountIdHasBeenSet = true;
78 m_accountId = std::forward<AccountIdT>(value);
79 }
80 template <typename AccountIdT = Aws::String>
82 SetAccountId(std::forward<AccountIdT>(value));
83 return *this;
84 }
86 private:
87 int m_maxResults{0};
88
89 Aws::String m_nextToken;
90
91 Aws::String m_accountId;
92 bool m_maxResultsHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94 bool m_accountIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ApplicationInsights
99} // namespace Aws
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListApplicationsRequest & WithAccountId(AccountIdT &&value)
AWS_APPLICATIONINSIGHTS_API ListApplicationsRequest()=default
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
ListApplicationsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String