AWS SDK for C++  1.9.155
AWS SDK for C++
ListManagedDataIdentifiersResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Macie2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ManagedDataIdentifierSummary>& GetItems() const{ return m_items; }
41 
45  inline void SetItems(const Aws::Vector<ManagedDataIdentifierSummary>& value) { m_items = value; }
46 
50  inline void SetItems(Aws::Vector<ManagedDataIdentifierSummary>&& value) { m_items = std::move(value); }
51 
55  inline ListManagedDataIdentifiersResult& WithItems(const Aws::Vector<ManagedDataIdentifierSummary>& value) { SetItems(value); return *this;}
56 
60  inline ListManagedDataIdentifiersResult& WithItems(Aws::Vector<ManagedDataIdentifierSummary>&& value) { SetItems(std::move(value)); return *this;}
61 
65  inline ListManagedDataIdentifiersResult& AddItems(const ManagedDataIdentifierSummary& value) { m_items.push_back(value); return *this; }
66 
70  inline ListManagedDataIdentifiersResult& AddItems(ManagedDataIdentifierSummary&& value) { m_items.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListManagedDataIdentifiersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListManagedDataIdentifiersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListManagedDataIdentifiersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace Macie2
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::ListManagedDataIdentifiersResult::WithItems
ListManagedDataIdentifiersResult & WithItems(const Aws::Vector< ManagedDataIdentifierSummary > &value)
Definition: ListManagedDataIdentifiersResult.h:55
Macie2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Macie2::Model::ListManagedDataIdentifiersResult::WithNextToken
ListManagedDataIdentifiersResult & WithNextToken(const char *value)
Definition: ListManagedDataIdentifiersResult.h:113
Aws::Macie2::Model::ListManagedDataIdentifiersResult::AddItems
ListManagedDataIdentifiersResult & AddItems(ManagedDataIdentifierSummary &&value)
Definition: ListManagedDataIdentifiersResult.h:70
Aws::Macie2::Model::ListManagedDataIdentifiersResult::SetItems
void SetItems(const Aws::Vector< ManagedDataIdentifierSummary > &value)
Definition: ListManagedDataIdentifiersResult.h:45
Aws::Macie2::Model::ListManagedDataIdentifiersResult::ListManagedDataIdentifiersResult
ListManagedDataIdentifiersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::ListManagedDataIdentifiersResult::ListManagedDataIdentifiersResult
ListManagedDataIdentifiersResult()
Aws::Macie2::Model::ListManagedDataIdentifiersResult::SetItems
void SetItems(Aws::Vector< ManagedDataIdentifierSummary > &&value)
Definition: ListManagedDataIdentifiersResult.h:50
Aws::Macie2::Model::ListManagedDataIdentifiersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListManagedDataIdentifiersResult.h:95
AWSString.h
Aws::Macie2::Model::ListManagedDataIdentifiersResult::WithNextToken
ListManagedDataIdentifiersResult & WithNextToken(const Aws::String &value)
Definition: ListManagedDataIdentifiersResult.h:101
Aws::Macie2::Model::ListManagedDataIdentifiersResult::AddItems
ListManagedDataIdentifiersResult & AddItems(const ManagedDataIdentifierSummary &value)
Definition: ListManagedDataIdentifiersResult.h:65
Aws::Macie2::Model::ListManagedDataIdentifiersResult::WithNextToken
ListManagedDataIdentifiersResult & WithNextToken(Aws::String &&value)
Definition: ListManagedDataIdentifiersResult.h:107
Aws::Macie2::Model::ManagedDataIdentifierSummary
Definition: ManagedDataIdentifierSummary.h:37
Aws::Macie2::Model::ListManagedDataIdentifiersResult
Definition: ListManagedDataIdentifiersResult.h:30
Aws::Macie2::Model::ListManagedDataIdentifiersResult::operator=
ListManagedDataIdentifiersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ManagedDataIdentifierSummary.h
Aws::Macie2::Model::ListManagedDataIdentifiersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListManagedDataIdentifiersResult.h:77
Aws::Macie2::Model::ListManagedDataIdentifiersResult::GetItems
const Aws::Vector< ManagedDataIdentifierSummary > & GetItems() const
Definition: ListManagedDataIdentifiersResult.h:40
Aws::Macie2::Model::ListManagedDataIdentifiersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListManagedDataIdentifiersResult.h:89
Aws::Macie2::Model::ListManagedDataIdentifiersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListManagedDataIdentifiersResult.h:83
Aws::Macie2::Model::ListManagedDataIdentifiersResult::WithItems
ListManagedDataIdentifiersResult & WithItems(Aws::Vector< ManagedDataIdentifierSummary > &&value)
Definition: ListManagedDataIdentifiersResult.h:60