AWS SDK for C++  1.9.160
AWS SDK for C++
ListNetworkProfilesResult.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 
40  inline const Aws::Vector<NetworkProfile>& GetNetworkProfiles() const{ return m_networkProfiles; }
41 
45  inline void SetNetworkProfiles(const Aws::Vector<NetworkProfile>& value) { m_networkProfiles = value; }
46 
50  inline void SetNetworkProfiles(Aws::Vector<NetworkProfile>&& value) { m_networkProfiles = std::move(value); }
51 
55  inline ListNetworkProfilesResult& WithNetworkProfiles(const Aws::Vector<NetworkProfile>& value) { SetNetworkProfiles(value); return *this;}
56 
60  inline ListNetworkProfilesResult& WithNetworkProfiles(Aws::Vector<NetworkProfile>&& value) { SetNetworkProfiles(std::move(value)); return *this;}
61 
65  inline ListNetworkProfilesResult& AddNetworkProfiles(const NetworkProfile& value) { m_networkProfiles.push_back(value); return *this; }
66 
70  inline ListNetworkProfilesResult& AddNetworkProfiles(NetworkProfile&& value) { m_networkProfiles.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 ListNetworkProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListNetworkProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListNetworkProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<NetworkProfile> m_networkProfiles;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace DeviceFarm
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DeviceFarm::Model::ListNetworkProfilesResult::WithNetworkProfiles
ListNetworkProfilesResult & WithNetworkProfiles(Aws::Vector< NetworkProfile > &&value)
Definition: ListNetworkProfilesResult.h:60
Aws::DeviceFarm::Model::ListNetworkProfilesResult::AddNetworkProfiles
ListNetworkProfilesResult & AddNetworkProfiles(NetworkProfile &&value)
Definition: ListNetworkProfilesResult.h:70
Aws::DeviceFarm::Model::ListNetworkProfilesResult::WithNextToken
ListNetworkProfilesResult & WithNextToken(const char *value)
Definition: ListNetworkProfilesResult.h:113
Aws::DeviceFarm::Model::ListNetworkProfilesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListNetworkProfilesResult.h:83
Aws::DeviceFarm::Model::ListNetworkProfilesResult::AddNetworkProfiles
ListNetworkProfilesResult & AddNetworkProfiles(const NetworkProfile &value)
Definition: ListNetworkProfilesResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::DeviceFarm::Model::ListNetworkProfilesResult::WithNextToken
ListNetworkProfilesResult & WithNextToken(Aws::String &&value)
Definition: ListNetworkProfilesResult.h:107
Aws::DeviceFarm::Model::ListNetworkProfilesResult::WithNetworkProfiles
ListNetworkProfilesResult & WithNetworkProfiles(const Aws::Vector< NetworkProfile > &value)
Definition: ListNetworkProfilesResult.h:55
Aws::DeviceFarm::Model::ListNetworkProfilesResult::WithNextToken
ListNetworkProfilesResult & WithNextToken(const Aws::String &value)
Definition: ListNetworkProfilesResult.h:101
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ListNetworkProfilesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListNetworkProfilesResult.h:89
NetworkProfile.h
Aws::DeviceFarm::Model::ListNetworkProfilesResult
Definition: ListNetworkProfilesResult.h:30
Aws::DeviceFarm::Model::ListNetworkProfilesResult::ListNetworkProfilesResult
ListNetworkProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::DeviceFarm::Model::ListNetworkProfilesResult::SetNetworkProfiles
void SetNetworkProfiles(Aws::Vector< NetworkProfile > &&value)
Definition: ListNetworkProfilesResult.h:50
Aws::DeviceFarm::Model::ListNetworkProfilesResult::SetNetworkProfiles
void SetNetworkProfiles(const Aws::Vector< NetworkProfile > &value)
Definition: ListNetworkProfilesResult.h:45
Aws::DeviceFarm::Model::ListNetworkProfilesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListNetworkProfilesResult.h:77
Aws::DeviceFarm::Model::ListNetworkProfilesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListNetworkProfilesResult.h:95
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DeviceFarm::Model::NetworkProfile
Definition: NetworkProfile.h:34
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ListNetworkProfilesResult::GetNetworkProfiles
const Aws::Vector< NetworkProfile > & GetNetworkProfiles() const
Definition: ListNetworkProfilesResult.h:40
Aws::DeviceFarm::Model::ListNetworkProfilesResult::ListNetworkProfilesResult
ListNetworkProfilesResult()
Aws::DeviceFarm::Model::ListNetworkProfilesResult::operator=
ListNetworkProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)