AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDatasourcePackagesResult.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/detective/model/DatasourcePackage.h>
11#include <aws/detective/model/DatasourcePackageIngestDetail.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Detective
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DETECTIVE_API ListDatasourcePackagesResult();
36
37
39
42 inline const Aws::Map<DatasourcePackage, DatasourcePackageIngestDetail>& GetDatasourcePackages() const{ return m_datasourcePackages; }
43 inline void SetDatasourcePackages(const Aws::Map<DatasourcePackage, DatasourcePackageIngestDetail>& value) { m_datasourcePackages = value; }
44 inline void SetDatasourcePackages(Aws::Map<DatasourcePackage, DatasourcePackageIngestDetail>&& value) { m_datasourcePackages = std::move(value); }
47 inline ListDatasourcePackagesResult& AddDatasourcePackages(const DatasourcePackage& key, const DatasourcePackageIngestDetail& value) { m_datasourcePackages.emplace(key, value); return *this; }
48 inline ListDatasourcePackagesResult& AddDatasourcePackages(DatasourcePackage&& key, const DatasourcePackageIngestDetail& value) { m_datasourcePackages.emplace(std::move(key), value); return *this; }
49 inline ListDatasourcePackagesResult& AddDatasourcePackages(const DatasourcePackage& key, DatasourcePackageIngestDetail&& value) { m_datasourcePackages.emplace(key, std::move(value)); return *this; }
50 inline ListDatasourcePackagesResult& AddDatasourcePackages(DatasourcePackage&& key, DatasourcePackageIngestDetail&& value) { m_datasourcePackages.emplace(std::move(key), std::move(value)); return *this; }
52
54
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
63 inline ListDatasourcePackagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListDatasourcePackagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListDatasourcePackagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline ListDatasourcePackagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline ListDatasourcePackagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline ListDatasourcePackagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
81
82 Aws::String m_nextToken;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace Detective
89} // namespace Aws
ListDatasourcePackagesResult & AddDatasourcePackages(const DatasourcePackage &key, DatasourcePackageIngestDetail &&value)
ListDatasourcePackagesResult & WithNextToken(const Aws::String &value)
ListDatasourcePackagesResult & WithRequestId(Aws::String &&value)
ListDatasourcePackagesResult & AddDatasourcePackages(DatasourcePackage &&key, const DatasourcePackageIngestDetail &value)
const Aws::Map< DatasourcePackage, DatasourcePackageIngestDetail > & GetDatasourcePackages() const
ListDatasourcePackagesResult & AddDatasourcePackages(const DatasourcePackage &key, const DatasourcePackageIngestDetail &value)
ListDatasourcePackagesResult & WithDatasourcePackages(Aws::Map< DatasourcePackage, DatasourcePackageIngestDetail > &&value)
void SetDatasourcePackages(const Aws::Map< DatasourcePackage, DatasourcePackageIngestDetail > &value)
AWS_DETECTIVE_API ListDatasourcePackagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDatasourcePackagesResult & WithDatasourcePackages(const Aws::Map< DatasourcePackage, DatasourcePackageIngestDetail > &value)
void SetDatasourcePackages(Aws::Map< DatasourcePackage, DatasourcePackageIngestDetail > &&value)
ListDatasourcePackagesResult & WithNextToken(Aws::String &&value)
ListDatasourcePackagesResult & AddDatasourcePackages(DatasourcePackage &&key, DatasourcePackageIngestDetail &&value)
ListDatasourcePackagesResult & WithNextToken(const char *value)
AWS_DETECTIVE_API ListDatasourcePackagesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDatasourcePackagesResult & WithRequestId(const Aws::String &value)
ListDatasourcePackagesResult & WithRequestId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue