AWS SDK for C++  1.8.154
AWS SDK for C++
ListStorageLensConfigurationsResult.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 Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace S3Control
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListStorageLensConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListStorageLensConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListStorageLensConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
90  inline const Aws::Vector<ListStorageLensConfigurationEntry>& GetStorageLensConfigurationList() const{ return m_storageLensConfigurationList; }
91 
95  inline void SetStorageLensConfigurationList(const Aws::Vector<ListStorageLensConfigurationEntry>& value) { m_storageLensConfigurationList = value; }
96 
100  inline void SetStorageLensConfigurationList(Aws::Vector<ListStorageLensConfigurationEntry>&& value) { m_storageLensConfigurationList = std::move(value); }
101 
105  inline ListStorageLensConfigurationsResult& WithStorageLensConfigurationList(const Aws::Vector<ListStorageLensConfigurationEntry>& value) { SetStorageLensConfigurationList(value); return *this;}
106 
110  inline ListStorageLensConfigurationsResult& WithStorageLensConfigurationList(Aws::Vector<ListStorageLensConfigurationEntry>&& value) { SetStorageLensConfigurationList(std::move(value)); return *this;}
111 
115  inline ListStorageLensConfigurationsResult& AddStorageLensConfigurationList(const ListStorageLensConfigurationEntry& value) { m_storageLensConfigurationList.push_back(value); return *this; }
116 
120  inline ListStorageLensConfigurationsResult& AddStorageLensConfigurationList(ListStorageLensConfigurationEntry&& value) { m_storageLensConfigurationList.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::String m_nextToken;
125 
126  Aws::Vector<ListStorageLensConfigurationEntry> m_storageLensConfigurationList;
127  };
128 
129 } // namespace Model
130 } // namespace S3Control
131 } // namespace Aws
Aws::S3Control::Model::ListStorageLensConfigurationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListStorageLensConfigurationsResult.h:42
Aws::S3Control::Model::ListStorageLensConfigurationEntry
Definition: ListStorageLensConfigurationEntry.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::ListStorageLensConfigurationsResult::GetStorageLensConfigurationList
const Aws::Vector< ListStorageLensConfigurationEntry > & GetStorageLensConfigurationList() const
Definition: ListStorageLensConfigurationsResult.h:90
Aws::S3Control::Model::ListStorageLensConfigurationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListStorageLensConfigurationsResult.h:63
Aws::S3Control::Model::ListStorageLensConfigurationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListStorageLensConfigurationsResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::S3Control::Model::ListStorageLensConfigurationsResult::WithStorageLensConfigurationList
ListStorageLensConfigurationsResult & WithStorageLensConfigurationList(Aws::Vector< ListStorageLensConfigurationEntry > &&value)
Definition: ListStorageLensConfigurationsResult.h:110
Aws::S3Control::Model::ListStorageLensConfigurationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListStorageLensConfigurationsResult.h:49
AWSVector.h
Aws::S3Control::Model::ListStorageLensConfigurationsResult::AddStorageLensConfigurationList
ListStorageLensConfigurationsResult & AddStorageLensConfigurationList(ListStorageLensConfigurationEntry &&value)
Definition: ListStorageLensConfigurationsResult.h:120
Aws::S3Control::Model::ListStorageLensConfigurationsResult::SetStorageLensConfigurationList
void SetStorageLensConfigurationList(Aws::Vector< ListStorageLensConfigurationEntry > &&value)
Definition: ListStorageLensConfigurationsResult.h:100
S3Control_EXPORTS.h
Aws::S3Control::Model::ListStorageLensConfigurationsResult::WithNextToken
ListStorageLensConfigurationsResult & WithNextToken(const Aws::String &value)
Definition: ListStorageLensConfigurationsResult.h:70
Aws::S3Control::Model::ListStorageLensConfigurationsResult::operator=
ListStorageLensConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ListStorageLensConfigurationsResult::AddStorageLensConfigurationList
ListStorageLensConfigurationsResult & AddStorageLensConfigurationList(const ListStorageLensConfigurationEntry &value)
Definition: ListStorageLensConfigurationsResult.h:115
AWSString.h
Aws::S3Control::Model::ListStorageLensConfigurationsResult::WithStorageLensConfigurationList
ListStorageLensConfigurationsResult & WithStorageLensConfigurationList(const Aws::Vector< ListStorageLensConfigurationEntry > &value)
Definition: ListStorageLensConfigurationsResult.h:105
ListStorageLensConfigurationEntry.h
Aws::S3Control::Model::ListStorageLensConfigurationsResult::WithNextToken
ListStorageLensConfigurationsResult & WithNextToken(Aws::String &&value)
Definition: ListStorageLensConfigurationsResult.h:77
Aws::S3Control::Model::ListStorageLensConfigurationsResult
Definition: ListStorageLensConfigurationsResult.h:30
Aws::S3Control::Model::ListStorageLensConfigurationsResult::ListStorageLensConfigurationsResult
ListStorageLensConfigurationsResult()
Aws::S3Control::Model::ListStorageLensConfigurationsResult::SetStorageLensConfigurationList
void SetStorageLensConfigurationList(const Aws::Vector< ListStorageLensConfigurationEntry > &value)
Definition: ListStorageLensConfigurationsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::ListStorageLensConfigurationsResult::ListStorageLensConfigurationsResult
ListStorageLensConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::ListStorageLensConfigurationsResult::WithNextToken
ListStorageLensConfigurationsResult & WithNextToken(const char *value)
Definition: ListStorageLensConfigurationsResult.h:84