AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceVersionsResult.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/snowball/model/ServiceName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/snowball/model/ServiceVersion.h>
12#include <aws/snowball/model/DependentService.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Snowball
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SNOWBALL_API ListServiceVersionsResult();
37
38
40
43 inline const Aws::Vector<ServiceVersion>& GetServiceVersions() const{ return m_serviceVersions; }
44 inline void SetServiceVersions(const Aws::Vector<ServiceVersion>& value) { m_serviceVersions = value; }
45 inline void SetServiceVersions(Aws::Vector<ServiceVersion>&& value) { m_serviceVersions = std::move(value); }
48 inline ListServiceVersionsResult& AddServiceVersions(const ServiceVersion& value) { m_serviceVersions.push_back(value); return *this; }
49 inline ListServiceVersionsResult& AddServiceVersions(ServiceVersion&& value) { m_serviceVersions.push_back(std::move(value)); return *this; }
51
53
56 inline const ServiceName& GetServiceName() const{ return m_serviceName; }
57 inline void SetServiceName(const ServiceName& value) { m_serviceName = value; }
58 inline void SetServiceName(ServiceName&& value) { m_serviceName = std::move(value); }
59 inline ListServiceVersionsResult& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;}
60 inline ListServiceVersionsResult& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;}
62
64
68 inline const Aws::Vector<DependentService>& GetDependentServices() const{ return m_dependentServices; }
69 inline void SetDependentServices(const Aws::Vector<DependentService>& value) { m_dependentServices = value; }
70 inline void SetDependentServices(Aws::Vector<DependentService>&& value) { m_dependentServices = std::move(value); }
73 inline ListServiceVersionsResult& AddDependentServices(const DependentService& value) { m_dependentServices.push_back(value); return *this; }
74 inline ListServiceVersionsResult& AddDependentServices(DependentService&& value) { m_dependentServices.push_back(std::move(value)); return *this; }
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
85 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
86 inline ListServiceVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 inline ListServiceVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 inline ListServiceVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline ListServiceVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline ListServiceVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline ListServiceVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::Vector<ServiceVersion> m_serviceVersions;
104
105 ServiceName m_serviceName;
106
107 Aws::Vector<DependentService> m_dependentServices;
108
109 Aws::String m_nextToken;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace Snowball
116} // namespace Aws
AWS_SNOWBALL_API ListServiceVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceVersionsResult & WithDependentServices(const Aws::Vector< DependentService > &value)
ListServiceVersionsResult & AddDependentServices(DependentService &&value)
void SetServiceVersions(Aws::Vector< ServiceVersion > &&value)
void SetDependentServices(const Aws::Vector< DependentService > &value)
ListServiceVersionsResult & WithServiceVersions(Aws::Vector< ServiceVersion > &&value)
ListServiceVersionsResult & WithRequestId(Aws::String &&value)
ListServiceVersionsResult & WithServiceVersions(const Aws::Vector< ServiceVersion > &value)
AWS_SNOWBALL_API ListServiceVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceVersionsResult & WithServiceName(ServiceName &&value)
void SetDependentServices(Aws::Vector< DependentService > &&value)
void SetServiceVersions(const Aws::Vector< ServiceVersion > &value)
ListServiceVersionsResult & WithServiceName(const ServiceName &value)
ListServiceVersionsResult & AddServiceVersions(ServiceVersion &&value)
ListServiceVersionsResult & WithRequestId(const Aws::String &value)
ListServiceVersionsResult & WithRequestId(const char *value)
ListServiceVersionsResult & AddDependentServices(const DependentService &value)
ListServiceVersionsResult & AddServiceVersions(const ServiceVersion &value)
ListServiceVersionsResult & WithNextToken(Aws::String &&value)
const Aws::Vector< ServiceVersion > & GetServiceVersions() const
ListServiceVersionsResult & WithNextToken(const Aws::String &value)
const Aws::Vector< DependentService > & GetDependentServices() const
ListServiceVersionsResult & WithNextToken(const char *value)
ListServiceVersionsResult & WithDependentServices(Aws::Vector< DependentService > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue