AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
ListApplicationsResult.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/ApplicationInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationInsights {
24namespace Model {
26 public:
27 AWS_APPLICATIONINSIGHTS_API ListApplicationsResult() = default;
30
32
35 inline const Aws::Vector<ApplicationInfo>& GetApplicationInfoList() const { return m_applicationInfoList; }
36 template <typename ApplicationInfoListT = Aws::Vector<ApplicationInfo>>
37 void SetApplicationInfoList(ApplicationInfoListT&& value) {
38 m_applicationInfoListHasBeenSet = true;
39 m_applicationInfoList = std::forward<ApplicationInfoListT>(value);
40 }
41 template <typename ApplicationInfoListT = Aws::Vector<ApplicationInfo>>
42 ListApplicationsResult& WithApplicationInfoList(ApplicationInfoListT&& value) {
43 SetApplicationInfoList(std::forward<ApplicationInfoListT>(value));
44 return *this;
45 }
46 template <typename ApplicationInfoListT = ApplicationInfo>
47 ListApplicationsResult& AddApplicationInfoList(ApplicationInfoListT&& value) {
48 m_applicationInfoListHasBeenSet = true;
49 m_applicationInfoList.emplace_back(std::forward<ApplicationInfoListT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 template <typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) {
62 m_nextTokenHasBeenSet = true;
63 m_nextToken = std::forward<NextTokenT>(value);
64 }
65 template <typename NextTokenT = Aws::String>
67 SetNextToken(std::forward<NextTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<ApplicationInfo> m_applicationInfoList;
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 bool m_applicationInfoListHasBeenSet = false;
93 bool m_nextTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace ApplicationInsights
99} // namespace Aws
AWS_APPLICATIONINSIGHTS_API ListApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ApplicationInfo > & GetApplicationInfoList() const
ListApplicationsResult & WithRequestId(RequestIdT &&value)
ListApplicationsResult & WithApplicationInfoList(ApplicationInfoListT &&value)
ListApplicationsResult & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONINSIGHTS_API ListApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONINSIGHTS_API ListApplicationsResult()=default
ListApplicationsResult & AddApplicationInfoList(ApplicationInfoListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue