AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListApplicationsResult.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalytics/model/ApplicationSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KinesisAnalytics
26{
27namespace Model
28{
35 {
36 public:
37 AWS_KINESISANALYTICS_API ListApplicationsResult();
40
41
43
46 inline const Aws::Vector<ApplicationSummary>& GetApplicationSummaries() const{ return m_applicationSummaries; }
47 inline void SetApplicationSummaries(const Aws::Vector<ApplicationSummary>& value) { m_applicationSummaries = value; }
48 inline void SetApplicationSummaries(Aws::Vector<ApplicationSummary>&& value) { m_applicationSummaries = std::move(value); }
51 inline ListApplicationsResult& AddApplicationSummaries(const ApplicationSummary& value) { m_applicationSummaries.push_back(value); return *this; }
52 inline ListApplicationsResult& AddApplicationSummaries(ApplicationSummary&& value) { m_applicationSummaries.push_back(std::move(value)); return *this; }
54
56
59 inline bool GetHasMoreApplications() const{ return m_hasMoreApplications; }
60 inline void SetHasMoreApplications(bool value) { m_hasMoreApplications = value; }
61 inline ListApplicationsResult& WithHasMoreApplications(bool value) { SetHasMoreApplications(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline ListApplicationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline ListApplicationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline ListApplicationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<ApplicationSummary> m_applicationSummaries;
77
78 bool m_hasMoreApplications;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace KinesisAnalytics
85} // namespace Aws
AWS_KINESISANALYTICS_API ListApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListApplicationsResult & AddApplicationSummaries(const ApplicationSummary &value)
AWS_KINESISANALYTICS_API ListApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListApplicationsResult & WithApplicationSummaries(Aws::Vector< ApplicationSummary > &&value)
const Aws::Vector< ApplicationSummary > & GetApplicationSummaries() const
ListApplicationsResult & WithHasMoreApplications(bool value)
void SetApplicationSummaries(Aws::Vector< ApplicationSummary > &&value)
ListApplicationsResult & WithApplicationSummaries(const Aws::Vector< ApplicationSummary > &value)
ListApplicationsResult & WithRequestId(const Aws::String &value)
ListApplicationsResult & WithRequestId(Aws::String &&value)
ListApplicationsResult & WithRequestId(const char *value)
ListApplicationsResult & AddApplicationSummaries(ApplicationSummary &&value)
void SetApplicationSummaries(const Aws::Vector< ApplicationSummary > &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