AWS SDK for C++  1.9.155
AWS SDK for C++
ListWebhooksResult.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 Amplify
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Webhook>& GetWebhooks() const{ return m_webhooks; }
47 
51  inline void SetWebhooks(const Aws::Vector<Webhook>& value) { m_webhooks = value; }
52 
56  inline void SetWebhooks(Aws::Vector<Webhook>&& value) { m_webhooks = std::move(value); }
57 
61  inline ListWebhooksResult& WithWebhooks(const Aws::Vector<Webhook>& value) { SetWebhooks(value); return *this;}
62 
66  inline ListWebhooksResult& WithWebhooks(Aws::Vector<Webhook>&& value) { SetWebhooks(std::move(value)); return *this;}
67 
71  inline ListWebhooksResult& AddWebhooks(const Webhook& value) { m_webhooks.push_back(value); return *this; }
72 
76  inline ListWebhooksResult& AddWebhooks(Webhook&& value) { m_webhooks.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline ListWebhooksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline ListWebhooksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline ListWebhooksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121  private:
122 
123  Aws::Vector<Webhook> m_webhooks;
124 
125  Aws::String m_nextToken;
126  };
127 
128 } // namespace Model
129 } // namespace Amplify
130 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::ListWebhooksResult::WithWebhooks
ListWebhooksResult & WithWebhooks(const Aws::Vector< Webhook > &value)
Definition: ListWebhooksResult.h:61
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::ListWebhooksResult::GetWebhooks
const Aws::Vector< Webhook > & GetWebhooks() const
Definition: ListWebhooksResult.h:46
Aws::Amplify::Model::ListWebhooksResult::ListWebhooksResult
ListWebhooksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Amplify::Model::ListWebhooksResult::ListWebhooksResult
ListWebhooksResult()
AWSVector.h
Aws::Amplify::Model::ListWebhooksResult::WithNextToken
ListWebhooksResult & WithNextToken(Aws::String &&value)
Definition: ListWebhooksResult.h:113
Aws::Amplify::Model::ListWebhooksResult
Definition: ListWebhooksResult.h:36
Aws::Amplify::Model::ListWebhooksResult::WithWebhooks
ListWebhooksResult & WithWebhooks(Aws::Vector< Webhook > &&value)
Definition: ListWebhooksResult.h:66
Aws::Amplify::Model::ListWebhooksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListWebhooksResult.h:101
Aws::Amplify::Model::ListWebhooksResult::SetWebhooks
void SetWebhooks(Aws::Vector< Webhook > &&value)
Definition: ListWebhooksResult.h:56
Aws::Amplify::Model::ListWebhooksResult::WithNextToken
ListWebhooksResult & WithNextToken(const char *value)
Definition: ListWebhooksResult.h:119
AWSString.h
Aws::Amplify::Model::ListWebhooksResult::WithNextToken
ListWebhooksResult & WithNextToken(const Aws::String &value)
Definition: ListWebhooksResult.h:107
Aws::Amplify::Model::ListWebhooksResult::AddWebhooks
ListWebhooksResult & AddWebhooks(Webhook &&value)
Definition: ListWebhooksResult.h:76
Aws::Amplify::Model::Webhook
Definition: Webhook.h:34
Aws::Amplify::Model::ListWebhooksResult::SetWebhooks
void SetWebhooks(const Aws::Vector< Webhook > &value)
Definition: ListWebhooksResult.h:51
Aws::Amplify::Model::ListWebhooksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWebhooksResult.h:95
Aws::Amplify::Model::ListWebhooksResult::operator=
ListWebhooksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ListWebhooksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWebhooksResult.h:89
Aws::Amplify::Model::ListWebhooksResult::AddWebhooks
ListWebhooksResult & AddWebhooks(const Webhook &value)
Definition: ListWebhooksResult.h:71
Webhook.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListWebhooksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWebhooksResult.h:83
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28