AWS SDK for C++  1.9.157
AWS SDK for C++
ListConfigurationHistoryResult.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 ApplicationInsights
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ConfigurationEvent>& GetEventList() const{ return m_eventList; }
41 
45  inline void SetEventList(const Aws::Vector<ConfigurationEvent>& value) { m_eventList = value; }
46 
50  inline void SetEventList(Aws::Vector<ConfigurationEvent>&& value) { m_eventList = std::move(value); }
51 
55  inline ListConfigurationHistoryResult& WithEventList(const Aws::Vector<ConfigurationEvent>& value) { SetEventList(value); return *this;}
56 
60  inline ListConfigurationHistoryResult& WithEventList(Aws::Vector<ConfigurationEvent>&& value) { SetEventList(std::move(value)); return *this;}
61 
65  inline ListConfigurationHistoryResult& AddEventList(const ConfigurationEvent& value) { m_eventList.push_back(value); return *this; }
66 
70  inline ListConfigurationHistoryResult& AddEventList(ConfigurationEvent&& value) { m_eventList.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
116  inline ListConfigurationHistoryResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
125  inline ListConfigurationHistoryResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
134  inline ListConfigurationHistoryResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace ApplicationInsights
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationHistoryResult.h:80
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::AddEventList
ListConfigurationHistoryResult & AddEventList(const ConfigurationEvent &value)
Definition: ListConfigurationHistoryResult.h:65
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::WithEventList
ListConfigurationHistoryResult & WithEventList(const Aws::Vector< ConfigurationEvent > &value)
Definition: ListConfigurationHistoryResult.h:55
ConfigurationEvent.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationHistoryResult.h:98
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::WithEventList
ListConfigurationHistoryResult & WithEventList(Aws::Vector< ConfigurationEvent > &&value)
Definition: ListConfigurationHistoryResult.h:60
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::WithNextToken
ListConfigurationHistoryResult & WithNextToken(const char *value)
Definition: ListConfigurationHistoryResult.h:134
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::SetEventList
void SetEventList(Aws::Vector< ConfigurationEvent > &&value)
Definition: ListConfigurationHistoryResult.h:50
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::ListConfigurationHistoryResult
ListConfigurationHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationHistoryResult.h:89
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::WithNextToken
ListConfigurationHistoryResult & WithNextToken(const Aws::String &value)
Definition: ListConfigurationHistoryResult.h:116
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::SetEventList
void SetEventList(const Aws::Vector< ConfigurationEvent > &value)
Definition: ListConfigurationHistoryResult.h:45
AWSString.h
Aws::ApplicationInsights::Model::ConfigurationEvent
Definition: ConfigurationEvent.h:35
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::operator=
ListConfigurationHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::ListConfigurationHistoryResult
ListConfigurationHistoryResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult
Definition: ListConfigurationHistoryResult.h:30
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationHistoryResult.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::WithNextToken
ListConfigurationHistoryResult & WithNextToken(Aws::String &&value)
Definition: ListConfigurationHistoryResult.h:125
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::GetEventList
const Aws::Vector< ConfigurationEvent > & GetEventList() const
Definition: ListConfigurationHistoryResult.h:40
Aws::ApplicationInsights::Model::ListConfigurationHistoryResult::AddEventList
ListConfigurationHistoryResult & AddEventList(ConfigurationEvent &&value)
Definition: ListConfigurationHistoryResult.h:70
ApplicationInsights_EXPORTS.h