AWS SDK for C++  1.9.159
AWS SDK for C++
ListDeviceFleetsResult.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 SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DeviceFleetSummary>& GetDeviceFleetSummaries() const{ return m_deviceFleetSummaries; }
41 
45  inline void SetDeviceFleetSummaries(const Aws::Vector<DeviceFleetSummary>& value) { m_deviceFleetSummaries = value; }
46 
50  inline void SetDeviceFleetSummaries(Aws::Vector<DeviceFleetSummary>&& value) { m_deviceFleetSummaries = std::move(value); }
51 
55  inline ListDeviceFleetsResult& WithDeviceFleetSummaries(const Aws::Vector<DeviceFleetSummary>& value) { SetDeviceFleetSummaries(value); return *this;}
56 
60  inline ListDeviceFleetsResult& WithDeviceFleetSummaries(Aws::Vector<DeviceFleetSummary>&& value) { SetDeviceFleetSummaries(std::move(value)); return *this;}
61 
65  inline ListDeviceFleetsResult& AddDeviceFleetSummaries(const DeviceFleetSummary& value) { m_deviceFleetSummaries.push_back(value); return *this; }
66 
70  inline ListDeviceFleetsResult& AddDeviceFleetSummaries(DeviceFleetSummary&& value) { m_deviceFleetSummaries.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 ListDeviceFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListDeviceFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListDeviceFleetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<DeviceFleetSummary> m_deviceFleetSummaries;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace SageMaker
124 } // namespace Aws
Aws::SageMaker::Model::ListDeviceFleetsResult::WithNextToken
ListDeviceFleetsResult & WithNextToken(const char *value)
Definition: ListDeviceFleetsResult.h:113
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListDeviceFleetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeviceFleetsResult.h:95
Aws::SageMaker::Model::ListDeviceFleetsResult::WithDeviceFleetSummaries
ListDeviceFleetsResult & WithDeviceFleetSummaries(const Aws::Vector< DeviceFleetSummary > &value)
Definition: ListDeviceFleetsResult.h:55
Aws::SageMaker::Model::ListDeviceFleetsResult
Definition: ListDeviceFleetsResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ListDeviceFleetsResult::SetDeviceFleetSummaries
void SetDeviceFleetSummaries(Aws::Vector< DeviceFleetSummary > &&value)
Definition: ListDeviceFleetsResult.h:50
Aws::SageMaker::Model::ListDeviceFleetsResult::AddDeviceFleetSummaries
ListDeviceFleetsResult & AddDeviceFleetSummaries(const DeviceFleetSummary &value)
Definition: ListDeviceFleetsResult.h:65
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListDeviceFleetsResult::WithNextToken
ListDeviceFleetsResult & WithNextToken(Aws::String &&value)
Definition: ListDeviceFleetsResult.h:107
Aws::SageMaker::Model::ListDeviceFleetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeviceFleetsResult.h:89
Aws::SageMaker::Model::ListDeviceFleetsResult::ListDeviceFleetsResult
ListDeviceFleetsResult()
AWSString.h
Aws::SageMaker::Model::ListDeviceFleetsResult::operator=
ListDeviceFleetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListDeviceFleetsResult::WithNextToken
ListDeviceFleetsResult & WithNextToken(const Aws::String &value)
Definition: ListDeviceFleetsResult.h:101
Aws::SageMaker::Model::ListDeviceFleetsResult::ListDeviceFleetsResult
ListDeviceFleetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListDeviceFleetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeviceFleetsResult.h:83
Aws::SageMaker::Model::DeviceFleetSummary
Definition: DeviceFleetSummary.h:33
Aws::SageMaker::Model::ListDeviceFleetsResult::SetDeviceFleetSummaries
void SetDeviceFleetSummaries(const Aws::Vector< DeviceFleetSummary > &value)
Definition: ListDeviceFleetsResult.h:45
Aws::SageMaker::Model::ListDeviceFleetsResult::GetDeviceFleetSummaries
const Aws::Vector< DeviceFleetSummary > & GetDeviceFleetSummaries() const
Definition: ListDeviceFleetsResult.h:40
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeviceFleetSummary.h
Aws::SageMaker::Model::ListDeviceFleetsResult::AddDeviceFleetSummaries
ListDeviceFleetsResult & AddDeviceFleetSummaries(DeviceFleetSummary &&value)
Definition: ListDeviceFleetsResult.h:70
Aws::SageMaker::Model::ListDeviceFleetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeviceFleetsResult.h:77
Aws::SageMaker::Model::ListDeviceFleetsResult::WithDeviceFleetSummaries
ListDeviceFleetsResult & WithDeviceFleetSummaries(Aws::Vector< DeviceFleetSummary > &&value)
Definition: ListDeviceFleetsResult.h:60