AWS SDK for C++  1.9.66
AWS SDK for C++
ListVPCEConfigurationsResult.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 DeviceFarm
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<VPCEConfiguration>& GetVpceConfigurations() const{ return m_vpceConfigurations; }
42 
47  inline void SetVpceConfigurations(const Aws::Vector<VPCEConfiguration>& value) { m_vpceConfigurations = value; }
48 
53  inline void SetVpceConfigurations(Aws::Vector<VPCEConfiguration>&& value) { m_vpceConfigurations = std::move(value); }
54 
59  inline ListVPCEConfigurationsResult& WithVpceConfigurations(const Aws::Vector<VPCEConfiguration>& value) { SetVpceConfigurations(value); return *this;}
60 
65  inline ListVPCEConfigurationsResult& WithVpceConfigurations(Aws::Vector<VPCEConfiguration>&& value) { SetVpceConfigurations(std::move(value)); return *this;}
66 
71  inline ListVPCEConfigurationsResult& AddVpceConfigurations(const VPCEConfiguration& value) { m_vpceConfigurations.push_back(value); return *this; }
72 
77  inline ListVPCEConfigurationsResult& AddVpceConfigurations(VPCEConfiguration&& value) { m_vpceConfigurations.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListVPCEConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListVPCEConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListVPCEConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<VPCEConfiguration> m_vpceConfigurations;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace DeviceFarm
131 } // namespace Aws
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::AddVpceConfigurations
ListVPCEConfigurationsResult & AddVpceConfigurations(const VPCEConfiguration &value)
Definition: ListVPCEConfigurationsResult.h:71
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::ListVPCEConfigurationsResult
ListVPCEConfigurationsResult()
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::WithNextToken
ListVPCEConfigurationsResult & WithNextToken(Aws::String &&value)
Definition: ListVPCEConfigurationsResult.h:114
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVPCEConfigurationsResult.h:90
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::ListVPCEConfigurationsResult
ListVPCEConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::operator=
ListVPCEConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::WithNextToken
ListVPCEConfigurationsResult & WithNextToken(const char *value)
Definition: ListVPCEConfigurationsResult.h:120
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVPCEConfigurationsResult.h:84
AWSVector.h
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::SetVpceConfigurations
void SetVpceConfigurations(const Aws::Vector< VPCEConfiguration > &value)
Definition: ListVPCEConfigurationsResult.h:47
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::WithNextToken
ListVPCEConfigurationsResult & WithNextToken(const Aws::String &value)
Definition: ListVPCEConfigurationsResult.h:108
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::SetVpceConfigurations
void SetVpceConfigurations(Aws::Vector< VPCEConfiguration > &&value)
Definition: ListVPCEConfigurationsResult.h:53
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::WithVpceConfigurations
ListVPCEConfigurationsResult & WithVpceConfigurations(Aws::Vector< VPCEConfiguration > &&value)
Definition: ListVPCEConfigurationsResult.h:65
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::WithVpceConfigurations
ListVPCEConfigurationsResult & WithVpceConfigurations(const Aws::Vector< VPCEConfiguration > &value)
Definition: ListVPCEConfigurationsResult.h:59
AWSString.h
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVPCEConfigurationsResult.h:96
Aws::DeviceFarm::Model::VPCEConfiguration
Definition: VPCEConfiguration.h:33
Aws
Definition: AccessManagementClient.h:15
VPCEConfiguration.h
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::AddVpceConfigurations
ListVPCEConfigurationsResult & AddVpceConfigurations(VPCEConfiguration &&value)
Definition: ListVPCEConfigurationsResult.h:77
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::GetVpceConfigurations
const Aws::Vector< VPCEConfiguration > & GetVpceConfigurations() const
Definition: ListVPCEConfigurationsResult.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult
Definition: ListVPCEConfigurationsResult.h:30
Aws::DeviceFarm::Model::ListVPCEConfigurationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListVPCEConfigurationsResult.h:102