AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAggregateDiscoveredResourceCountsResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/config/model/GroupedResourceCount.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 ConfigService
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline long long GetTotalDiscoveredResources() const{ return m_totalDiscoveredResources; }
43 inline void SetTotalDiscoveredResources(long long value) { m_totalDiscoveredResources = value; }
46
48
52 inline const Aws::String& GetGroupByKey() const{ return m_groupByKey; }
53 inline void SetGroupByKey(const Aws::String& value) { m_groupByKey = value; }
54 inline void SetGroupByKey(Aws::String&& value) { m_groupByKey = std::move(value); }
55 inline void SetGroupByKey(const char* value) { m_groupByKey.assign(value); }
57 inline GetAggregateDiscoveredResourceCountsResult& WithGroupByKey(Aws::String&& value) { SetGroupByKey(std::move(value)); return *this;}
58 inline GetAggregateDiscoveredResourceCountsResult& WithGroupByKey(const char* value) { SetGroupByKey(value); return *this;}
60
62
65 inline const Aws::Vector<GroupedResourceCount>& GetGroupedResourceCounts() const{ return m_groupedResourceCounts; }
66 inline void SetGroupedResourceCounts(const Aws::Vector<GroupedResourceCount>& value) { m_groupedResourceCounts = value; }
67 inline void SetGroupedResourceCounts(Aws::Vector<GroupedResourceCount>&& value) { m_groupedResourceCounts = std::move(value); }
70 inline GetAggregateDiscoveredResourceCountsResult& AddGroupedResourceCounts(const GroupedResourceCount& value) { m_groupedResourceCounts.push_back(value); return *this; }
71 inline GetAggregateDiscoveredResourceCountsResult& AddGroupedResourceCounts(GroupedResourceCount&& value) { m_groupedResourceCounts.push_back(std::move(value)); return *this; }
73
75
79 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
84 inline GetAggregateDiscoveredResourceCountsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline GetAggregateDiscoveredResourceCountsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline GetAggregateDiscoveredResourceCountsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline GetAggregateDiscoveredResourceCountsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 long long m_totalDiscoveredResources;
101
102 Aws::String m_groupByKey;
103
104 Aws::Vector<GroupedResourceCount> m_groupedResourceCounts;
105
106 Aws::String m_nextToken;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // namespace Aws
GetAggregateDiscoveredResourceCountsResult & WithGroupByKey(const Aws::String &value)
GetAggregateDiscoveredResourceCountsResult & AddGroupedResourceCounts(GroupedResourceCount &&value)
GetAggregateDiscoveredResourceCountsResult & WithRequestId(const Aws::String &value)
GetAggregateDiscoveredResourceCountsResult & WithTotalDiscoveredResources(long long value)
AWS_CONFIGSERVICE_API GetAggregateDiscoveredResourceCountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAggregateDiscoveredResourceCountsResult & AddGroupedResourceCounts(const GroupedResourceCount &value)
GetAggregateDiscoveredResourceCountsResult & WithRequestId(Aws::String &&value)
GetAggregateDiscoveredResourceCountsResult & WithGroupByKey(Aws::String &&value)
GetAggregateDiscoveredResourceCountsResult & WithNextToken(const char *value)
GetAggregateDiscoveredResourceCountsResult & WithGroupedResourceCounts(Aws::Vector< GroupedResourceCount > &&value)
GetAggregateDiscoveredResourceCountsResult & WithNextToken(Aws::String &&value)
GetAggregateDiscoveredResourceCountsResult & WithGroupedResourceCounts(const Aws::Vector< GroupedResourceCount > &value)
GetAggregateDiscoveredResourceCountsResult & WithGroupByKey(const char *value)
GetAggregateDiscoveredResourceCountsResult & WithNextToken(const Aws::String &value)
AWS_CONFIGSERVICE_API GetAggregateDiscoveredResourceCountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAggregateDiscoveredResourceCountsResult & WithRequestId(const char *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